| 1 | <?php |
||
| 12 | class Token extends Hidden |
||
| 13 | { |
||
| 14 | |||
| 15 | private $sName; |
||
| 16 | |||
| 17 | public function __construct($sName) |
||
| 25 | |||
| 26 | public function render() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Check if the CSRF security token for forms is enabled. |
||
| 37 | * |
||
| 38 | * @return boolean Returns TRUE if the security token is enabled, FALSE otherwise. |
||
| 39 | */ |
||
| 40 | private function isEnabled() |
||
| 45 | |||
| 46 | } |
||
| 47 |