Public Member Functions | |
__construct () | |
getModel () | |
| |
setModel (Model $model) | |
| |
getView () | |
setView ($view) | |
| |
viewIsRedirect () | |
viewIsNormal () | |
Static Public Member Functions | |
static | create () |
| |
Private Attributes | |
$model = null | |
$view = null |
Definition at line 16 of file ModelAndView.class.php.
ModelAndView::__construct | ( | ) |
Definition at line 30 of file ModelAndView.class.php.
static ModelAndView::create | ( | ) | [static] |
Definition at line 25 of file ModelAndView.class.php.
Referenced by PrototypedEditor::doAdd(), PrototypedEditor::doDrop(), PrototypedEditor::doEdit(), PrototypedEditor::doSave(), PrototypedEditor::doTake(), MonolithicController::handleRequest(), MethodMappedController::handleRequest(), EditorController::handleRequest(), OpenIdConsumer::makeCheckIdRequest(), ForbiddenCommand::run(), EditCommand::run(), and DropCommand::run().
ModelAndView::getModel | ( | ) |
Definition at line 38 of file ModelAndView.class.php.
Referenced by BaseEditor::postHandleRequest().
ModelAndView::setModel | ( | Model $ | model | ) |
ModelAndView::getView | ( | ) |
Definition at line 53 of file ModelAndView.class.php.
ModelAndView::setView | ( | $ | view | ) |
Definition at line 61 of file ModelAndView.class.php.
References $view, and Assert::isTrue().
Referenced by BaseEditor::postHandleRequest().
ModelAndView::viewIsRedirect | ( | ) |
ModelAndView::viewIsNormal | ( | ) |
Definition at line 84 of file ModelAndView.class.php.
References View::ERROR_VIEW, and viewIsRedirect().
ModelAndView::$model = null [private] |
Definition at line 18 of file ModelAndView.class.php.
ModelAndView::$view = null [private] |