onPHP

ModelAndView Class Reference

 

ModelAndView Class Reference
[Spring-like webflow tools]

List of all members.

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


Detailed Description

Definition at line 16 of file ModelAndView.class.php.


Constructor & Destructor Documentation

ModelAndView::__construct (  ) 

Definition at line 30 of file ModelAndView.class.php.


Member Function Documentation

ModelAndView::getModel (  ) 

Returns:
Model

Definition at line 38 of file ModelAndView.class.php.

Referenced by BaseEditor::postHandleRequest().

ModelAndView::setModel ( Model model  ) 

Returns:
ModelAndView

Definition at line 46 of file ModelAndView.class.php.

ModelAndView::getView (  ) 

Definition at line 53 of file ModelAndView.class.php.

ModelAndView::setView ( view  ) 

Returns:
ModelAndView

Definition at line 61 of file ModelAndView.class.php.

References $view, and Assert::isTrue().

Referenced by BaseEditor::postHandleRequest().

Here is the call graph for this function:

ModelAndView::viewIsRedirect (  ) 

Definition at line 73 of file ModelAndView.class.php.

Referenced by viewIsNormal().

ModelAndView::viewIsNormal (  ) 

Definition at line 84 of file ModelAndView.class.php.

References View::ERROR_VIEW, and viewIsRedirect().

Here is the call graph for this function:


Member Data Documentation

ModelAndView::$model = null [private]

Definition at line 18 of file ModelAndView.class.php.

ModelAndView::$view = null [private]

Definition at line 20 of file ModelAndView.class.php.

Referenced by setView().


The documentation for this class was generated from the following file:

generated by doxygen-1.5.5
for onPHP at Thu Feb 28 21:50:39 2008