Actions

API17

Difference between revisions of "JUserHelper"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
 
(3 intermediate revisions by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JUserHelper::getProfile/11.1|getProfile]]
+
|[[API17:JUserHelper::getProfile|getProfile]]
 
|Gets the user profile information.  
 
|Gets the user profile information.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::activateUser/11.1|activateUser]]
+
|[[API17:JUserHelper::activateUser|activateUser]]
 
|Method to activate a user.  
 
|Method to activate a user.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::addUserToGroup/11.1|addUserToGroup]]
+
|[[API17:JUserHelper::addUserToGroup|addUserToGroup]]
 
|Method to add a user to a group.  
 
|Method to add a user to a group.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::genRandomPassword/11.1|genRandomPassword]]
+
|[[API17:JUserHelper::genRandomPassword|genRandomPassword]]
 
|Generate a random password.  
 
|Generate a random password.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::getCryptedPassword/11.1|getCryptedPassword]]
+
|[[API17:JUserHelper::getCryptedPassword|getCryptedPassword]]
 
|Formats a password using the current encryption.  
 
|Formats a password using the current encryption.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::getSalt/11.1|getSalt]]
+
|[[API17:JUserHelper::getSalt|getSalt]]
 
|Returns a salt for the appropriate kind of password encryption.  
 
|Returns a salt for the appropriate kind of password encryption.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::getUserGroups/11.1|getUserGroups]]
+
|[[API17:JUserHelper::getUserGroups|getUserGroups]]
 
|Method to get a list of groups a user is in.  
 
|Method to get a list of groups a user is in.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::getUserId/11.1|getUserId]]
+
|[[API17:JUserHelper::getUserId|getUserId]]
 
|Returns userid if a user exists.  
 
|Returns userid if a user exists.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::removeUserFromGroup/11.1|removeUserFromGroup]]
+
|[[API17:JUserHelper::removeUserFromGroup|removeUserFromGroup]]
 
|Method to remove a user from a group.  
 
|Method to remove a user from a group.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JUserHelper::setUserGroups/11.1|setUserGroups]]
+
|[[API17:JUserHelper::setUserGroups|setUserGroups]]
 
|Method to set the groups for a user.  
 
|Method to set the groups for a user.  
 
|-
 
|-
Line 59: Line 59:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JUserHelper source code''' on [[jplatform:user/helper.php|BitBucket]]
 
* {{JVer|11.1}} '''JUserHelper source code''' on [[jplatform:user/helper.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage User/11.1|User]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage User|User]]
* [[JUserHelper|Other versions of JUserHelper]]
+
* [[API17:JUserHelper|Other versions of JUserHelper]]
 
{{SeeAlso:JUserHelper}}
 
{{SeeAlso:JUserHelper}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
Line 76: Line 76:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JUserHelper]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:49, 11 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 JUserHelper

Description

Description:JUserHelper [Edit Descripton]

Methods

Visibility Method name Description
public getProfile Gets the user profile information.
public static activateUser Method to activate a user.
public static addUserToGroup Method to add a user to a group.
public static genRandomPassword Generate a random password.
public static getCryptedPassword Formats a password using the current encryption.
public static getSalt Returns a salt for the appropriate kind of password encryption.
public static getUserGroups Method to get a list of groups a user is in.
public static getUserId Returns userid if a user exists.
public static removeUserFromGroup Method to remove a user from a group.
public static setUserGroups Method to set the groups for a user.
  • Defined in libraries/joomla/user/helper.php

Importing

jimport( 'joomla.user.helper' );

See also

  • Joomla 11.1 JUserHelper source code on BitBucket
  • Joomla 11.1 Subpackage User
  • Other versions of JUserHelper

SeeAlso:JUserHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />