Пример #1
0
 /**
  * @param ResultCollection $results
  * @param string $checkGroupClass name
  * @param Check\StoreCheck $check
  */
 private function checkStores(ResultCollection $results, $checkGroupClass, Check\StoreCheck $check)
 {
     if (!($stores = \Mage::app()->getStores())) {
         $this->_markCheckWarning($results, 'stores', $checkGroupClass);
     }
     foreach ($stores as $store) {
         $check->check($results, $store);
     }
 }