API17

Difference between revisions of "JUserHelper::genRandomPassword"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Generate a random password.  
 
Generate a random password.  
  
{{Description:JUserHelper::genRandomPassword}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JUserHelper::genRandomPassword|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
public static function genRandomPassword ($length=8)
 
public static function genRandomPassword ($length=8)
Line 28: Line 26:
 
* '''Since''' {{JVer|11.1 }}
 
* '''Since''' {{JVer|11.1 }}
 
* '''Referenced by'''
 
* '''Referenced by'''
** [[JUser::bind/11.1|JUser::bind]]
+
** [[API17:JUser::bind|JUser::bind]]
** [[JPath::isOwner/11.1|JPath::isOwner]]
+
** [[API17:JPath::isOwner|JPath::isOwner]]
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JUserHelper::genRandomPassword source code''' on [[jplatform:user/helper.php#cl-463|BitBucket]]
 
* {{JVer|11.1}} '''JUserHelper::genRandomPassword source code''' on [[jplatform:user/helper.php#cl-463|BitBucket]]
* {{JVer|11.1}} Class [[JUserHelper/11.1|JUserHelper]]
+
* {{JVer|11.1}} Class [[API17:JUserHelper|JUserHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_User/11.1|User]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_User|User]]
* [[JUserHelper::genRandomPassword|Other versions of JUserHelper::genRandomPassword]]
+
* [[API17:JUserHelper::genRandomPassword|Other versions of JUserHelper::genRandomPassword]]
{{SeeAlso:JUserHelper::genRandomPassword}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JUserHelper::genRandomPassword|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===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=*
Line 50: Line 46:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JUserHelper]][[Category:JUserHelper::genRandomPassword]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:55, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JUserHelper::genRandomPassword[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]