
Public Member Functions | ||||
| add (EditorCommand $command) | ||||
| ||||
| run (Prototyped $subject, Form $form, HttpRequest $request) | ||||
| ||||
Static Public Member Functions | ||||
| static | create () | |||
| ||||
Private Member Functions | ||||
| rollback ($position) | ||||
| ||||
| commit () | ||||
| ||||
Private Attributes | ||||
| $chain = array() | ||||
Definition at line 16 of file CommandChain.class.php.
| static CommandChain::create | ( | ) | [static] |
| CommandChain::add | ( | EditorCommand $ | command | ) |
| CommandChain::run | ( | Prototyped $ | subject, | |
| Form $ | form, | |||
| HttpRequest $ | request | |||
| ) |
| BaseException |
Implements EditorCommand.
Definition at line 42 of file CommandChain.class.php.
References BaseEditor::COMMAND_FAILED, Assert::isTrue(), and rollback().

| CommandChain::rollback | ( | $ | position | ) | [private] |
| CommandChain::commit | ( | ) | [private] |
CommandChain::$chain = array() [private] |
Definition at line 18 of file CommandChain.class.php.
1.5.4