myMVC_BaseViewBase class for the Views.
All user's view must derive this class
Located in /myMVC/BaseView.php (line 27)
myMVC_BasePage | --myMVC_BaseView
| Class | Description |
|---|---|
myMVC_BaseLoginView
|
View-class to manage a login system. |
static callActionStaticFunction (line 391)
Template-function to call an arbitrary static function of a given Action class
static createURL (line 274)
Template-function to create an URL
static createURLPrevious (line 226)
Template-function to create the URL of the previous used action
static errorMessage (line 419)
Template-function to return the error message of the given form field
static errorMessagesAsArray (line 473)
Template-function to return all error messages as numeric array of associative arrays ('field' => <field name>, 'message' => <error message>)
static errorMessagesAsString (line 444)
Template-function to return all error messages as string
static formatNumber (line 551)
Format a number with the actual locale information
Example: Locale de_DE: 1.234,56 Locale en_US: 1,234.56 Locale it_IT: 1234,56
static getActionCSS (line 331)
Template-function to return the CSS of the given action
static getActionMenuItem (line 363)
Template-function to create menu item
static getViewToken (line 114)
Returns the token used to identify the current View
static isCalledFromMenu (line 527)
Template-function to return whether the action, who called this view, was called from a menu or directly from another action/view
static isFieldValid (line 499)
Template-function to return whether the form field passed the validation
Constructor __construct (line 41)
Constructor.
fetch (line 210)
Render the page and return it as string
getTemplateFile (line 77)
Returns the template file for the current view
preRender (line 190)
Prepare to render the View
render (line 199)
Render the page and send it to
the browser
setAllInvalidFields (line 166)
Set all the invalid form fields of the previous form as variable to be displayed by the engine
setAllSubmitFields (line 155)
Set all form fields of the previous form as variable to be displayed by the engine
setAllValidFields (line 177)
Set all the valid form fields of the previous form as variable to be displayed by the engine
setObject (line 67)
Save an object (reference) to be used in the template
setTemplate (line 92)
Use $file as template
setVariable (line 56)
Save a variable to be used in the template
Inherited From myMVC_BasePage
myMVC_BasePage::__construct()
myMVC_BasePage::getFromPreviousSubmit()
myMVC_BasePage::getInvalidFromPreviousSubmit()
myMVC_BasePage::getLoggedUser()
myMVC_BasePage::getParameterErrors()
myMVC_BasePage::getParameterFromPreviousPage()
myMVC_BasePage::isParameterFromPreviousSubmitValid()
myMVC_BasePage::saveParameterForNextPage()
Documentation generated on Wed, 06 Feb 2013 20:58:24 +0100 by phpDocumentor 1.4.4