예제 #1
0
 /**
  * Execute some methods
  *
  * @param string $type Helper type
  *
  * @return void
  */
 public function runHelpers($type)
 {
     parent::runHelpers($type);
 }
예제 #2
0
파일: Cell.php 프로젝트: kewaunited/xcart
 /**
  * Execute some methods
  *
  * @param \XLite\Upgrade\Entry\AEntry $entry      Entry
  * @param string                      $type       Helper type
  * @param boolean                     $isTestMode Flag OPTIONAL
  *
  * @return void
  */
 public function runHelper($entry, $type, $isTestMode = false)
 {
     if (!$isTestMode) {
         // We run pre_upgrade helper only if module is not in the pre-upgrade warning modules list
         // (admin can switch off pre-upgrade hooks for upgraded modules in interface)
         // post_upgrade and post_rebuild hooks do not have any restrictions
         if (!('pre_upgrade' === $type && isset($this->preUpgradeWarningModules[$entry->getMarketplaceID()]))) {
             $entry->runHelpers($type);
         }
     }
 }