Documentation

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
author

Michael Slusarz slusarz@horde.org

category

Horde

license

http://www.horde.org/licenses/bsd BSD

Table of Contents

$_id  : string
Generated ID.
__construct()  : mixed
New random ID.
__toString()  : string
Cooerce to string.
generate()  : mixed
Generate a random ID.

Properties

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
Return values
mixed

Search results