original_string: 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');
      }
code: 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');
      }
code_tokens: 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' ) ; }
docstring: Returns an array of ordered columnnames that have a label
  
  @return array Array of columnnames
docstring_tokens: Returns an array of ordered columnnames that have a label