示例#1
0
 /**
  * {@inheritDoc}
  */
 protected function getFilterWidgetParameters(IAttribute $attribute, $currentValue, $ids)
 {
     $parameters = parent::getFilterWidgetParameters($attribute, $currentValue, $ids);
     $parameters['timetype'] = $this->get('timetype');
     $parameters['dateformat'] = $this->get('dateformat');
     return $parameters;
 }
示例#2
0
 /**
  * {@inheritDoc}
  */
 protected function getFilterWidgetParameters(IAttribute $attribute, $currentValue, $ids)
 {
     $parameters = parent::getFilterWidgetParameters($attribute, $currentValue, $ids);
     $parameters['timetype'] = $this->get('timetype');
     $parameters['dateformat'] = $this->determineDateFormat();
     // Add eval values that shall get passed to the widget instance.
     $parameters['eval']['rgxp'] = 'MetaModelsFilterRangeDateRgXp';
     $parameters['eval']['dateformat'] = $this->determineDateFormat();
     return $parameters;
 }