| 1 | <?php |
||
| 10 | trait Platform { |
||
| 11 | /** |
||
| 12 | * Request to administration section |
||
| 13 | * |
||
| 14 | * @var bool |
||
| 15 | */ |
||
| 16 | public $admin; |
||
| 17 | /** |
||
| 18 | * Request to api section |
||
| 19 | * |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | public $api; |
||
| 23 | /** |
||
| 24 | * Current module, `System` by default |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $current_module; |
||
| 29 | /** |
||
| 30 | * Home page |
||
| 31 | * |
||
| 32 | * @var bool |
||
| 33 | */ |
||
| 34 | public $home_page; |
||
| 35 | function init_platform () { |
||
| 41 | } |
||
| 42 |