Esempio n. 1
0
 /**
  * Inits options
  */
 private function _initOptions()
 {
     Html::addCssClass($this->options, 'page-sidebar-menu');
     if ('hover' === Metronic::getComponent()->sidebarMenu) {
         Html::addCssClass($this->options, 'page-sidebar-menu-hover-submenu');
     }
     $this->options['data-slide-speed'] = 200;
     $this->options['data-auto-scroll'] = 'true';
     $this->options['data-keep-expanded'] = 'false';
     $this->options['data-height'] = 261;
 }
 /**
  * Handles style based files
  */
 private function _handleStyleBased()
 {
     $this->css = ArrayHelper::merge($this->styleBasedCss[Metronic::getComponent()->style], $this->css);
 }
 /**
  * Parses dynamic css
  */
 private function _handleDynamicCss()
 {
     array_walk($this->css, array(Metronic::getComponent(), 'parseAssetsParams'));
 }