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

Public Member Functions

 __construct ($min)
 getMin ()
 setMin ($min)
 isValid ($value)

Data Fields

const NOT_GREATER = 'notGreaterThan'

Protected Attributes

 $_messageTemplates
 $_messageVariables
 $_min

Detailed Description

Definition at line 33 of file GreaterThan.php.


Constructor & Destructor Documentation

__construct ( min)

Sets validator options

Parameters:
mixed | Zend_Config$min
Returns:
void

Definition at line 65 of file GreaterThan.php.

Here is the call graph for this function:


Member Function Documentation

getMin ( )

Returns the min option

Returns:
mixed

Definition at line 88 of file GreaterThan.php.

isValid ( value)

Defined by Zend_Validate_Interface

Returns true if and only if $value is greater than min option

Parameters:
mixed$value
Returns:
boolean

Implements Zend_Validate_Interface.

Definition at line 113 of file GreaterThan.php.

Here is the call graph for this function:

setMin ( min)

Sets the min option

Parameters:
mixed$min
Returns:
Zend_Validate_GreaterThan Provides a fluent interface

Definition at line 99 of file GreaterThan.php.

Here is the caller graph for this function:


Field Documentation

$_messageTemplates [protected]
Initial value:
 array(
        self::NOT_GREATER => "'%value%' is not greater than '%min%'",
    )

Reimplemented from Zend_Validate_Abstract.

Definition at line 41 of file GreaterThan.php.

$_messageVariables [protected]
Initial value:
 array(
        'min' => '_min'
    )

Reimplemented from Zend_Validate_Abstract.

Definition at line 48 of file GreaterThan.php.

$_min [protected]

Definition at line 57 of file GreaterThan.php.

const NOT_GREATER = 'notGreaterThan'

Definition at line 36 of file GreaterThan.php.


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