protected function _generateBlock($node, $parent)
    {
        if ($node instanceof Mage_Core_Model_Layout_Element) {
            if (!$this->checkConditionals($node)) {
                return $this;
            }
        }

        return parent::_generateBlock($node, $parent);
    }
protected function _generateBlock($node, $parent)
    {
        if ($node instanceof Mage_Core_Model_Layout_Element) {
            if (!$this->checkConditionals($node)) {
                return $this;
            }
        }

        return parent::_generateBlock($node, $parent);
    }
protected function _generateBlock ( $ node , $ parent ) { if ( $ node instanceof Mage_Core_Model_Layout_Element ) { if ( ! $ this -> checkConditionals ( $ node ) ) { return $ this ; } } return parent :: _generateBlock ( $ node , $ parent ) ; }
Add block object to layout based on xml node data

@param Varien_Simplexml_Element $node
@param Varien_Simplexml_Element $parent

@return Aoe_Layout_Model_Layout
Add block object to layout based on xml node data