Back to Joomla project (class list)

Class AdminController - list of methods

Base class for a Joomla Administrator Controller
Controller (controllers are where you put all the actual code) Provides basic functionality, such as rendering views (aka displaying templates).

Extends

Package: Joomla\CMS\MVC\Controller
Copyright: (C) 2010 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/MVC/Controller/AdminController.php
Project: Joomla

Method Summary

public
(mixed $config = array(), \Joomla\CMS\MVC\Factory\MVCFactoryInterface $factory = null, ?\Joomla\CMS\Application\CMSApplication $app = null, ?\Joomla\Input\Input $input = null)

Constructor.
Parameters
  • array $config An optional associative array of configuration settings. Recognized key values include 'name', 'default_task', 'model_path', and 'view_path' (this list is not meant to be comprehensive).
  • \Joomla\CMS\MVC\Factory\MVCFactoryInterface $factory The factory.
  • \Joomla\CMS\Application\CMSApplication $app The Application for the dispatcher
  • \Joomla\Input\Input $input The Input object for the request
Since
  • 3.0
Show source code of this method: __construct Source Code

public void
()

Removes an item.
Returns
  • void
Since
  • 1.6
Show source code of this method: delete Source Code

protected void
(\Joomla\CMS\MVC\Model\BaseDatabaseModel $model, mixed $id = null)

Function that allows child controller access to model data after the item has been deleted.
Parameters
  • \Joomla\CMS\MVC\Model\BaseDatabaseModel $model The data model object.
  • int $id The validated data.
Returns
  • void
Since
  • 3.1
Show source code of this method: postDeleteHook Source Code

public void
()

Method to publish a list of items
Returns
  • void
Since
  • 1.6
Show source code of this method: publish Source Code

public bool
()

Changes the order of one or more records.
Returns
  • bool True on success
Since
  • 1.6
Show source code of this method: reorder Source Code

public bool
()

Method to save the submitted ordering values for records.
Returns
  • bool True on success
Since
  • 1.6
Show source code of this method: saveorder Source Code

public bool
()

Check in of one or more records.
Returns
  • bool True on success
Since
  • 1.6
Show source code of this method: checkin Source Code

public void
()

Method to save the submitted ordering values for records via AJAX.
Returns
  • void
Since
  • 3.0
Show source code of this method: saveOrderAjax Source Code

public bool
()

Method to run Transition by id of item.
Returns
  • bool Indicates whether the transition was successful.
Since
  • 4.0.0
Show source code of this method: runTransition Source Code

protected string
()

Gets the URL arguments to append to a list redirect.
Returns
  • string The arguments to append to the redirect URL.
Since
  • 4.0.0
Show source code of this method: getRedirectToListAppend Source Code

Properties Summary

protected string
$option
The URL option for the component.
Since
  • 1.6
protected string
$text_prefix
The prefix to use with controller messages.
Since
  • 1.6
protected string
$view_list
The URL view list variable.
Since
  • 1.6

Tags Summary

Since
1.6