code/Debug/Controller/Front/Action.php
public function renderArray(array $data, $noDataLabel = 'No Data', $header = null)
    {
        /** @var Sheep_Debug_Block_View $block */
        $block = $this->getLayout()->createBlock('sheep_debug/view');
        $html = $block->renderArray($data, $noDataLabel, $header);

        $this->getResponse()->setHttpResponseCode(200)->setBody($html);
    }
public function renderArray(array $data, $noDataLabel = 'No Data', $header = null)
    {
        /** @var Sheep_Debug_Block_View $block */
        $block = $this->getLayout()->createBlock('sheep_debug/view');
        $html = $block->renderArray($data, $noDataLabel, $header);

        $this->getResponse()->setHttpResponseCode(200)->setBody($html);
    }
public function renderArray ( array $ data , $ noDataLabel = 'No Data' , $ header = null ) { /** @var Sheep_Debug_Block_View $block */ $ block = $ this -> getLayout ( ) -> createBlock ( 'sheep_debug/view' ) ; $ html = $ block -> renderArray ( $ data , $ noDataLabel , $ header ) ; $ this -> getResponse ( ) -> setHttpResponseCode ( 200 ) -> setBody ( $ html ) ; }
Renders specified array

@param array $data
@param string $noDataLabel   Label when array is empty.
@param null $header          An array with column label.
@return string
Renders specified array