Skip to content

Commit b5fdcd6

Browse files
committed
Update list of list view filters
1 parent 69e1868 commit b5fdcd6

File tree

1 file changed

+41
-2
lines changed

1 file changed

+41
-2
lines changed

docs/php/api/list_views.md

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,26 @@ class ExampleListView extends AbstractListView
180180

181181
`DateFilter` is a filter for columns that contain unix timestamps.
182182

183+
### FloatFilter
184+
185+
`FloatFilter` is a filter for columns that contain float values.
186+
187+
### FormOptionFilter
188+
189+
`FormOptionFilter` is a filter for columns that are based on `IFormOption`.
190+
191+
#### I18nTextFilter
192+
193+
`I18nTextFilter` is a filter for text columns that are using i18n phrases.
194+
195+
### IntegerFilter
196+
197+
`IntegerFilter` is a filter for columns that contain integer values.
198+
199+
#### IpAddressFilter
200+
201+
`IpAddressFilter` is a filter for columns that contain IPv6 addresses, allowing the user to enter addresses in the IPv4 format too.
202+
183203
### LabelFilter
184204

185205
`LabelFilter` allows to filter a list view by labels.
@@ -207,9 +227,28 @@ class ExampleListView extends AbstractListView
207227
}
208228
```
209229

210-
### NumericFilter
230+
### MultipleSelectFilter
231+
232+
`MultipleSelectFilter` allows a column to be filtered on the basis of a multi-select.
233+
234+
```php
235+
class ExampleListView extends AbstractListView
236+
{
237+
public function __construct()
238+
{
239+
$this->addAvailableFilters([
240+
new MultipleSelectFilter([
241+
1 => 'value 1',
242+
0 => 'value 0',
243+
], 'id', 'language.item'),
244+
]);
245+
}
246+
}
247+
```
248+
249+
#### ObjectIdFilter
211250

212-
`NumericFilter` is a filter for columns that contain numeric values.
251+
`ObjectIdFilter` is a filter for columns that contain object ids.
213252

214253
### SelectFilter
215254

0 commit comments

Comments
 (0)