src/FilterSetting/AbstractRange.php
protected function getFilterWidgetParameters(IAttribute $attribute, $currentValue, $ids)
    {
        return [
            'label'         => $this->prepareWidgetLabel($attribute),
            'inputType'     => 'multitext',
            'options'       => $this->prepareWidgetOptions($ids, $attribute),
            'timetype'      => $this->get('timetype'),
            'dateformat'    => $this->get('dateformat'),
            'eval'          => [
                'multiple'  => true,
                'size'      => $this->get('fromfield') && $this->get('tofield') ? 2 : 1,
                'urlparam'  => $this->getParamName(),
                'template'  => $this->get('template'),
                'colname'   => $attribute->getColName(),
            ],
            // We need to implode to have it transported correctly in the frontend filter.
            'urlvalue'      => !empty($currentValue) ? implode(',', $currentValue) : ''
        ];
    }
protected function getFilterWidgetParameters(IAttribute $attribute, $currentValue, $ids)
    {
        return [
            'label'         => $this->prepareWidgetLabel($attribute),
            'inputType'     => 'multitext',
            'options'       => $this->prepareWidgetOptions($ids, $attribute),
            'timetype'      => $this->get('timetype'),
            'dateformat'    => $this->get('dateformat'),
            'eval'          => [
                'multiple'  => true,
                'size'      => $this->get('fromfield') && $this->get('tofield') ? 2 : 1,
                'urlparam'  => $this->getParamName(),
                'template'  => $this->get('template'),
                'colname'   => $attribute->getColName(),
            ],
            // We need to implode to have it transported correctly in the frontend filter.
            'urlvalue'      => !empty($currentValue) ? implode(',', $currentValue) : ''
        ];
    }
protected function getFilterWidgetParameters ( IAttribute $ attribute , $ currentValue , $ ids ) { return [ 'label' => $ this -> prepareWidgetLabel ( $ attribute ) , 'inputType' => 'multitext' , 'options' => $ this -> prepareWidgetOptions ( $ ids , $ attribute ) , 'timetype' => $ this -> get ( 'timetype' ) , 'dateformat' => $ this -> get ( 'dateformat' ) , 'eval' => [ 'multiple' => true , 'size' => $ this -> get ( 'fromfield' ) && $ this -> get ( 'tofield' ) ? 2 : 1 , 'urlparam' => $ this -> getParamName ( ) , 'template' => $ this -> get ( 'template' ) , 'colname' => $ attribute -> getColName ( ) , ] , // We need to implode to have it transported correctly in the frontend filter. 'urlvalue' => ! empty ( $ currentValue ) ? implode ( ',' , $ currentValue ) : '' ] ; }
Get the parameter array for configuring the widget.

@param IAttribute $attribute    The attribute.

@param array      $currentValue The current value.

@param string[]   $ids          The list of ids.

@return array
Get the parameter array for configuring the widget .