function testGetExtensionGroupComponentFromId()
 {
     $aExpected = array('extensionName', 'groupName', 'componentName');
     $ret = OX_Extension_DeliveryLog_Setup::getExtensionGroupComponentFromId('extensionName:groupName:componentName');
     $this->assertEqual($aExpected, $ret);
 }
 /**
  * Calls onInstall method for the required component and group.
  *
  * If for any reason the installation failed perform uninstall of already installed
  * components.
  *
  * @return boolean True on success, else false.
  */
 function execute()
 {
     $oSetup = new OX_Extension_DeliveryLog_Setup();
     return $oSetup->installComponents(self::DELIVERY_LOG_EXTENSION, array(self::DELIVERY_LOG_GROUP));
 }
 /**
  * This method takes the array of registered hooks from the plugin/component
  * group's XML files, merge the delivery plugins files into one file
  * and save such cache in var folder.
  *
  * @return boolean True if writing the config file change was sucessful false otherwise
  */
 function _generateDeliveryHooksCacheFile($aHooks = array())
 {
     $deliveryLogSetup = new OX_Extension_DeliveryLog_Setup();
     return $deliveryLogSetup->regenerateDeliveryPluginsCodeCache($aHooks);
 }