private function renderRowArray($type = 'normal')
    {
        $data = $this->getTable()->getData();
        $headers = $this->getTable()->getHeaders();
        $render = array();

        foreach ($data as $rowData) {
            $this->setActualRow($rowData);
            $temp = array();
            foreach ($headers as $name => $options) {
                if ($type == 'assc') {
                    $temp[$name] =  $this->getTable()->getHeader($name)->getCell()->render('array');
                } else {
                    $temp[] =  $this->getTable()->getHeader($name)->getCell()->render('array');
                }
            }
            $render[] = $temp;
        }
        return $render;
    }
private function renderRowArray($type = 'normal')
    {
        $data = $this->getTable()->getData();
        $headers = $this->getTable()->getHeaders();
        $render = array();

        foreach ($data as $rowData) {
            $this->setActualRow($rowData);
            $temp = array();
            foreach ($headers as $name => $options) {
                if ($type == 'assc') {
                    $temp[$name] =  $this->getTable()->getHeader($name)->getCell()->render('array');
                } else {
                    $temp[] =  $this->getTable()->getHeader($name)->getCell()->render('array');
                }
            }
            $render[] = $temp;
        }
        return $render;
    }
private function renderRowArray ( $ type = 'normal' ) { $ data = $ this -> getTable ( ) -> getData ( ) ; $ headers = $ this -> getTable ( ) -> getHeaders ( ) ; $ render = array ( ) ; foreach ( $ data as $ rowData ) { $ this -> setActualRow ( $ rowData ) ; $ temp = array ( ) ; foreach ( $ headers as $ name => $ options ) { if ( $ type == 'assc' ) { $ temp [ $ name ] = $ this -> getTable ( ) -> getHeader ( $ name ) -> getCell ( ) -> render ( 'array' ) ; } else { $ temp [ ] = $ this -> getTable ( ) -> getHeader ( $ name ) -> getCell ( ) -> render ( 'array' ) ; } } $ render [ ] = $ temp ; } return $ render ; }
Rendering rows as array

@param string $type
@return array
Rendering rows as array