protected function setFilterVisibility() { if ($this->part !== 'admin') { return null; } $this->setIntFilter('active'); $this->get_questions_params['active'] = $this->params->active; $this->fields['active'] = array($this->form_id . '_active', __('c_c_action_visibility'), form::select(array('active', $this->form_id . '_active'), array_merge(array(__('c_c_action_all_visibility') => 2), module_faq::getQuestionsStatuses(true)), $this->params->active)); }