Source for file profile.php
Documentation is available at profile.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 profile controller class.
* @package Joomla.Administrator
* Method to check if you can edit a record.
* Extended classes can override this if necessary.
* @param array $data An array of input data.
* @param string $key The name of the key for the primary key.
protected function allowEdit($data =
array(), $key =
'id')
* Overrides parent save method to check the submitted passwords match.
* @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.
public function save($key =
null, $urlVar =
null)
$return =
parent::save();
// Redirect to the main page.
* Method to cancel an edit.
* @param string $key The name of the primary key of the URL variable.
* @return Boolean True if access level checks pass, false otherwise.
public function cancel($key =
null)
$return =
parent::cancel($key);
// Redirect to the main page.
Documentation generated on Tue, 19 Nov 2013 15:11:15 +0100 by phpDocumentor 1.4.3