public function getLabels() {
        $labels = array();
        foreach ($this->cols as $col) {
            $labels[] = $col->getLabel();
        }
        return $labels;
    }
public function getLabels() {
        $labels = array();
        foreach ($this->cols as $col) {
            $labels[] = $col->getLabel();
        }
        return $labels;
    }
public function getLabels ( ) { $ labels = array ( ) ; foreach ( $ this -> cols as $ col ) { $ labels [ ] = $ col -> getLabel ( ) ; } return $ labels ; }
Returns all the column labels
@return array
Returns all the column labels