MappedForm Class Reference
[Data validation layer]

List of all members.

Public Member Functions

 __construct (Form $form)
 getForm ()
 
Returns:
Form

 setDefaultType (RequestType $type)
 
Returns:
MappedForm

 addSource ($primitiveName, RequestType $type)
 
Returns:
MappedForm

 importOne ($name, HttpRequest $request)
 import (HttpRequest $request)

Static Public Member Functions

static create (Form $form)
 
Returns:
MappedForm


Private Member Functions

 checkExistence ($name)

Private Attributes

 $form = null
 $type = null
 $map = array()


Detailed Description

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


Constructor & Destructor Documentation

MappedForm::__construct ( Form form  ) 

Definition at line 31 of file MappedForm.class.php.


Member Function Documentation

static MappedForm::create ( Form form  )  [static]

Returns:
MappedForm

Definition at line 26 of file MappedForm.class.php.

Referenced by PrototypedEditor::__construct(), and BaseEditor::__construct().

MappedForm::getForm (  ) 

Returns:
Form

Definition at line 39 of file MappedForm.class.php.

MappedForm::setDefaultType ( RequestType type  ) 

Returns:
MappedForm

Definition at line 47 of file MappedForm.class.php.

MappedForm::addSource ( primitiveName,
RequestType type 
)

Returns:
MappedForm

Definition at line 57 of file MappedForm.class.php.

References checkExistence().

Here is the call graph for this function:

MappedForm::importOne ( name,
HttpRequest request 
)

Definition at line 66 of file MappedForm.class.php.

References $type, checkExistence(), and HttpRequest::getByType().

Referenced by import().

Here is the call graph for this function:

MappedForm::import ( HttpRequest request  ) 

Definition at line 90 of file MappedForm.class.php.

References importOne().

Here is the call graph for this function:

MappedForm::checkExistence ( name  )  [private]

Definition at line 99 of file MappedForm.class.php.

Referenced by addSource(), and importOne().


Member Data Documentation

MappedForm::$form = null [private]

Definition at line 18 of file MappedForm.class.php.

MappedForm::$type = null [private]

Definition at line 19 of file MappedForm.class.php.

Referenced by importOne().

MappedForm::$map = array() [private]

Definition at line 21 of file MappedForm.class.php.


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