HtmlIdGenerator
in package
Table of Contents
- WHITELIST_CHARS = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
- generateByString() : string
- Convert a category into a html-friendly key
Constants
WHITELIST_CHARS
public
mixed
WHITELIST_CHARS
= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
Methods
generateByString()
Convert a category into a html-friendly key
public
static generateByString(string $string) : string
Parameters
- $string : string