Actions

API17

Difference between revisions of "JUser"

From Joomla! Documentation

m (User contributed notes: bad link repair)
m (JoomlaWikiBot moved page JUser/11.1 to API17:JUser without leaving a redirect: Robot: Moved page)

Revision as of 21:47, 10 May 2013

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JUser

Description

Description:JUser [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor activating the default information of the language.
public authorise Method to check object authorisation against an access control object and optionally an access extension object.
public authorisedLevels
public authorize
public bind Method to bind an associative array of data to a user object.
public defParam Method to set a default parameter if it does not exist.
public delete Method to delete the object from the database.
public getAuthorisedCategories Method to return a list of all categories that a user has permission for a given action.
public getAuthorisedGroups Gets an array of the authorised user groups.
public getAuthorisedViewLevels Gets an array of the authorised access levels for the user.
public getParam Method to get a parameter value.
public getParameters Method to get the user parameters.
public load Method to load a object by user id number.
public save Method to save the object to the database.
public setLastVisit Pass through method to the table for setting the last visit date.
public setParam Method to set a parameter.
public setParameters Method to get the user parameters.
public static getInstance Returns the global User object, only creating it if it doesn't already exist.
public static getTable Method to get the user table object.
  • Defined in libraries/joomla/user/user.php
  • Extends JObject

Importing

jimport( 'joomla.user.user' );

See also

SeeAlso:JUser [Edit See Also]

User contributed notes

<CodeExamplesForm />