Static Public Member Functions | |
static | object2form ($object, Form $form, $ignoreNull=true) |
static | form2object (Form $form, $object, $ignoreNull=true) |
static | checkPrototyped (Prototyped $object) |
Definition at line 16 of file FormUtils.class.php.
static FormUtils::object2form | ( | $ | object, | |
Form $ | form, | |||
$ | ignoreNull = true | |||
) | [static] |
Definition at line 18 of file FormUtils.class.php.
References PlainForm::getPrimitiveList(), Form::importValue(), and Assert::isTrue().
Referenced by PrototypedEditor::doEdit(), and EditCommand::run().
static FormUtils::form2object | ( | Form $ | form, | |
$ | object, | |||
$ | ignoreNull = true | |||
) | [static] |
Definition at line 50 of file FormUtils.class.php.
References Assert::isTrue().
Referenced by PrototypedEditor::addObject(), SaveCommand::run(), MakeCommand::run(), and PrototypedEditor::saveObject().
static FormUtils::checkPrototyped | ( | Prototyped $ | object | ) | [static] |
Definition at line 93 of file FormUtils.class.php.
References Prototyped::proto().