onPHP

CommandChain Class Reference

 

CommandChain Class Reference
[Spring-like webflow tools]

Inheritance diagram for CommandChain:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 add (EditorCommand $command)
 run (Prototyped $subject, Form $form, HttpRequest $request)
 
Returns:
ModelAndView


Static Public Member Functions

static create ()

Private Member Functions

 rollback ($position)
 commit ()

Private Attributes

 $chain = array()

Detailed Description

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


Member Function Documentation

static CommandChain::create (  )  [static]

Definition at line 20 of file CommandChain.class.php.

CommandChain::add ( EditorCommand command  ) 

Definition at line 25 of file CommandChain.class.php.

CommandChain::run ( Prototyped subject,
Form form,
HttpRequest request 
)

Returns:
ModelAndView

Implements EditorCommand.

Definition at line 30 of file CommandChain.class.php.

References EditorController::COMMAND_FAILED, Assert::isTrue(), and rollback().

Here is the call graph for this function:

CommandChain::rollback ( position  )  [private]

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

Referenced by run().

CommandChain::commit (  )  [private]

Definition at line 73 of file CommandChain.class.php.


Member Data Documentation

CommandChain::$chain = array() [private]

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


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Mon Jan 8 11:42:41 2007