Public Member Functions | |
setValue ($object) | |
setMin ($object) | |
setMax ($object) | |
setDefault ($object) | |
importSingle ($scope) | |
isEmpty ($scope) | |
importMarried ($scope) | |
importValue ($value) | |
exportValue () | |
Public Attributes | |
const | DAY = 'day' |
const | MONTH = 'month' |
const | YEAR = 'year' |
Protected Member Functions | |
checkRanges (Date $date) | |
getObjectName () | |
checkType ($object) |
Definition at line 15 of file PrimitiveDate.class.php.
PrimitiveDate::checkRanges | ( | Date $ | date | ) | [protected] |
Definition at line 210 of file PrimitiveDate.class.php.
References Date::toStamp().
Referenced by PrimitiveTimestamp::importMarried(), importMarried(), and importSingle().
PrimitiveDate::checkType | ( | $ | object | ) | [protected] |
Definition at line 222 of file PrimitiveDate.class.php.
References getObjectName(), ClassUtils::isInstanceOf(), and Assert::isTrue().
Referenced by importValue(), setDefault(), setMax(), setMin(), and setValue().
PrimitiveDate::exportValue | ( | ) |
Reimplemented from ComplexPrimitive.
Definition at line 187 of file PrimitiveDate.class.php.
References ComplexPrimitive::getState().
PrimitiveDate::getObjectName | ( | ) | [protected] |
Reimplemented in PrimitiveTimestamp.
Definition at line 217 of file PrimitiveDate.class.php.
Referenced by checkType(), and importSingle().
PrimitiveDate::importMarried | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Reimplemented in PrimitiveTimestamp.
Definition at line 113 of file PrimitiveDate.class.php.
References checkRanges(), BasePrimitive::import(), isEmpty(), and BasePrimitive::isRequired().
Referenced by importValue().
PrimitiveDate::importSingle | ( | $ | scope | ) |
Reimplemented from ComplexPrimitive.
Definition at line 73 of file PrimitiveDate.class.php.
References checkRanges(), getObjectName(), BasePrimitive::import(), and isEmpty().
Referenced by importValue().
PrimitiveDate::importValue | ( | $ | value | ) |
Reimplemented from BasePrimitive.
Definition at line 152 of file PrimitiveDate.class.php.
References BasePrimitive::$value, checkType(), BasePrimitive::getName(), ComplexPrimitive::getState(), PrimitiveTimestamp::HOURS, importMarried(), importSingle(), PrimitiveTimestamp::MINUTES, and PrimitiveTimestamp::SECONDS.
PrimitiveDate::isEmpty | ( | $ | scope | ) |
Definition at line 100 of file PrimitiveDate.class.php.
References ComplexPrimitive::getState().
Referenced by PrimitiveTimestamp::importMarried(), importMarried(), and importSingle().
PrimitiveDate::setDefault | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 64 of file PrimitiveDate.class.php.
References checkType().
PrimitiveDate::setMax | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 51 of file PrimitiveDate.class.php.
References checkType().
PrimitiveDate::setMin | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from RangedPrimitive.
Definition at line 38 of file PrimitiveDate.class.php.
References checkType().
PrimitiveDate::setValue | ( | $ | object | ) |
WrongArgumentException |
Reimplemented from BasePrimitive.
Definition at line 25 of file PrimitiveDate.class.php.
References checkType().
const PrimitiveDate::DAY = 'day' |
Definition at line 17 of file PrimitiveDate.class.php.
const PrimitiveDate::MONTH = 'month' |
Definition at line 18 of file PrimitiveDate.class.php.
const PrimitiveDate::YEAR = 'year' |
Definition at line 19 of file PrimitiveDate.class.php.