FormUtils Class Reference
[Data validation layer]

Inheritance diagram for FormUtils:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static object2form ($object, Form $form, $ignoreNull=true)
static form2object (Form $form, $object, $ignoreNull=true)
static checkPrototyped (Prototyped $object)


Detailed Description

Definition at line 16 of file FormUtils.class.php.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

static FormUtils::checkPrototyped ( Prototyped object  )  [static]

Definition at line 93 of file FormUtils.class.php.

References Prototyped::proto().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:27 2007 for onPHP by  doxygen 1.5.4