예제 #1
0
파일: Column.php 프로젝트: ceko/concrete5-1
 public function __construct(Result $result, \Concrete\Core\Search\Column\Column $column = null)
 {
     if ($column instanceof DatabaseItemListColumn) {
         $this->isColumnSortable = $column->isColumnSortable();
         $this->key = $column->getColumnKey();
         $this->title = $column->getColumnName();
         $this->className = $column->getSortClassName($result);
         $this->sortURL = $column->getSortURL($result);
     }
 }