Exemple #1
0
 private static function initializeGroupApi($package)
 {
     if (!empty(self::$installed[$package]->api->group)) {
         $tracker = self::$installed[$package]->api->group->tracker;
         $public_catroot = self::$installed[$package]->api->group->public_catroot;
         $private_catroot = self::$installed[$package]->api->group->private_catroot;
         $managementpage = self::$installed[$package]->api->group->managementpage;
         $homepage = self::$installed[$package]->api->group->homepage;
         TikiAddons_Api_Group::setTracker($package, $tracker);
         TikiAddons_Api_Group::setPublicCatroot($package, $public_catroot);
         TikiAddons_Api_Group::setPrivateCatroot($package, $private_catroot);
         TikiAddons_Api_Group::setManagementPage($package, $managementpage);
         TikiAddons_Api_Group::setHomePage($package, $homepage);
     }
 }