protected function processRowsHeads() {
        $cols = $this->getCols();
        $this->data = $this->rows;
        if (!empty($cols)) {
            array_unshift($this->data, $cols);
        }
        return $this->data;
    }
protected function processRowsHeads() {
        $cols = $this->getCols();
        $this->data = $this->rows;
        if (!empty($cols)) {
            array_unshift($this->data, $cols);
        }
        return $this->data;
    }
protected function processRowsHeads ( ) { $ cols = $ this -> getCols ( ) ; $ this -> data = $ this -> rows ; if ( ! empty ( $ cols ) ) { array_unshift ( $ this -> data , $ cols ) ; } return $ this -> data ; }
processing rows and there heads
@return type
processing rows and there heads