Class Identifier

A helper that allows the creation of unique strings, for use when creating hashes, identifiers.

Namespace: Concrete\Core\Utility\Service
Package: Helpers\Validation
Copyright: Copyright (c) 2003-2008 Concrete5. (
License: MIT License
Author: Andrew Embler
Located at src/Utility/Service/Identifier.php

Methods summary

# generateFromBase( $string, $table, $key )

Like generate() below, but simply appends an ever increasing number to what you provide until it comes back as not found

public string
# generate( string $table, string $key, integer $length = 12, boolean $lowercase = false )

Generates a unique identifier for an item in a database table. Used, among other places, in generating User hashes for email validation

# getString( $length = 12 )
# deleteKey( $table, $keyCol, $uHash )