[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Controller/ -> UserController.php (summary)

(no description)

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

Defines 1 class

UserController:: (5 methods):
  allowEdit()
  cancel()
  save()
  batch()
  postSaveHook()


Class: UserController  - X-Ref

User controller class.

allowEdit($data = array()   X-Ref
Overrides Joomla\CMS\MVC\Controller\FormController::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  True if allowed, false otherwise.

cancel($key = null)   X-Ref
Override parent cancel to redirect when using status edit account.

param: string  $key  The name of the primary key of the URL variable.
return: boolean  True if access level checks pass, false otherwise.

save($key = null, $urlVar = null)   X-Ref
Override parent save to redirect when using status edit account.

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.

batch($model = null)   X-Ref
Method to run batch operations.

param: object  $model  The model.
return: boolean  True on success, false on failure

postSaveHook(BaseDatabaseModel $model, $validData = array()   X-Ref
Function that allows child controller access to model data after the data has been saved.

param: BaseDatabaseModel  $model      The data model object.
param: array              $validData  The validated data.
return: void



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