mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS: DataList::filter() broken examples
missing ' from 'bob'
This commit is contained in:
parent
0ce257495b
commit
4dfe2955e3
@ -347,8 +347,8 @@ class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortab
|
|||||||
*
|
*
|
||||||
* @example $list = $list->filter('Name', 'bob'); // only bob in the list
|
* @example $list = $list->filter('Name', 'bob'); // only bob in the list
|
||||||
* @example $list = $list->filter('Name', array('aziz', 'bob'); // aziz and bob in list
|
* @example $list = $list->filter('Name', array('aziz', 'bob'); // aziz and bob in list
|
||||||
* @example $list = $list->filter(array('Name'=>'bob, 'Age'=>21)); // bob with the age 21
|
* @example $list = $list->filter(array('Name'=>'bob', 'Age'=>21)); // bob with the age 21
|
||||||
* @example $list = $list->filter(array('Name'=>'bob, 'Age'=>array(21, 43))); // bob with the Age 21 or 43
|
* @example $list = $list->filter(array('Name'=>'bob', 'Age'=>array(21, 43))); // bob with the Age 21 or 43
|
||||||
* @example $list = $list->filter(array('Name'=>array('aziz','bob'), 'Age'=>array(21, 43)));
|
* @example $list = $list->filter(array('Name'=>array('aziz','bob'), 'Age'=>array(21, 43)));
|
||||||
* // aziz with the age 21 or 43 and bob with the Age 21 or 43
|
* // aziz with the age 21 or 43 and bob with the Age 21 or 43
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user