示例#1
0
 /**
  * Return an array with all the labels of the columns
  * 
  * @return array 
  */
 public function getLabels()
 {
     $columns = $this->columnModel->getColumns();
     $labels = array();
     foreach ($columns as $column) {
         $labels[$column->getDataIndex()] = $column->getLabel();
     }
     return $labels;
 }