PrototypedEditor Class Reference
[Spring-like webflow tools]

Inheritance diagram for PrototypedEditor:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 __construct (Prototyped $subject)
 doDrop (HttpRequest $request)
 
Returns:
ModelAndView

 doTake (HttpRequest $request)
 
Returns:
ModelAndView

 doSave (HttpRequest $request)
 
Returns:
ModelAndView

 doEdit (HttpRequest $request)
 
Returns:
ModelAndView

 doAdd (HttpRequest $request)
 
Returns:
ModelAndView


Public Attributes

const COMMAND_SUCCEEDED = 'success'
const COMMAND_FAILED = 'error'

Protected Member Functions

 dropObject (HttpRequest $request, Form $form, Identifiable $object)
 saveObject (HttpRequest $request, Form $form, Identifiable $object)
 addObject (HttpRequest $request, Form $form, Identifiable $object)

Protected Attributes

 $subject = null
 $map = null


Detailed Description

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


Constructor & Destructor Documentation

PrototypedEditor::__construct ( Prototyped subject  ) 

Definition at line 24 of file PrototypedEditor.class.php.

References MappedForm::create(), doAdd(), doDrop(), doEdit(), doSave(), doTake(), RequestType::get(), RequestType::post(), MethodMappedController::setDefaultAction(), and MethodMappedController::setMethodMapping().

Here is the call graph for this function:


Member Function Documentation

PrototypedEditor::doDrop ( HttpRequest request  ) 

Returns:
ModelAndView

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

References Model::create(), ModelAndView::create(), and dropObject().

Referenced by __construct().

Here is the call graph for this function:

PrototypedEditor::dropObject ( HttpRequest request,
Form form,
Identifiable object 
) [protected]

Definition at line 84 of file PrototypedEditor.class.php.

Referenced by doDrop().

PrototypedEditor::doTake ( HttpRequest request  ) 

Returns:
ModelAndView

Definition at line 92 of file PrototypedEditor.class.php.

References addObject(), Model::create(), ModelAndView::create(), and saveObject().

Referenced by __construct().

Here is the call graph for this function:

PrototypedEditor::doSave ( HttpRequest request  ) 

Returns:
ModelAndView

Definition at line 146 of file PrototypedEditor.class.php.

References Model::create(), ModelAndView::create(), and saveObject().

Referenced by __construct().

Here is the call graph for this function:

PrototypedEditor::saveObject ( HttpRequest request,
Form form,
Identifiable object 
) [protected]

Definition at line 185 of file PrototypedEditor.class.php.

References FormUtils::form2object().

Referenced by doSave(), and doTake().

Here is the call graph for this function:

PrototypedEditor::doEdit ( HttpRequest request  ) 

Returns:
ModelAndView

Definition at line 194 of file PrototypedEditor.class.php.

References Model::create(), ModelAndView::create(), and FormUtils::object2form().

Referenced by __construct().

Here is the call graph for this function:

PrototypedEditor::doAdd ( HttpRequest request  ) 

Returns:
ModelAndView

Definition at line 218 of file PrototypedEditor.class.php.

References addObject(), Model::create(), and ModelAndView::create().

Referenced by __construct().

Here is the call graph for this function:

PrototypedEditor::addObject ( HttpRequest request,
Form form,
Identifiable object 
) [protected]

Definition at line 257 of file PrototypedEditor.class.php.

References FormUtils::form2object().

Referenced by doAdd(), and doTake().

Here is the call graph for this function:


Member Data Documentation

const PrototypedEditor::COMMAND_SUCCEEDED = 'success'

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

const PrototypedEditor::COMMAND_FAILED = 'error'

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

PrototypedEditor::$subject = null [protected]

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

PrototypedEditor::$map = null [protected]

Definition at line 22 of file PrototypedEditor.class.php.


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