public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); $this->minCount = 0; $this->hideEmptyValues = false; $this->canBeHidden = false; }
public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); $this->hideEmptyValues = true; $this->alwaysHideEmptyValues = true; $this->forcedOpen = true; $this->sortOnRefresh = false; $this->sort = 'alpha'; $this->minCount = 0; $this->initDefaultValues(); }
public function __construct($options) { $header = isset($options['header']) ? $options['header'] : ''; parent::__construct(7, $header, 'trial_country'); $this->fieldName = isset($options['fieldName']) ? $options['fieldName'] : ''; $this->allValuesTranslation = isset($options['allValuesTranslation']) ? $options['allValuesTranslation'] : ''; $this->hideEmptyValues = false; $this->alwaysHideEmptyValues = false; $this->forcedOpen = true; $this->sortOnRefresh = false; $this->sort = 'alpha'; $this->minCount = 0; }
public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); $this->hideEmptyValues = true; $this->alwaysHideEmptyValues = true; $this->forcedOpen = true; $this->sortOnRefresh = false; $this->sort = 'count'; $this->minCount = 0; $this->defaultValues = $this->applicationIds(); foreach ( $this->defaultValues as $k => $v ) { $this->defaultValues[$k] = strval($v); } }
public function __construct($key, $field, $fieldsToShow, $precheckedValue = null) { parent::__construct(9, $key, $field); $this->hideEmptyValues = false; $this->alwaysHideEmptyValues = true; $this->forcedOpen = true; $this->sortOnRefresh = false; $this->sort = 'alpha'; $this->minCount = 0; $this->fieldsToShow = $fieldsToShow; if (count($fieldsToShow) == 1 && $precheckedValue == null) { $precheckedValue = $fieldsToShow[0]; } $this->precheckedValue = $precheckedValue; $this->allValuesTranslation = ezpI18n::tr('merck/oncology', 'ALL_VALUES'); }
/** * @param int $uxType * @param string $key * @param string $field */ public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); $this->canBeHidden = true; $this->hideEmptyValues = false; if ( self::isForcedLanguage() ) { $this->forcedValues = array( LocaleTool::languageISO639Code(LocaleTool::mainLanguage()) ); } $defaultValues = array( LocaleTool::languageISO639Code() ); foreach( LocaleTool::languageList() as $locale ) { $language = LocaleTool::languageISO639Code( $locale ); if( !isset($defaultValues[$language]) ) $defaultValues[] = $language; } $this->defaultValues = $defaultValues; $overrideLanguageFacetIsActive = SolrSafeOperatorHelper::featureIsActive('DefaultLanguageFacetValues'); if ($overrideLanguageFacetIsActive) { $forcedLanguageOverrides = SolrSafeOperatorHelper::feature('DefaultLanguageFacetValues', 'ApplicationDefaultLanguage'); if (!empty($forcedLanguageOverrides)) { $identifier = self::$applicationIdentifier; if (!empty($identifier) && isset($forcedLanguageOverrides[$identifier])) { $this->forcedValues = $forcedLanguageOverrides[$identifier]; } } } }
public function __construct() { parent::__construct(1, 'Sections', 'section'); $this->sort = 'count'; $this->sortOnRefresh = false; }
/** * @param int $uxType * @param string $key * @param string $field */ public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); }
/** * @param int $uxType * @param string $key * @param string $field */ public function __construct($uxType, $key, $field) { parent::__construct($uxType, $key, $field); $this->sortOnRefresh = false; }