API15:JUser
From Joomla! Documentation
(Difference between revisions)
(New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JUser}}
===Defined in===
libraries...) |
|||
| Line 54: | Line 54: | ||
|Method to load a JUser object by user id number | |Method to load a JUser object by user id number | ||
|} | |} | ||
| + | |||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.user.user' );</source> | <source lang="php">jimport( 'joomla.user.user' );</source> | ||
Latest revision as of 12:32, 25 March 2010
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.
[Edit Descripton] Description:JUser
Contents |
[edit] Defined in
libraries/joomla/user/user.php
[edit] Methods
| Method name | Description |
|---|---|
| __construct | Constructor activating the default information of the language |
| getInstance | Returns a reference to the global User object, only creating it if it doesn't already exist. |
| getParam | Method to get a parameter value |
| setParam | Method to set a parameter |
| defParam | Method to set a default parameter if it does not exist |
| authorize | Method to check JUser object authorization against an access control object and optionally an access extension object |
| setLastVisit | Pass through method to the table for setting the last visit date |
| getParameters | Method to get the user parameters |
| setParameters | Method to get the user parameters |
| getTable | Method to get the user table object |
| bind | Method to bind an associative array of data to a user object |
| save | Method to save the JUser object to the database |
| delete | Method to delete the JUser object from the database |
| load | Method to load a JUser object by user id number |
[edit] Importing
jimport( 'joomla.user.user' );
[edit] Examples
<CodeExamplesForm />
