check() public method

public check ( N98\Magento\Command\System\Check\ResultCollection $results, Mage_Core_Model_Stor\Mage_Core_Model_Store $store ) : void
$results N98\Magento\Command\System\Check\ResultCollection
$store Mage_Core_Model_Stor\Mage_Core_Model_Store
return void
示例#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);
     }
 }