JControllerLegacyBase class for a Joomla Controller
Controller (Controllers are where you put all the actual code.) Provides basic functionality, such as rendering views (aka displaying templates).
Located in /libraries/legacy/controller/legacy.php (line 22)
JObject | --JControllerLegacy
| Class | Description |
|---|---|
AdminController
|
Admin Controller |
BannersController
|
Banners Controller |
|
Tracks list controller class. |
CacheController
|
Cache Controller |
CategoriesController
|
Categories view class for the Category package. |
CheckinController
|
Checkin Controller |
ConfigController
|
Config Component Controller |
ConfigControllerApplication
|
Controller for global configuration |
ConfigControllerComponent
|
Note: this view is intended only to be opened in a popup |
ContactController
|
Contact Component Controller |
ContentController
|
Content Component Controller |
ContenthistoryController
|
Contenthistory Controller |
ContenthistoryControllerPreview
|
Contenthistory list controller class. |
CpanelController
|
Cpanel Controller |
FinderController
|
Finder Component Controller. |
FinderControllerIndexer
|
Indexer controller class for Finder. |
InstallerController
|
Installer Controller |
InstallerControllerDatabase
|
Installer Database Controller |
InstallerControllerDiscover
|
Discover Installation Controller |
InstallerControllerInstall
|
|
InstallerControllerLanguages
|
Languages Installer Controller |
InstallerControllerManage
|
Installer Manage Controller |
InstallerControllerUpdate
|
Installer Update Controller |
JoomlaupdateController
|
Joomla! Update Controller |
JoomlaupdateControllerUpdate
|
The Joomla! update controller for the Update view |
LanguagesController
|
Languages Controller |
LanguagesControllerInstalled
|
Languages Controller |
LoginController
|
Login Controller |
MediaController
|
Media Manager Component Controller |
|
Media File Controller |
MediaControllerFolder
|
Folder Media Controller |
MenusController
|
Base controller class for Menu Manager. |
MenusControllerMenus
|
The Menu List Controller |
MessagesController
|
Messages master display controller. |
MessagesControllerConfig
|
Messages Component Message Model |
ModulesController
|
Modules manager master display controller. |
NewsfeedsController
|
Newsfeeds Component Controller |
PluginsController
|
Plugins master display controller. |
RedirectController
|
Redirect master display controller. |
SearchController
|
Search Component Controller |
SearchControllerSearches
|
Methods supporting a list of search terms. |
TagsController
|
Tags Component Controller |
TemplatesController
|
Templates manager master display controller. |
TemplatesControllerTemplate
|
Template style controller class. |
UsersController
|
Base controller class for Users. |
UsersControllerMail
|
Users mail controller. |
WeblinksController
|
Weblinks Component Controller |
FinderControllerSuggestions
|
Suggestions JSON controller for Finder. |
MailtoController
|
|
TagsControllerTags
|
The Tags List Controller |
WrapperController
|
Content Component Controller |
JControllerAdmin
|
Base class for a Joomla Administrator Controller |
JControllerForm
|
Controller tailored to suit most form-based admin operations. |
mixed
createView
(string $name, [string $prefix = ''], [string $type = ''], [array $config = array()])
JViewLegacy
getView
([string $name = ''], [string $type = ''], [string $prefix = ''], [array $config = array()])
static JControllerLegacy
$instance
(line 144)
Instance container.
string
$basePath
(line 31)
The base path of the controller
string
$default_view
(line 39)
The default view for the display method.
string
$doTask
(line 48)
The mapped task that was performed.
string
$message
(line 57)
Redirect message.
string
$messageType
(line 66)
Redirect message type.
array
$methods
(line 75)
Array of class methods
string
$model_prefix
(line 92)
The prefix of the models
array
$name
(line 84)
The name of the controller
array
$paths
(line 101)
The set of search directories for resources (views).
string
$redirect
(line 110)
URL for redirection.
string
$task
(line 119)
Current or most recently performed task.
array
$taskMap
(line 128)
Array of class methods to call for a given task.
Inherited from JObject
JObject::$_errors
Adds to the stack of model paths in LIFO order.
Create the filename for a resource.
Method to get a singleton controller instance.
Constructor.
Adds to the search path for templates and resources.
Add one or more view paths to the controller's stack, in LIFO order.
Authorisation check
Method to check whether an ID is in the edit list.
Method to load and return a model object.
Method to load and return a view object. This method first looks in the current template directory for a match and, failing that, uses a default set path to load the view class file.
Note the "name, prefix, type" order of parameters, which differs from the "name, type, prefix" order used in related public methods.
Typical view method for MVC based architecture
This function is provide as a default implementation, in most cases you will need to override it in your own controllers.
Execute a task by triggering a method in the derived class.
Method to get a model object, loading it if required.
Method to get the controller name
The dispatcher name is set by default parsed using the classname, or it can be set by passing a $config['name'] in the class constructor
Get the last task that is being performed or was most recently performed.
Method to get a reference to the current view and load it if necessary.
Method to add a record ID to the edit list.
Redirects the browser or returns false if no redirect is set.
Register the default task to perform if a mapping is not found.
Register (map) a task to a method in the class.
Method to check whether an ID is in the edit list.
Sets the internal message that is passed with a redirect
Sets an entire array of search paths for resources.
Set a URL for browser redirection.
Unregister (unmap) a task in the class.
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()
Documentation generated on Tue, 19 Nov 2013 15:06:47 +0100 by phpDocumentor 1.4.3