JUserHelper: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JUserHelper}}
===Defined in==... |
No edit summary |
||
| Line 27: | Line 27: | ||
|Generate a random password | |Generate a random password | ||
|} | |} | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.user.helper' );</source> | <source lang="php">jimport( 'joomla.user.helper' );</source> | ||
Revision as of 17:27, 25 March 2010
[Edit Descripton] Template:Description:JUserHelper
Defined in
libraries/joomla/user/helper.php
Methods
| Method name | Description |
|---|---|
| activateUser | Method to activate a user |
| getUserId | Returns userid if a user exists |
| getCryptedPassword | Formats a password using the current encryption. |
| getSalt | Returns a salt for the appropriate kind of password encryption. Optionally takes a seed and a plaintext password, to extract the seed of an existing password, or for encryption types that use the plaintext in the generation of the salt. |
| genRandomPassword | Generate a random password |
Importing
jimport( 'joomla.user.helper' );
[Edit See Also] Template:SeeAlso:JUserHelper
Examples
<CodeExamplesForm />