Skip to content
PHP Ecosystem
Explore

Naming

API reference › HTML Helper › Naming

final classUIAwesome\Html\Helper\Naming
ExtendsUIAwesome\Html\Helper\Base\BaseNaming
Sourcesrc/Naming.php

Provides the concrete entry point for form naming and identifier helpers.

MethodDescriptionDefined by
convertToPattern() staticConverts a regular expression literal to its pattern substring.UIAwesome\Html\Helper\Base\BaseNaming
generateArrayableName() staticEnsure a form property name is arrayable (ends with []).UIAwesome\Html\Helper\Base\BaseNaming
generateId() staticGenerate a unique identifier suitable for use as an HTML id attribute.UIAwesome\Html\Helper\Base\BaseNaming
generateInputId() staticGenerate an input element id from a form model and property name.UIAwesome\Html\Helper\Base\BaseNaming
generateInputName() staticGenerate a fully-qualified input name for form fields.UIAwesome\Html\Helper\Base\BaseNaming
getShortNameClass() staticReturn the short class name, optionally formatted for ::class usage.UIAwesome\Html\Helper\Base\BaseNaming