/** * Download templates information data from JoomlaShine server * * @return object */ public static function getVersionData() { if (empty(self::$_versionData)) { try { $response = JSNTplHttpRequest::get(JSN_TPLFRAMEWORK_VERSIONING_URL . '?category=cat_template'); } catch (Exception $e) { throw $e; } self::$_versionData = json_decode($response['body'], true); } // Return result return self::$_versionData; }