1 | <?php |
||
35 | class SkinChameleon extends SkinTemplate { |
||
36 | |||
37 | public $skinname = 'chameleon'; |
||
38 | public $stylename = 'chameleon'; |
||
39 | public $template = '\Skins\Chameleon\ChameleonTemplate'; |
||
40 | public $useHeadElement = true; |
||
41 | |||
42 | private $componentFactory; |
||
43 | private $output; |
||
44 | |||
45 | /** |
||
46 | * @param $out OutputPage object |
||
47 | */ |
||
48 | function setupSkinUserCss( OutputPage $out ) { |
||
49 | |||
50 | $this->output = $out; |
||
51 | |||
52 | // load Bootstrap styles |
||
53 | $out->addModuleStyles( |
||
54 | array( |
||
55 | 'ext.bootstrap.styles' |
||
56 | ) |
||
57 | ); |
||
58 | } |
||
59 | |||
60 | /** |
||
61 | * @param \OutputPage $out |
||
62 | */ |
||
63 | function initPage( OutputPage $out ) { |
||
70 | |||
71 | /** |
||
72 | * @return ComponentFactory |
||
73 | */ |
||
74 | 1 | public function getComponentFactory() { |
|
82 | |||
83 | public function addSkinModulesToOutput() { |
||
90 | |||
91 | /** |
||
92 | * @param Title $title |
||
93 | * @return string |
||
94 | */ |
||
95 | public function getPageClasses( $title ) { |
||
99 | } |
||
100 |