1 | <?php |
||
25 | class AppHelper extends Helper |
||
26 | { |
||
27 | use IdGeneratorTrait; |
||
28 | |||
29 | protected static $_tagId = 0; |
||
30 | |||
31 | /** |
||
32 | * tag id |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public static function tagId() |
||
40 | |||
41 | /** |
||
42 | * Generate an ID suitable for use in an ID attribute. |
||
43 | * |
||
44 | * @param string $value The value to convert into an ID. |
||
45 | * @return string The generated id. |
||
46 | */ |
||
47 | public function domId(string $value) |
||
51 | } |
||
52 |