public function getBlocksAsArray()
    {
        $helper = Mage::helper('sheep_debug');
        $data = array();
        foreach ($this->getBlocks() as $block) {
            $data[] = array(
                'name'     => $block->getName(),
                'class'    => $block->getClass(),
                'template' => $block->getTemplateFile(),
                'time (ms)' => $block->getRenderedDuration() ? $helper->formatNumber($block->getRenderedDuration(), 0) : '',
                'count'    => $block->getRenderedCount()
            );
        }

        return $data;
    }
public function getBlocksAsArray()
    {
        $helper = Mage::helper('sheep_debug');
        $data = array();
        foreach ($this->getBlocks() as $block) {
            $data[] = array(
                'name'     => $block->getName(),
                'class'    => $block->getClass(),
                'template' => $block->getTemplateFile(),
                'time (ms)' => $block->getRenderedDuration() ? $helper->formatNumber($block->getRenderedDuration(), 0) : '',
                'count'    => $block->getRenderedCount()
            );
        }

        return $data;
    }
public function getBlocksAsArray ( ) { $ helper = Mage :: helper ( 'sheep_debug' ) ; $ data = array ( ) ; foreach ( $ this -> getBlocks ( ) as $ block ) { $ data [ ] = array ( 'name' => $ block -> getName ( ) , 'class' => $ block -> getClass ( ) , 'template' => $ block -> getTemplateFile ( ) , 'time (ms)' => $ block -> getRenderedDuration ( ) ? $ helper -> formatNumber ( $ block -> getRenderedDuration ( ) , 0 ) : '' , 'count' => $ block -> getRenderedCount ( ) ) ; } return $ data ; }
Returns information about instantiated/rendered blocks

@return array
Returns information about instantiated / rendered blocks