PrimitiveDateRange Class Reference
[Base data types used in Form]

Inheritance diagram for PrimitiveDateRange:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 of ($class)
 
Exceptions:
WrongArgumentException 

 setDefault ($object)
 
Exceptions:
WrongArgumentException 

 importValue ($value)
 import ($scope)

Static Public Member Functions

static create ($name)
 
Returns:
PrimitiveDateRange


Protected Member Functions

 getObjectName ()
 checkRanges (DateRange $range)

Private Member Functions

 checkType ($object)

Private Attributes

 $className = null


Detailed Description

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


Member Function Documentation

static PrimitiveDateRange::create ( name  )  [static]

Returns:
PrimitiveDateRange

Definition at line 23 of file PrimitiveDateRange.class.php.

References BasePrimitive::$name.

PrimitiveDateRange::of ( class  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDateRange

Definition at line 32 of file PrimitiveDateRange.class.php.

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

Here is the call graph for this function:

PrimitiveDateRange::setDefault ( object  ) 

Exceptions:
WrongArgumentException 

Returns:
PrimitiveDateRange

Reimplemented from BasePrimitive.

Definition at line 47 of file PrimitiveDateRange.class.php.

References checkType().

Here is the call graph for this function:

PrimitiveDateRange::importValue ( value  ) 

Reimplemented from BasePrimitive.

Definition at line 56 of file PrimitiveDateRange.class.php.

References BasePrimitive::$value, checkRanges(), and checkType().

Here is the call graph for this function:

PrimitiveDateRange::import ( scope  ) 

Reimplemented from BasePrimitive.

Definition at line 76 of file PrimitiveDateRange.class.php.

References checkRanges(), getObjectName(), and DateRangeList::makeRange().

Here is the call graph for this function:

PrimitiveDateRange::getObjectName (  )  [protected]

Definition at line 110 of file PrimitiveDateRange.class.php.

Referenced by checkType(), import(), and of().

PrimitiveDateRange::checkRanges ( DateRange range  )  [protected]

Definition at line 115 of file PrimitiveDateRange.class.php.

References DateRange::getEndStamp(), and DateRange::getStartStamp().

Referenced by import(), and importValue().

Here is the call graph for this function:

PrimitiveDateRange::checkType ( object  )  [private]

Definition at line 122 of file PrimitiveDateRange.class.php.

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

Referenced by importValue(), and setDefault().

Here is the call graph for this function:


Member Data Documentation

PrimitiveDateRange::$className = null [private]

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


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