| 1 | <?php |
||
| 14 | trait site_info { |
||
| 15 | protected static $site_info_options_keys = [ |
||
| 16 | 'site_name', |
||
| 17 | 'url', |
||
| 18 | 'cookie_domain', |
||
| 19 | 'cookie_prefix', |
||
| 20 | 'timezone', |
||
| 21 | 'admin_email' |
||
| 22 | ]; |
||
| 23 | /** |
||
| 24 | * Get site info settings |
||
| 25 | */ |
||
| 26 | public static function admin_site_info_get_settings () { |
||
| 32 | /** |
||
| 33 | * Apply site info settings |
||
| 34 | * |
||
| 35 | * @param \cs\Request $Request |
||
| 36 | * |
||
| 37 | * @throws \cs\ExitException |
||
| 38 | */ |
||
| 39 | public static function admin_site_info_apply_settings ($Request) { |
||
| 42 | /** |
||
| 43 | * Save site info settings |
||
| 44 | * |
||
| 45 | * @param \cs\Request $Request |
||
| 46 | * |
||
| 47 | * @throws \cs\ExitException |
||
| 48 | */ |
||
| 49 | public static function admin_site_info_save_settings ($Request) { |
||
| 52 | /** |
||
| 53 | * Cancel site info settings |
||
| 54 | * |
||
| 55 | * @throws \cs\ExitException |
||
| 56 | */ |
||
| 57 | public static function admin_site_info_cancel_settings () { |
||
| 60 | } |
||
| 61 |
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.