Class AdminControllerProfile

Description

User profile controller class.

  • since: 1.6

Located in /administrator/components/com_admin/controllers/profile.php (line 19)

JObject
   |
   --JControllerLegacy
      |
      --JControllerForm
         |
         --AdminControllerProfile
Method Summary
 boolean allowEdit ([array $data = array()], [string $key = 'id'])
 Boolean cancel ([string $key = null])
 boolean save ([string $key = null], [string $urlVar = null])
Variables
Methods
allowEdit (line 33)

Method to check if you can edit a record.

Extended classes can override this if necessary.

  • since: 1.6
  • access: protected
boolean allowEdit ([array $data = array()], [string $key = 'id'])
  • array $data: An array of input data.
  • string $key: The name of the key for the primary key.

Redefinition of:
JControllerForm::allowEdit()
Method to check if you can add a new record.
cancel (line 72)

Method to cancel an edit.

  • return: True if access level checks pass, false otherwise.
  • since: 1.6
  • access: public
Boolean cancel ([string $key = null])
  • string $key: The name of the primary key of the URL variable.

Redefinition of:
JControllerForm::cancel()
Method to cancel an edit.
save (line 48)

Overrides parent save method to check the submitted passwords match.

  • return: True if successful, false otherwise.
  • since: 3.2
  • access: public
boolean save ([string $key = null], [string $urlVar = null])
  • string $key: The name of the primary key of the URL variable.
  • string $urlVar: The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).

Redefinition of:
JControllerForm::save()
Method to save a record.

Inherited Methods

Inherited From JControllerForm

 JControllerForm::__construct()
 JControllerForm::add()
 JControllerForm::allowAdd()
 JControllerForm::allowEdit()
 JControllerForm::allowSave()
 JControllerForm::batch()
 JControllerForm::cancel()
 JControllerForm::edit()
 JControllerForm::getModel()
 JControllerForm::getRedirectToItemAppend()
 JControllerForm::getRedirectToListAppend()
 JControllerForm::loadhistory()
 JControllerForm::postSaveHook()
 JControllerForm::save()

Inherited From JControllerLegacy

 JControllerLegacy::__construct()
 JControllerLegacy::addModelPath()
 JControllerLegacy::addPath()
 JControllerLegacy::addViewPath()
 JControllerLegacy::authorise()
 JControllerLegacy::checkEditId()
 JControllerLegacy::createFileName()
 JControllerLegacy::createModel()
 JControllerLegacy::createView()
 JControllerLegacy::display()
 JControllerLegacy::execute()
 JControllerLegacy::getInstance()
 JControllerLegacy::getModel()
 JControllerLegacy::getName()
 JControllerLegacy::getTask()
 JControllerLegacy::getTasks()
 JControllerLegacy::getView()
 JControllerLegacy::holdEditId()
 JControllerLegacy::redirect()
 JControllerLegacy::registerDefaultTask()
 JControllerLegacy::registerTask()
 JControllerLegacy::releaseEditId()
 JControllerLegacy::setMessage()
 JControllerLegacy::setPath()
 JControllerLegacy::setRedirect()
 JControllerLegacy::unregisterTask()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:11:15 +0100 by phpDocumentor 1.4.3