1 | <?php |
||
19 | class IndexLayoutSwitcher extends Widget |
||
20 | { |
||
21 | /** |
||
22 | * @var IndexPageUiOptions |
||
23 | */ |
||
24 | public $uiModel; |
||
25 | |||
26 | public function run() |
||
46 | |||
47 | /** |
||
48 | * @param string $orientation |
||
49 | * @return string |
||
50 | */ |
||
51 | private function getClassActive(string $orientation): string |
||
55 | |||
56 | /** |
||
57 | * @param $orientation |
||
58 | * @return bool |
||
59 | */ |
||
60 | private function isOriented(string $orientation): bool |
||
64 | } |
||
65 |