예제 #1
0
 protected function addColumn(IColumn $column, $column_name = NULL, $header = NULL)
 {
     if (!is_null($header)) {
         $column->setHeader($header);
     }
     if (!is_null($column_name)) {
         $column->setId($column_name);
     }
     $this->option[self::COLUMNS][] = $column;
     return $column;
 }
예제 #2
0
 protected function addColumn(IColumn $column, $column_name = NULL, $header = NULL)
 {
     if (!is_null($header)) {
         $column->setHeader($header);
     }
     if (!is_null($column_name)) {
         $column->setId($column_name);
     }
     return parent::addColumn($column);
 }