Public Member Functions | ||||
of ($class) | ||||
| ||||
setDefault ($object) | ||||
| ||||
importValue ($value) | ||||
import ($scope) | ||||
Static Public Member Functions | ||||
static | create ($name) | |||
| ||||
Protected Member Functions | ||||
getObjectName () | ||||
checkRanges (DateRange $range) | ||||
Private Member Functions | ||||
checkType ($object) | ||||
Private Attributes | ||||
$className = null |
Definition at line 16 of file PrimitiveDateRange.class.php.
static PrimitiveDateRange::create | ( | $ | name | ) | [static] |
Definition at line 23 of file PrimitiveDateRange.class.php.
References BasePrimitive::$name.
PrimitiveDateRange::of | ( | $ | class | ) |
WrongArgumentException |
Definition at line 32 of file PrimitiveDateRange.class.php.
References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().
PrimitiveDateRange::setDefault | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 47 of file PrimitiveDateRange.class.php.
References checkType().
PrimitiveDateRange::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Definition at line 56 of file PrimitiveDateRange.class.php.
References BasePrimitive::$value, checkRanges(), and checkType().
PrimitiveDateRange::import | ( | $ | scope | ) |
Reimplemented from BasePrimitive.
Definition at line 76 of file PrimitiveDateRange.class.php.
References checkRanges(), getObjectName(), and DateRangeList::makeRange().
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().
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().
PrimitiveDateRange::$className = null [private] |
Definition at line 18 of file PrimitiveDateRange.class.php.