class Doctrine_Validator_Time extends Doctrine_Validator_Driver (View source)

Doctrine_Validator_Time

Properties

array $args from Doctrine_Validator_Driver
$invoker from Doctrine_Validator_Driver
$field from Doctrine_Validator_Driver

Methods

__get(string $arg)

__get an alias for getOption

__isset(string $arg)

__isset

__set($arg, $value)

sets given value to an argument

mixed
getArg($arg)

returns the value of an argument

setArg($arg, $value)

sets given value to an argument

array
getArgs()

returns all args and their associated values

__toString()

No description

boolean
validate(mixed $value)

validate

Details

__get(string $arg)

__get an alias for getOption

Parameters

string $arg

__isset(string $arg)

__isset

Parameters

string $arg

Doctrine_Validator_Driver __set($arg, $value)

sets given value to an argument

Parameters

$arg the name of the option to be changed
$value the value of the option

Return Value

Doctrine_Validator_Driver this object

mixed getArg($arg)

returns the value of an argument

Parameters

$arg the name of the option to retrieve

Return Value

mixed the value of the option

Doctrine_Validator_Driver setArg($arg, $value)

sets given value to an argument

Parameters

$arg the name of the option to be changed
$value the value of the option

Return Value

Doctrine_Validator_Driver this object

array getArgs()

returns all args and their associated values

Return Value

array all args as an associative array

__toString()

boolean validate(mixed $value)

validate

checks if given value is a valid time

Parameters

mixed $value

Return Value

boolean