A trait that provides id generating methods to be used in various widget classes.
$_idPrefix
protected string|null
$_idSuffixes
protected array
_domId( string $value )
Generate an ID suitable for use in an ID attribute.
$value
_id( string $name , string $val )
Generate an ID attribute for an element.
Ensures that id's for a given set of fields are unique.
$name
$val
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/class-Cake.View.Helper.IdGeneratorTrait.html