Difference between revisions of "JUser"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/user/user.php | libraries/joomla/user/user.php | ||
+ | * see source code in [[jplatform:user/user.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage User/11.1|User]] | [[Subpackage User/11.1|User]] | ||
Line 78: | Line 79: | ||
<source lang="php">jimport( 'joomla.user.user' );</source> | <source lang="php">jimport( 'joomla.user.user' );</source> | ||
===See also=== | ===See also=== | ||
+ | * JUser source code in [[jplatform:user/user.php|BitBucket]] | ||
* [[JUser|Other versions of this class]] | * [[JUser|Other versions of this class]] | ||
{{SeeAlso:JUser}} | {{SeeAlso:JUser}} |
Revision as of 18:03, 23 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
[Edit Descripton] Template:Description:JUser
Defined in[edit]
libraries/joomla/user/user.php
- see source code in BitBucket
Subpackage[edit]
Extends[edit]
Extended by[edit]
Methods[edit]
Method name | Description |
---|---|
__construct | Constructor activating the default information of the language. |
authorise | Method to check object authorisation against an access control object and optionally an access extension object. |
authorisedLevels | |
authorize | |
bind | Method to bind an associative array of data to a user object. |
defParam | Method to set a default parameter if it does not exist. |
delete | Method to delete the object from the database. |
getAuthorisedCategories | Method to return a list of all categories that a user has permission for a given action. |
getAuthorisedGroups | Gets an array of the authorised user groups. |
getAuthorisedViewLevels | Gets an array of the authorised access levels for the user. |
getParam | Method to get a parameter value. |
getParameters | Method to get the user parameters. |
load | Method to load a object by user id number. |
save | Method to save the object to the database. |
setLastVisit | Pass through method to the table for setting the last visit date. |
setParam | Method to set a parameter. |
setParameters | Method to get the user parameters. |
getInstance | Returns the global User object, only creating it if it doesn't already exist. |
getTable | Method to get the user table object. |
Importing[edit]
jimport( 'joomla.user.user' );
See also[edit]
- JUser source code in BitBucket
- Other versions of this class
Template:SeeAlso:JUser [Edit See Also]
Examples[edit]
<CodeExamplesForm />