CommandChain Class Reference
[Spring-like webflow tools]

Inheritance diagram for CommandChain:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 add (EditorCommand $command)
 
Returns:
CommandChain

 run (Prototyped $subject, Form $form, HttpRequest $request)
 
Exceptions:
BaseException 


Static Public Member Functions

static create ()
 
Returns:
CommandChain


Private Member Functions

 rollback ($position)
 
Returns:
CommandChain

 commit ()
 
Returns:
CommandChain


Private Attributes

 $chain = array()


Detailed Description

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


Member Function Documentation

static CommandChain::create (  )  [static]

Returns:
CommandChain

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

CommandChain::add ( EditorCommand command  ) 

Returns:
CommandChain

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

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

Exceptions:
BaseException 

Returns:
ModelAndView

Implements EditorCommand.

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

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

Here is the call graph for this function:

CommandChain::rollback ( position  )  [private]

Returns:
CommandChain

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

Referenced by run().

CommandChain::commit (  )  [private]

Returns:
CommandChain

Definition at line 91 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 on Sun Dec 9 21:57:03 2007 for onPHP by  doxygen 1.5.4