예제 #1
0
파일: Row.class.php 프로젝트: evilgeny/bob
 /**
  *	Description...
  *
  *	@return array
  **/
 public function columns($type = NULL)
 {
     foreach ($this->_list->columns() as $col) {
         if (!isNull($type) && $col->placement != $type) {
             continue;
         }
         $this->_columns[$col->id()] = (object) array('data' => $col->show($this), 'class' => $col->className(), 'column' => $col, 'position' => $this->_pos);
     }
     return $this->_columns;
 }