/**
  * buildListFields Rack
  * name,type,label,count,sort,condition_operator,options
  */
 public function buildFilterFields()
 {
     parent::buildFilterFields();
     if ($this->checkUserView('sd_ringNum', 'filter')) {
         $this->addInFilter(array('sd_ringNum', 'text_filter', $this->trans('sd_ringNum', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('sd_eprasysName', 'filter')) {
         $this->addInFilter(array('sd_eprasysName', 'text_filter', $this->trans('sd_eprasysName', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('sd_dateInstall', 'filter')) {
         $this->addInFilter(array('sd_dateInstall', 'date_filter', $this->trans('sd_dateInstall', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('sd_switchType', 'filter')) {
         $this->addInFilter(array('sd_switchType', 'text_filter', $this->trans('sd_switchType', 'address'), 5, 'smal_int', array('entity_class' => 'Crm\\AddressesBundle\\Entity\\SwitchType')));
     }
     if ($this->checkUserView('sd_installer', 'filter')) {
         $this->addInFilter(array('sd_installer', 'entity_filter', $this->trans('sd_installer', 'address'), 5, 'smal_int', array('entity_class' => 'Zk\\UserBundle\\Entity\\User')));
     }
     if ($this->checkUserView('sd_onControl', 'filter')) {
         $this->addInFilter(array('sd_onControl', 'boolean_filter', $this->trans('sd_onControl', 'address')));
     }
     if ($this->checkUserView('sd_macAddress', 'filter')) {
         $this->addInFilter(array('sd_macAddress', 'text_filter', $this->trans('sd_macAddress', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('sd_serialNum', 'filter')) {
         $this->addInFilter(array('sd_serialNum', 'text_filter', $this->trans('sd_serialNum', 'address'), 5, 'light_text'));
     }
 }
Ejemplo n.º 2
0
 /**
  * buildListFields Rack
  * name,type,label,count,sort,condition_operator,options
  */
 public function buildFilterFields()
 {
     parent::buildFilterFields();
     if ($this->checkUserView('rk_placeInstall', 'filter')) {
         $this->addInFilter(array('rk_placeInstall', 'text_filter', $this->trans('rk_placeInstall', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('rk_eprasysName', 'filter')) {
         $this->addInFilter(array('rk_eprasysName', 'text_filter', $this->trans('rk_eprasysName', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('rk_dateInstall', 'filter')) {
         $this->addInFilter(array('rk_dateInstall', 'date_filter', $this->trans('rk_dateInstall', 'address'), 5, 'light_text'));
     }
 }
Ejemplo n.º 3
0
 /**
  * buildListFields
  * name,type,label,count,sort,condition_operator,options
  */
 public function buildFilterFields()
 {
     parent::buildFilterFields();
     if ($this->checkUserView('f_name', 'filter')) {
         $this->addInFilter(array('f_name', 'text_filter', $this->trans('f_name', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('f_status', 'filter')) {
         $this->addInFilter(array('f_status', 'text_filter', $this->trans('f_status', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('f_statusDescr', 'filter')) {
         $this->addInFilter(array('f_statusDescr', 'text_filter', $this->trans('f_statusDescr', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('f_flatDescr', 'filter')) {
         $this->addInFilter(array('f_flatDescr', 'text_filter', $this->trans('f_flatDescr', 'address'), 5, 'light_text'));
     }
     if ($this->checkUserView('f_rival', 'filter')) {
         $this->addInFilter(array('f_rival', 'text_filter', $this->trans('f_rival', 'address'), 5, 'light_text'));
     }
 }
Ejemplo n.º 4
0
 /**
  * buildListFields
  * name,type,label,count,sort,condition_operator,options
  */
 public function buildFilterFields()
 {
     parent::buildFilterFields();
     $this->addInFilter(array('brd_installer', 'text_filter', $this->trans('brd_installer', 'address'), 5, 'light_text'));
 }