Пример #1
0
 /**
  * Generates a filter add path
  * 
  * @param AvailableFilter $filter
  * 
  * @return string
  */
 public function generateFilterAddPath(AvailableFilter $filter)
 {
     return '?add_filter=' . $filter->getVar('full_name');
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 public function buildAvailableFilter(AvailableFilter $filter, array $options)
 {
     $filter->setVars(['name' => $options['name'], 'full_name' => $options['full_name'], 'label' => $options['label']]);
 }