Joomla Platform JClasses: JController

Submitted by Anonymous (not verified) on Mon, 10/29/2012 - 12:03

The class is part of Joomla's MVC Pattern.

MVC: model-view-controller

So this class is the controller of MVC

 

 

 

Member Functions or method of JController

 

 

__construct
visibility: public
Constructor.

 

addViewPath
visibility: public
Add one or more view paths to the controller's stack, in LIFO order.

 

authorise
visibility: public
Authorisation check.

 

authorize
visibility: public
Authorization check.

 

display

visibility: public
Typical view method for MVC based architecture.

 

execute

visibility: public
Execute a task by triggering a method in the derived class.

 

getModel

visibility: public
Method to get a model object, loading it if required.

 

getName

visibility: public
Method to get the controller name.

 

getTask

visibility: public
Get the last task that is or was to be performed.

 

getTasks

visibility: public
Gets the available tasks in the controller.

 

getView

visibility: public
Method to get a reference to the current view and load it if necessary.

 

redirect

visibility: public
Redirects the browser or returns false if no redirect is set.

 

registerDefaultTask

visibility: public
Register the default task to perform if a mapping is not found.

 

registerTask

visibility: public
Register (map) a task to a method in the class.

 

setAccessControl

visibility: public
Sets the access control levels.

 

setMessage

visibility: public
Sets the internal message that is passed with a redirect.

 

setRedirect

visibility: public
Set a URL for browser redirection.

 

unregisterTask

visibility: public
Unregister (unmap) a task in the class.

 

addModelPath

visibility: public static
Adds to the stack of model paths in LIFO order.

 

getInstance

visibility: public static
Method to get a singleton controller instance.

 

addPath

visibility: protected
Adds to the search path for templates and resources.

 

checkEditId

visibility: protected
Method to check whether an ID is in the edit list.

createModel

visibility: protected

Method to load and return a model object.

 

createView

visibility: protected
Method to load and return a view object.

 

holdEditId

visibility: protected
Method to add a record ID to the edit list.

releaseEditId

visibility: protected
Method to check whether an ID is in the edit list.

 

setPath

visibility: protected

Sets an entire array of search paths for resources.

 

createFileName

visibility: protected static

Create the filename for a resource.

 

Related Items