public static function getParams() { if (!is_object(self::$params)) { jimport('joomla.application.component.helper'); self::$params = JComponentHelper::getParams(self::getApplication()->get('scope')); } return self::$params; }