mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS: Update filter
to use correct class
This commit is contained in:
parent
76bc7524a7
commit
df8cb9e010
@ -607,7 +607,7 @@ class ArrayList extends ViewableData implements SS_List, Filterable, Sortable, L
|
||||
* Filter the list to include items with these characteristics
|
||||
*
|
||||
* @return ArrayList
|
||||
* @see SS_List::filter()
|
||||
* @see Filterable::filter()
|
||||
* @example $list->filter('Name', 'bob'); // only bob in the list
|
||||
* @example $list->filter('Name', array('aziz', 'bob'); // aziz and bob in list
|
||||
* @example $list->filter(array('Name'=>'bob, 'Age'=>21)); // bob with the Age 21 in list
|
||||
|
@ -365,7 +365,7 @@ class DataList extends ViewableData implements SS_List, Filterable, Sortable, Li
|
||||
/**
|
||||
* Return a copy of this list which only includes items with these characteristics
|
||||
*
|
||||
* @see SS_List::filter()
|
||||
* @see Filterable::filter()
|
||||
*
|
||||
* @example $list = $list->filter('Name', 'bob'); // only bob in the list
|
||||
* @example $list = $list->filter('Name', array('aziz', 'bob'); // aziz and bob in list
|
||||
|
Loading…
Reference in New Issue
Block a user