[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Controller/ -> LevelController.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: 123 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LevelController:: (3 methods):
  allowSave()
  allowEdit()
  delete()


Class: LevelController  - X-Ref

User view level controller class.

allowSave($data, $key = 'id')   X-Ref
Method to check if you can save a new or existing record.

Overrides Joomla\CMS\MVC\Controller\FormController::allowSave to check the core.admin permission.

param: array   $data  An array of input data.
param: string  $key   The name of the key for the primary key.
return: boolean

allowEdit($data = array()   X-Ref
Overrides JControllerForm::allowEdit

Checks that non-Super Admins are not editing Super Admins.

param: array   $data  An array of input data.
param: string  $key   The name of the key for the primary key.
return: boolean

delete()   X-Ref
Removes an item.

Overrides Joomla\CMS\MVC\Controller\FormController::delete to check the core.admin permission.

return: void



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