function __construct($config, $sitemap) { $this->view = 'html'; parent::__construct($config, $sitemap); $this->_parent_children = array(); $this->_last_child = array(); $this->live_site = substr_replace(JURI::root(), "", -1, 1); $user = JFactory::getUser(); }
function __construct($config, $sitemap) { parent::__construct($config, $sitemap); $this->uids = array(); $this->defaultLanguage = strtolower(JFactory::getLanguage()->getTag()); if (preg_match('/^([a-z]+)-.*/', $this->defaultLanguage, $matches) && !in_array($this->defaultLanguage, array(' zh-cn', ' zh-tw'))) { $this->defaultLanguage = $matches[1]; } $this->showTitle = JRequest::getBool('filter_showtitle', 0); }
function __construct(&$config, &$sitemap) { $this->_list = array(); $this->view = 'navigator'; parent::__construct($config, $sitemap); }
function __construct($config, $sitemap) { parent::__construct($config, $sitemap); $this->uids = array(); }