Public Member Functions | |
baseProto () | |
className () | |
getFormMapping () | |
checkConstraints ($object, Form $form, $previousObject=null) | |
isAbstract () | |
isInstanceOf (EntityProto $proto) | |
getFullFormMapping () | |
validate ($object, $form, $previousObject=null) | |
validateSelf ($object, $form, $previousObject=null) | |
validateList ($objectsList, $formsList, $previousObjectsList=null) | |
createObject () | |
makeForm () | |
attachPrimitives (Form $form) | |
getOwnPrimitive ($name) | |
getPrimitive ($name) | |
Public Attributes | |
const | PROTO_CLASS_PREFIX = 'EntityProto' |
Definition at line 12 of file EntityProto.class.php.
EntityProto::attachPrimitives | ( | Form $ | form | ) | [final] |
Definition at line 192 of file EntityProto.class.php.
References PlainForm::add(), and getFormMapping().
Referenced by makeForm().
EntityProto::baseProto | ( | ) |
Definition at line 16 of file EntityProto.class.php.
Referenced by getFullFormMapping(), getPrimitive(), makeForm(), and validate().
EntityProto::checkConstraints | ( | $ | object, | |
Form $ | form, | |||
$ | previousObject = null | |||
) |
Definition at line 36 of file EntityProto.class.php.
Referenced by validateSelf().
EntityProto::className | ( | ) |
Definition at line 21 of file EntityProto.class.php.
Referenced by createObject(), isInstanceOf(), and validate().
EntityProto::createObject | ( | ) | [final] |
Definition at line 166 of file EntityProto.class.php.
References className().
EntityProto::getFormMapping | ( | ) |
Definition at line 28 of file EntityProto.class.php.
Referenced by PrototypedMethodCaller::__construct(), attachPrimitives(), getFullFormMapping(), getOwnPrimitive(), and validateSelf().
EntityProto::getFullFormMapping | ( | ) | [final] |
Definition at line 55 of file EntityProto.class.php.
References baseProto(), and getFormMapping().
EntityProto::getOwnPrimitive | ( | $ | name | ) | [final] |
Definition at line 200 of file EntityProto.class.php.
References getFormMapping().
Referenced by getPrimitive().
EntityProto::getPrimitive | ( | $ | name | ) | [final] |
Definition at line 212 of file EntityProto.class.php.
References baseProto(), and getOwnPrimitive().
EntityProto::isAbstract | ( | ) |
Definition at line 43 of file EntityProto.class.php.
EntityProto::isInstanceOf | ( | EntityProto $ | proto | ) |
Definition at line 48 of file EntityProto.class.php.
References className().
Referenced by PrototypedBuilder::cloneBuilder().
EntityProto::makeForm | ( | ) | [final] |
Definition at line 178 of file EntityProto.class.php.
References attachPrimitives(), baseProto(), and Form::create().
EntityProto::validate | ( | $ | object, | |
$ | form, | |||
$ | previousObject = null | |||
) | [final] |
Definition at line 65 of file EntityProto.class.php.
References baseProto(), className(), Assert::isInstance(), validateList(), and validateSelf().
Referenced by validateList().
EntityProto::validateList | ( | $ | objectsList, | |
$ | formsList, | |||
$ | previousObjectsList = null | |||
) | [final] |
Definition at line 129 of file EntityProto.class.php.
References Assert::isEqual(), and validate().
Referenced by validate().
EntityProto::validateSelf | ( | $ | object, | |
$ | form, | |||
$ | previousObject = null | |||
) | [final] |
Definition at line 86 of file EntityProto.class.php.
References checkConstraints(), and getFormMapping().
Referenced by validate().
const EntityProto::PROTO_CLASS_PREFIX = 'EntityProto' |
Definition at line 14 of file EntityProto.class.php.
Referenced by PrimitiveForm::of().