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 15 of file CommandChain.class.php.
CommandChain::add | ( | EditorCommand $ | command | ) |
Definition at line 30 of file CommandChain.class.php.
CommandChain::commit | ( | ) | [private] |
Definition at line 90 of file CommandChain.class.php.
static CommandChain::create | ( | ) | [static] |
Definition at line 22 of file CommandChain.class.php.
CommandChain::rollback | ( | $ | position | ) | [private] |
CommandChain::run | ( | Prototyped $ | subject, | |
Form $ | form, | |||
HttpRequest $ | request | |||
) |
BaseException |
Implements EditorCommand.
Definition at line 41 of file CommandChain.class.php.
References BaseEditor::COMMAND_FAILED, Assert::isTrue(), and rollback().
CommandChain::$chain = array() [private] |
Definition at line 17 of file CommandChain.class.php.