/** * * init globals */ public static function init() { //set global vars self::$urlBase = JURI::root(); self::$urlAssets = JURI::root() . "media/" . self::COMPONENT_NAME . "/assets/"; self::$urlAssetsArrows = self::$urlAssets . "arrows/"; self::$urlAssetsBullets = self::$urlAssets . "bullets/"; self::$urlCache = self::$urlBase . "cache/" . self::COMPONENT_NAME . "/"; self::$pathBase = JPATH_SITE . "/"; self::$pathComponent = JPATH_ADMINISTRATOR . "/components/" . self::COMPONENT_NAME . "/"; self::$pathAssets = GlobalsUniteHCar::$pathComponent . "assets/"; self::$pathAssetsArrows = GlobalsUniteHCar::$pathAssets . "arrows/"; self::$pathAssetsBullets = GlobalsUniteHCar::$pathAssets . "bullets/"; self::$pathViews = GlobalsUniteHCar::$pathComponent . "views/"; self::$urlItemPlugin = self::$urlAssets . "fred-carousel/"; }