Public Member Functions | ||||
clean () | ||||
| ||||
addAlias ($primitiveName, $alias) | ||||
| ||||
primitiveExists ($name) | ||||
add (BasePrimitive $prm, $alias=null) | ||||
| ||||
drop ($name) | ||||
| ||||
& | get ($name) | |||
| ||||
getValue ($name) | ||||
getRawValue ($name) | ||||
getActualValue ($name) | ||||
getSafeValue ($name) | ||||
getChoiceValue ($name) | ||||
getActualChoiceValue ($name) | ||||
getDisplayValue ($name) | ||||
getPrimitiveNames () | ||||
getPrimitiveList () | ||||
Protected Attributes | ||||
$aliases = array() | ||||
$primitives = array() |
Definition at line 18 of file PlainForm.class.php.
PlainForm::clean | ( | ) |
PlainForm::addAlias | ( | $ | primitiveName, | |
$ | alias | |||
) |
MissingElementException |
Definition at line 38 of file PlainForm.class.php.
Referenced by add().
PlainForm::primitiveExists | ( | $ | name | ) |
Definition at line 50 of file PlainForm.class.php.
PlainForm::add | ( | BasePrimitive $ | prm, | |
$ | alias = null | |||
) |
WrongArgumentException |
Definition at line 63 of file PlainForm.class.php.
References addAlias(), and Assert::isFalse().
PlainForm::drop | ( | $ | name | ) |
& PlainForm::get | ( | $ | name | ) |
MissingElementException |
Definition at line 100 of file PlainForm.class.php.
PlainForm::getValue | ( | $ | name | ) |
Definition at line 110 of file PlainForm.class.php.
Referenced by Form::toFormValue(), and FormField::toValue().
PlainForm::getRawValue | ( | $ | name | ) |
Definition at line 115 of file PlainForm.class.php.
PlainForm::getActualValue | ( | $ | name | ) |
Definition at line 120 of file PlainForm.class.php.
PlainForm::getSafeValue | ( | $ | name | ) |
Definition at line 125 of file PlainForm.class.php.
PlainForm::getChoiceValue | ( | $ | name | ) |
Definition at line 130 of file PlainForm.class.php.
References Assert::isTrue().
PlainForm::getActualChoiceValue | ( | $ | name | ) |
Definition at line 137 of file PlainForm.class.php.
References Assert::isTrue().
PlainForm::getDisplayValue | ( | $ | name | ) |
Definition at line 144 of file PlainForm.class.php.
PlainForm::getPrimitiveNames | ( | ) |
Definition at line 154 of file PlainForm.class.php.
PlainForm::getPrimitiveList | ( | ) |
PlainForm::$aliases = array() [protected] |
Definition at line 20 of file PlainForm.class.php.
PlainForm::$primitives = array() [protected] |
Definition at line 21 of file PlainForm.class.php.