| 1 | <?php |
||
| 14 | trait security { |
||
| 15 | protected static $security_options_keys = [ |
||
| 16 | 'key_expire', |
||
| 17 | 'gravatar_support' |
||
| 18 | ]; |
||
| 19 | /** |
||
| 20 | * Get security settings |
||
| 21 | */ |
||
| 22 | public static function admin_security_get_settings () { |
||
| 28 | /** |
||
| 29 | * Apply security settings |
||
| 30 | * |
||
| 31 | * @param \cs\Request $Request |
||
| 32 | * |
||
| 33 | * @throws \cs\ExitException |
||
| 34 | */ |
||
| 35 | public static function admin_security_apply_settings ($Request) { |
||
| 38 | /** |
||
| 39 | * Save security settings |
||
| 40 | * |
||
| 41 | * @param \cs\Request $Request |
||
| 42 | * |
||
| 43 | * @throws \cs\ExitException |
||
| 44 | */ |
||
| 45 | public static function admin_security_save_settings ($Request) { |
||
| 48 | /** |
||
| 49 | * Cancel security settings |
||
| 50 | * |
||
| 51 | * @throws \cs\ExitException |
||
| 52 | */ |
||
| 53 | public static function admin_security_cancel_settings () { |
||
| 56 | } |
||
| 57 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.