Randomid
in package
Class for generating a 23-character random ID string. This string uses all characters in the class [-_0-9a-zA-Z].
$id = (string)new Horde_Support_Randomid();
Copyright 2010-2017 Horde LLC (http://www.horde.org/)
Tags
Table of Contents
- $_id : string
- Generated ID.
- __construct() : mixed
- New random ID.
- __toString() : string
- Cooerce to string.
- generate() : mixed
- Generate a random ID.
Properties
$_id
Generated ID.
private
string
$_id
Methods
__construct()
New random ID.
public
__construct() : mixed
Return values
mixed —__toString()
Cooerce to string.
public
__toString() : string
Return values
string —The random ID.
generate()
Generate a random ID.
public
generate() : mixed