[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/MVC/Controller/ -> AdminController.php (summary)

Joomla! Content Management System

Copyright: (C) 2010 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 473 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AdminController:: (10 methods):
  __construct()
  delete()
  postDeleteHook()
  publish()
  reorder()
  saveorder()
  checkin()
  saveOrderAjax()
  runTransition()
  getRedirectToListAppend()


Class: AdminController  - X-Ref

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).

__construct($config = array()   X-Ref
Constructor.

param: array                $config   An optional associative array of configuration settings.
param: MVCFactoryInterface  $factory  The factory.
param: CMSApplication       $app      The Application for the dispatcher
param: Input                $input    The Input object for the request

delete()   X-Ref
Removes an item.

return: void

postDeleteHook(BaseDatabaseModel $model, $id = null)   X-Ref
Function that allows child controller access to model data
after the item has been deleted.

param: BaseDatabaseModel  $model  The data model object.
param: integer            $id     The validated data.
return: void

publish()   X-Ref
Method to publish a list of items

return: void

reorder()   X-Ref
Changes the order of one or more records.

return: boolean  True on success

saveorder()   X-Ref
Method to save the submitted ordering values for records.

return: boolean  True on success

checkin()   X-Ref
Check in of one or more records.

return: boolean  True on success

saveOrderAjax()   X-Ref
Method to save the submitted ordering values for records via AJAX.

return: void

runTransition()   X-Ref
Method to run Transition by id of item.

return: boolean  Indicates whether the transition was successful.

getRedirectToListAppend()   X-Ref
Gets the URL arguments to append to a list redirect.

return: string  The arguments to append to the redirect URL.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer