public function addBlock(Mage_Core_Block_Abstract $block)
    {
        $blockInfo = Mage::getModel('sheep_debug/block');
        $blockInfo->init($block);
        $key = $blockInfo->getName();

        return $this->blocks[$key] = $blockInfo;
    }
public function addBlock(Mage_Core_Block_Abstract $block)
    {
        $blockInfo = Mage::getModel('sheep_debug/block');
        $blockInfo->init($block);
        $key = $blockInfo->getName();

        return $this->blocks[$key] = $blockInfo;
    }
public function addBlock ( Mage_Core_Block_Abstract $ block ) { $ blockInfo = Mage :: getModel ( 'sheep_debug/block' ) ; $ blockInfo -> init ( $ block ) ; $ key = $ blockInfo -> getName ( ) ; return $ this -> blocks [ $ key ] = $ blockInfo ; }
Adds block

@param Mage_Core_Block_Abstract $block
@return Sheep_Debug_Model_Block
Adds block