| 1 | <?php |
||
| 8 | class IndexHelper { |
||
| 9 | |||
| 10 | public static $invalidIndexCharacters = [' ', '"', '*', '/', '<', '|', ',', '>', '\\', '?', '\'']; |
||
| 11 | public static $scapedInvalidIndexCharacters = ['\s', '\"', '\*', '\/', '<', '\|', ',', '>', '\\\\', '\?', '\'']; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string $index |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public static function clearIndex(&$index) { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $index |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | public static function indexIsValid($index) { |
||
| 35 | } |
||
| 36 |