API17

JUserHelper::genRandomPassword: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Generate a random password.  
Generate a random password.  


{{subst:Description:JUserHelper::genRandomPassword}}
 


<source lang="php">
<source lang="php">
Line 33: Line 33:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[API17:JUserHelper::genRandomPassword|Other versions of JUserHelper::genRandomPassword]]
* [[API17:JUserHelper::genRandomPassword|Other versions of JUserHelper::genRandomPassword]]
{{subst:SeeAlso:JUserHelper::genRandomPassword}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JUserHelper::genRandomPassword
category=JUserHelper::genRandomPassword
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 03:55, 25 March 2017

Joomla 11.1 JUserHelper::genRandomPassword

Description

Generate a random password.


public static function genRandomPassword ($length=8)
Parameter Type Default Description
$length int 8 Length of the password to generate
  • Returns string Random Password
  • Defined on line 471 of libraries/joomla/user/helper.php
  • Since Joomla 11.1
  • Referenced by

See also


User contributed notes

Code Examples