public function getLabeledColumns()
    {
        if (!$this->model->hasMeta('labeledColumns')) {
            $orderedCols = $this->model->getItemsOrdered();

            $results = array();
            foreach ($orderedCols as $name) {
                if ($this->model->has($name, 'label')) {
                    $results[] = $name;
                }
            }

            $this->model->setMeta('labeledColumns', $results);
        }

        return $this->model->getMeta('labeledColumns');
    }
public function getLabeledColumns()
    {
        if (!$this->model->hasMeta('labeledColumns')) {
            $orderedCols = $this->model->getItemsOrdered();

            $results = array();
            foreach ($orderedCols as $name) {
                if ($this->model->has($name, 'label')) {
                    $results[] = $name;
                }
            }

            $this->model->setMeta('labeledColumns', $results);
        }

        return $this->model->getMeta('labeledColumns');
    }
public function getLabeledColumns ( ) { if ( ! $ this -> model -> hasMeta ( 'labeledColumns' ) ) { $ orderedCols = $ this -> model -> getItemsOrdered ( ) ; $ results = array ( ) ; foreach ( $ orderedCols as $ name ) { if ( $ this -> model -> has ( $ name , 'label' ) ) { $ results [ ] = $ name ; } } $ this -> model -> setMeta ( 'labeledColumns' , $ results ) ; } return $ this -> model -> getMeta ( 'labeledColumns' ) ; }
Returns an array of ordered columnnames that have a label

@return array Array of columnnames
Returns an array of ordered columnnames that have a label