
Public Member Functions | ||||
| __construct (EditorCommand $command) | ||||
| run (Prototyped $subject, Form $form, HttpRequest $request) | ||||
| ||||
| commit () | ||||
| ||||
| rollback () | ||||
| ||||
| __destruct () | ||||
Private Attributes | ||||
| $command = null | ||||
| $db = null | ||||
| $running = false | ||||
Definition at line 16 of file CarefulDatabaseRunner.class.php.
| CarefulDatabaseRunner::__construct | ( | EditorCommand $ | command | ) | [final] |
Definition at line 23 of file CarefulDatabaseRunner.class.php.
| CarefulDatabaseRunner::__destruct | ( | ) |
Definition at line 87 of file CarefulDatabaseRunner.class.php.
| CarefulDatabaseRunner::run | ( | Prototyped $ | subject, | |
| Form $ | form, | |||
| HttpRequest $ | request | |||
| ) |
| BaseException |
Implements EditorCommand.
Definition at line 32 of file CarefulDatabaseRunner.class.php.
References DBPool::getByDao(), Assert::isFalse(), and Assert::isTrue().

| CarefulDatabaseRunner::commit | ( | ) |
Implements CarefulCommand.
Definition at line 59 of file CarefulDatabaseRunner.class.php.
| CarefulDatabaseRunner::rollback | ( | ) |
Implements CarefulCommand.
Definition at line 72 of file CarefulDatabaseRunner.class.php.
CarefulDatabaseRunner::$command = null [private] |
Definition at line 18 of file CarefulDatabaseRunner.class.php.
CarefulDatabaseRunner::$db = null [private] |
Definition at line 19 of file CarefulDatabaseRunner.class.php.
CarefulDatabaseRunner::$running = false [private] |
Definition at line 21 of file CarefulDatabaseRunner.class.php.
1.5.4