myMVC_BasePageGeneric 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. |
static getLoggedUser (line 48)
Returns the current logged user, if any.
This function has to be static, then it will normally called from static functions (eg hasUserRightForAction).
Constructor __construct (line 35)
Constructor.
This function does nothing! This class will not be used, but just derived (see myMVC_BaseAction and myMVC_BaseView)
getFromPreviousSubmit (line 88)
Returns the value for the given field in the previous submitted form.
WARNING: This function just returns the fields, that passed the validation!!
getInvalidFromPreviousSubmit (line 106)
Returns the value for the given field in the previous submitted form.
WARNING: This function just returns the fields, that NOT passed the validation!!
getParameterErrors (line 139)
Returns all error messages after the validation of the user's parameters
getParameterFromPreviousPage (line 77)
Returns a variable saved from the previous class with saveParameterForNextPage
isParameterFromPreviousSubmitValid (line 120)
Returns whether the given parameter of the previous submitted form passed the validation or not.
saveParameterForNextPage (line 65)
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