Public Member Functions | |
__construct (Prototyped $subject) | |
postHandleRequest (ModelAndView $mav, HttpRequest $request) | |
| |
getForm () | |
| |
Public Attributes | |
const | COMMAND_SUCCEEDED = 'success' |
const | COMMAND_FAILED = 'error' |
Protected Attributes | |
$commandMap = array() | |
$map = null | |
$subject = null |
Definition at line 16 of file BaseEditor.class.php.
BaseEditor::__construct | ( | Prototyped $ | subject | ) |
Reimplemented in EditorController, and MonolithicController.
Definition at line 27 of file BaseEditor.class.php.
References Primitive::choice(), MappedForm::create(), RequestType::get(), and RequestType::post().
BaseEditor::postHandleRequest | ( | ModelAndView $ | mav, | |
HttpRequest $ | request | |||
) |
Definition at line 46 of file BaseEditor.class.php.
References ModelAndView::getModel(), and ModelAndView::setView().
Referenced by EditorController::handleRequest().
BaseEditor::getForm | ( | ) |
const BaseEditor::COMMAND_SUCCEEDED = 'success' |
const BaseEditor::COMMAND_FAILED = 'error' |
Definition at line 19 of file BaseEditor.class.php.
Referenced by ForbiddenCommand::run(), and CommandChain::run().
BaseEditor::$commandMap = array() [protected] |
Definition at line 22 of file BaseEditor.class.php.
BaseEditor::$map = null [protected] |
Definition at line 24 of file BaseEditor.class.php.
BaseEditor::$subject = null [protected] |
Definition at line 25 of file BaseEditor.class.php.