PrimitiveDate Class Reference
[Base data types used in Form]

Inheritance diagram for PrimitiveDate:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setValue ($object)
 
Exceptions:
WrongArgumentException 

 setMin ($object)
 
Exceptions:
WrongArgumentException 

 setMax ($object)
 
Exceptions:
WrongArgumentException 

 setDefault ($object)
 
Exceptions:
WrongArgumentException 

 importSingle ($scope)
 isEmpty ($scope)
 importMarried ($scope)
 importValue ($value)

Public Attributes

const DAY = 'day'
const MONTH = 'month'
const YEAR = 'year'

Protected Member Functions

 checkRanges (Date $date)
 getObjectName ()
 checkType ($object)


Detailed Description

Definition at line 16 of file PrimitiveDate.class.php.


Member Function Documentation

PrimitiveDate::setValue ( object  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDate

Reimplemented from BasePrimitive.

Definition at line 26 of file PrimitiveDate.class.php.

References checkType().

Here is the call graph for this function:

PrimitiveDate::setMin ( object  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDate

Reimplemented from RangedPrimitive.

Definition at line 39 of file PrimitiveDate.class.php.

References checkType().

Here is the call graph for this function:

PrimitiveDate::setMax ( object  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDate

Reimplemented from RangedPrimitive.

Definition at line 52 of file PrimitiveDate.class.php.

References checkType().

Here is the call graph for this function:

PrimitiveDate::setDefault ( object  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDate

Reimplemented from BasePrimitive.

Definition at line 65 of file PrimitiveDate.class.php.

References checkType().

Here is the call graph for this function:

PrimitiveDate::importSingle ( scope  ) 

Reimplemented from ComplexPrimitive.

Definition at line 74 of file PrimitiveDate.class.php.

References checkRanges(), getObjectName(), and BasePrimitive::import().

Referenced by importValue().

Here is the call graph for this function:

PrimitiveDate::isEmpty ( scope  ) 

Definition at line 99 of file PrimitiveDate.class.php.

References ComplexPrimitive::getState().

Referenced by PrimitiveTimestamp::importMarried(), and importMarried().

Here is the call graph for this function:

PrimitiveDate::importMarried ( scope  ) 

Reimplemented from ComplexPrimitive.

Reimplemented in PrimitiveTimestamp.

Definition at line 109 of file PrimitiveDate.class.php.

References checkRanges(), BasePrimitive::import(), isEmpty(), and BasePrimitive::isRequired().

Referenced by importValue().

Here is the call graph for this function:

PrimitiveDate::importValue ( value  ) 

Reimplemented from BasePrimitive.

Definition at line 148 of file PrimitiveDate.class.php.

References BasePrimitive::$value, checkType(), BasePrimitive::getName(), ComplexPrimitive::getState(), PrimitiveTimestamp::HOURS, importMarried(), importSingle(), PrimitiveTimestamp::MINUTES, and PrimitiveTimestamp::SECONDS.

Here is the call graph for this function:

PrimitiveDate::checkRanges ( Date date  )  [protected]

Definition at line 183 of file PrimitiveDate.class.php.

References Date::toStamp().

Referenced by PrimitiveTimestamp::importMarried(), importMarried(), and importSingle().

Here is the call graph for this function:

PrimitiveDate::getObjectName (  )  [protected]

Reimplemented in PrimitiveTimestamp.

Definition at line 190 of file PrimitiveDate.class.php.

Referenced by checkType(), and importSingle().

PrimitiveDate::checkType ( object  )  [protected]

Definition at line 195 of file PrimitiveDate.class.php.

References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().

Referenced by importValue(), setDefault(), setMax(), setMin(), and setValue().

Here is the call graph for this function:


Member Data Documentation

const PrimitiveDate::DAY = 'day'

Definition at line 18 of file PrimitiveDate.class.php.

const PrimitiveDate::MONTH = 'month'

Definition at line 19 of file PrimitiveDate.class.php.

const PrimitiveDate::YEAR = 'year'

Definition at line 20 of file PrimitiveDate.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:58:10 2007 for onPHP by  doxygen 1.5.4