options = array(); $pathway =& parent::getPathway('site', $options); return $pathway; } /** * Return a reference to the JRouter object. * * @access public * @return JRouter. * @since 1.5 */ function &getRouter() { $config =& JFactory::getConfig(); $options['mode'] = $config->getValue('config.sef'); $router =& parent::getRouter('site', $options); return $router; } }