/** * Constructor of BsFilterCategory class * @param BsDiagram $oDiagram Instance of diagram the filter is used with. * @param array $aDefaultValues List of strings */ public function __construct($oDiagram, $aDefaultValues = null) { parent::__construct($oDiagram, $aDefaultValues); $this->sLabel = wfMsg('bs-statistics-filter-category'); $this->aAvailableValues = $this->loadAvailableValues(); $this->aDefaultValues = array(); }
/** * Constructor of BsStatisticsFilter class * @param BsDiagram $oDiagram Instance of diagram the filter is used with. */ public function __construct($oDiagram, $aDefaultValues) { parent::__construct($oDiagram, $aDefaultValues); $this->sLabel = wfMsg('bs-ns'); $this->aAvailableValues = $this->loadAvailableValues(); $this->aDefaultValues = array(0); }
/** * Constructor of BsFilterCategory class * @param BsDiagram $oDiagram Instance of diagram the filter is used with. * @param array $aDefaultValues List of strings */ public function __construct($oDiagram, $aDefaultValues = null) { parent::__construct($oDiagram, $aDefaultValues); $this->sLabel = wfMsg('bs-statistics-filter-user'); $this->aAvailableValues = $this->loadAvailableValues(); $this->aDefaultValues = BsConfig::get('MW::Statistics::ExcludeUsers'); }