[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_menus/src/Controller/ -> ItemsController.php (summary)

(no description)

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

Defines 1 class

ItemsController:: (7 methods):
  __construct()
  getModel()
  getQuickiconContent()
  rebuild()
  setDefault()
  publish()
  getRedirectToListAppend()


Class: ItemsController  - X-Ref

The Menu Item Controller

__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    Input

getModel($name = 'Item', $prefix = 'Administrator', $config = array('ignore_request' => true)   X-Ref
Proxy for getModel.

param: string  $name    The model name. Optional.
param: string  $prefix  The class prefix. Optional.
param: array   $config  Configuration array for model. Optional.
return: object  The model.

getQuickiconContent()   X-Ref
Method to get the number of published frontend menu items for quickicons

return: void

rebuild()   X-Ref
Rebuild the nested set tree.

return: boolean  False on failure or error, true on success.

setDefault()   X-Ref
Method to set the home property for a list of items

return: void

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

return: void

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