コード例 #1
0
ファイル: Params.php プロジェクト: bbeckman/NDL-VuFind2
 /**
  * Return an array structure containing information about all current filters.
  *
  * @param bool $excludeCheckboxFilters Should we exclude checkbox filters from
  * the list (to be used as a complement to getCheckboxFacets()).
  *
  * @return array                       Field, values and translation status
  */
 public function getFilterList($excludeCheckboxFilters = false)
 {
     $filters = parent::getFilterList($excludeCheckboxFilters);
     $label = $this->getFacetLabel('SEARCHMODE');
     if (isset($filters[$label])) {
         foreach (array_keys($filters[$label]) as $i) {
             $filters[$label][$i]['suppressDisplay'] = true;
         }
     }
     return $filters;
 }