2017-11-09 7 views

答えて

0

"Mage_Core_Model_Layout"このクラスはクラスのインスタンスを作成します。

クラスMage_Core_Model_Layoutは{

public function generateBlocks($parent=null) 
{ 
    if (empty($parent)) { 
     $parent = $this->getNode(); 
    } 
    foreach ($parent as $node) { 
     $attributes = $node->attributes(); 
     if ((bool)$attributes->ignore) { 
      continue; 
     } 
     switch ($node->getName()) {    
      case 'block': 
       $this->_generateBlock($node, $parent); 
       $this->generateBlocks($node); 
       break; 

      case 'reference': 
       $this->generateBlocks($node); 
       break; 

      case 'action': 
       $this->_generateAction($node, $parent); 
       break; 
     } 
    } 
} 

}

Varien_Simplexml_Config延び
関連する問題