[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_menus/src/Controller/ -> MenuController.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: 223 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MenuController:: (3 methods):
  display()
  save()
  exportXml()


Class: MenuController  - X-Ref

The Menu Type Controller

display($cachable = false, $urlparams = false)   X-Ref
Dummy method to redirect back to standard controller

param: boolean  $cachable   If true, the view output will be cached.
param: array    $urlparams  An array of safe URL parameters and their variable types, for valid values see {@link \JFilterInput::clean()}.
return: void

save($key = null, $urlVar = null)   X-Ref
Method to save a menu item.

param: string  $key     The name of the primary key of the URL variable.
param: string  $urlVar  The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
return: boolean  True if successful, false otherwise.

exportXml()   X-Ref
Method to display a menu as preset xml.

return: boolean  True if successful, false otherwise.



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