HtmlHelper
class HtmlHelper
Methods that may be useful for processing HTML tasks
Methods
static string
nameToId(string $string)
Converts a HTML array string to an identifier string.
static array
nameToArray(string $string)
Converts a HTML named array string to a PHP array. Empty values are removed.
Details
at line 20
static string
nameToId(string $string)
Converts a HTML array string to an identifier string.
HTML: user[location][city] Result: user-location-city
at line 32
static array
nameToArray(string $string)
Converts a HTML named array string to a PHP array. Empty values are removed.
HTML: user[location][city] PHP: ['user', 'location', 'city']