protected function getRootType()
 {
     if ($this->root_type) {
         return $this->root_type;
     } else {
         return parent::getRootType();
     }
 }
Пример #2
0
 /**
  * Tries to turn a string (such as a magic data key) into  human text
  * @param $text
  * @returns string
  */
 public static function humanText($text)
 {
     return I2CE_SwissFactory::humanText($text);
 }
 public function displayValues($contentNode, $path, $action, $transient_options = array())
 {
     $this->template->setAttribute("class", "active", "menuConfigure", "a[@href='configure']");
     $this->template->appendFileById("menu_configure.html", "ul", "menuConfigure");
     $this->template->setAttribute("class", "active", "menuConfigureModules", "a[@href='" . $this->page->module() . '/' . $this->page->page() . "']");
     return parent::displayValues($contentNode, $path, $action, $transient_options);
 }