Source for file user.php
Documentation is available at user.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @package Joomla.Administrator
* @var string The prefix to use with controller messages.
* 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 True if allowed, false otherwise.
protected function allowEdit($data =
array(), $key =
'id')
// Check if this person is a Super Admin
// If I'm not a Super Admin, then disallow the edit.
* Method to run batch operations.
* @param object $model The model.
* @return boolean True on success, false on failure
public function batch($model =
null)
$model =
$this->getModel('User', '', array());
return parent::batch($model);
* Function that allows child controller access to model data after the data has been saved.
* @param JModelLegacy $model The data model object.
* @param array $validData The validated data.
protected function postSaveHook(JModelLegacy $model, $validData =
array())
Documentation generated on Tue, 19 Nov 2013 15:16:22 +0100 by phpDocumentor 1.4.3