JUser/1.5
From Joomla! Documentation
< JUser(Difference between revisions)
(Layout updates) |
m (→See also: fixing link to API) |
||
| Line 75: | Line 75: | ||
<source lang="php">jimport( 'joomla.user.user' );</source> | <source lang="php">jimport( 'joomla.user.user' );</source> | ||
===See also=== | ===See also=== | ||
| − | * {{JVer|1.5}} '''JUser''' on [http://api.joomla.org/Joomla-Framework/User/JUser.html api.joomla.org] | + | * {{JVer|1.5}} '''JUser''' on [http://api.joomla.org/1.5/Joomla-Framework/User/JUser.html api.joomla.org] |
* {{JVer|1.5}} '''JUser source code''' on [[jframework15:user/user.php|JoomlaCode]] | * {{JVer|1.5}} '''JUser source code''' on [[jframework15:user/user.php|JoomlaCode]] | ||
* {{JVer|1.5}} Subpackage [[Subpackage User/1.5|User]] | * {{JVer|1.5}} Subpackage [[Subpackage User/1.5|User]] | ||
Latest revision as of 16:06, 13 February 2013
[edit]
JUser
[edit] Description
Description:JUser [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor activating the default information of the language. |
| public | authorize | Method to check object authorization against an access control object and optionally an access extension object. |
| 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 | getInstance | Returns a reference to the global User object, only creating it if it doesn't already exist. |
| public | getParam | Method to get a parameter value. |
| public | getParameters | Method to get the user parameters. |
| public | getTable | Method to get the user table object. |
| 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. |
- Defined in libraries/joomla/user/user.php
- Extends JObject
[edit] Importing
jimport( 'joomla.user.user' );
[edit] See also
-
JUser on api.joomla.org
-
JUser source code on JoomlaCode
-
Subpackage User
- Other versions of JUser
[edit] User contributed notes
<CodeExamplesForm />