Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | final protected function bootstrapInputMask($selector, array $arguments) { |
||
34 | |||
35 | // Initialize the template. |
||
36 | $template = "$('%selector%').inputmask(%arguments%);"; |
||
37 | |||
38 | // Return the HTML. |
||
39 | return StringUtility::replace($template, ["%selector%", "%arguments%"], [$selector, json_encode($arguments)]); |
||
40 | } |
||
41 | |||
43 |