JController/1.5/ja

出典: Joomla! ドキュメンテーション

== Joomla 1.5 JController==

Description

[Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public _addPath Adds to the search path for templates and resources.
public _createFileName Create the filename for a resource.
public _createModel Method to load and return a model object.
public _createView Method to load and return a view object.
public _setPath Sets an entire array of search paths for resources.
public authorize Authorization check.
public display Typical view method for MVC based architecture.
public execute Execute a task by triggering a method in the derived class.
public getModel Method to get a model object, loading it if required.
public getName Method to get the controller name.
public getTask Get the last task that is or was to be performed.
public getTasks Gets the available tasks in the controller.
public getView Method to get a reference to the current view and load it if necessary.
public redirect Redirects the browser or returns false if no redirect is set.
public registerDefaultTask Register the default task to perform if a mapping is not found.
public registerTask Register (map) a task to a method in the class.
public setAccessControl Sets the access control levels.
public setMessage Sets the internal message that is passed with a redirect.
public setRedirect Set a URL for browser redirection.
public addModelPath Adds to the stack of model paths in LIFO order.
public addViewPath Add one or more view paths to the controller's stack, in LIFO order.
  • Defined in libraries/joomla/application/component/controller.php
  • Extends JObject

Importing

jimport( 'joomla.application.component.controller' );

See also

Joomla 1.5 JController on api.joomla.org

Joomla 1.5 JController source code on JoomlaCode

Joomla 1.5 Subpackage Application


[Edit See Also]

User contributed notes

<CodeExamplesForm />

%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).