API17:JUserHelper::genRandomPassword
From Joomla! Documentation
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.
JUserHelper::genRandomPassword
Description
Generate a random password.
Description:JUserHelper::genRandomPassword [Edit Descripton]
Since
Synopsis
public static JUserHelper::genRandomPassword ($length=8)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $length | int | 8 | Length of the password to generate |
Returns
string Random Password
Defined in
libraries/joomla/user/helper.php
Referenced by
See also
SeeAlso:JUserHelper::genRandomPassword
Examples
<CodeExamplesForm />
