Source for file level.php
Documentation is available at level.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
* User view level controller class.
* @package Joomla.Administrator
* @var string The prefix to use with controller messages.
* Method to check if you can save a new or existing record.
* Overrides JControllerForm::allowSave to check the core.admin permission.
* @param array An array of input data.
* @param string The name of the key for the primary key.
protected function allowSave($data, $key =
'id')
* Method to remove a record.
// Check for request forgeries.
$ids =
$this->input->get('cid', array(), 'array');
if (!$model->delete($ids))
$this->setRedirect('index.php?option=com_users&view=levels');
Documentation generated on Tue, 19 Nov 2013 15:06:59 +0100 by phpDocumentor 1.4.3