Textpattern PHP Cross Reference Content Management Systems

Summary: /textpattern/vendors/Textpattern/Password/Generator.php - 91 lines - 2027 bytes - Source - Print

Description: Generates a password.

Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Generator:: (2 methods):
getCharacterTable()
generate()

Class: Generator


getCharacterTable()  line: 47
Gets the character table.

return: array
generate($length line: 62
Generates a random password.

<code>
echo Txp::get('\Textpattern\Password\Generator')->generate(16);
</code>

return: string The password
param: int $length The length of the generated password

title

Body