Generic page class. myMVC_BaseAction and myMVC_BaseView are derived from this class.
Located in /myMVC/BasePage.php (line 27)
Class | Description |
---|---|
myMVC_BaseView | Base class for the Views. |
myMVC_BaseAction | Base class for all actions. |
Returns the current logged user, if any.
This function has to be static, then it will normally called from static functions (eg hasUserRightForAction).
Constructor.
This function does nothing! This class will not be used, but just derived (see myMVC_BaseAction and myMVC_BaseView)
Returns the value for the given field in the previous submitted form.
WARNING: This function just returns the fields, that passed the validation!!
Returns the value for the given field in the previous submitted form.
WARNING: This function just returns the fields, that NOT passed the validation!!
Returns all error messages after the validation of the user's parameters
Returns a variable saved from the previous class with saveParameterForNextPage
Returns whether the given parameter of the previous submitted form passed the validation or not.
Save a variable in the session, to be used by the next page (Action or view).
This variable can be read with the method getParameterFromPreviousPage of the classes BaseAction or BaseView
Documentation generated on Sat, 20 Oct 2012 18:18:48 +0200 by phpDocumentor 1.4.4