Moodle  2.2.1
http://www.collinsharper.com
Zend_Validate_Hex Class Reference
Inheritance diagram for Zend_Validate_Hex:
Collaboration diagram for Zend_Validate_Hex:

Public Member Functions

 isValid ($value)

Data Fields

const INVALID = 'hexInvalid'
const NOT_HEX = 'notHex'

Protected Attributes

 $_messageTemplates

Detailed Description

Definition at line 33 of file Hex.php.


Member Function Documentation

isValid ( value)

Defined by Zend_Validate_Interface

Returns true if and only if $value contains only hexadecimal digit characters

Parameters:
string$value
Returns:
boolean

Implements Zend_Validate_Interface.

Definition at line 56 of file Hex.php.

Here is the call graph for this function:


Field Documentation

$_messageTemplates [protected]
Initial value:
 array(
        self::INVALID => "Invalid type given, value should be a string",
        self::NOT_HEX => "'%value%' has not only hexadecimal digit characters",
    )

Reimplemented from Zend_Validate_Abstract.

Definition at line 43 of file Hex.php.

const INVALID = 'hexInvalid'

Definition at line 35 of file Hex.php.

const NOT_HEX = 'notHex'

Definition at line 36 of file Hex.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations