mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #3886 from 3Dgoo/patch-1
Fixed typo in DataList API doc
This commit is contained in:
commit
e0f907a254
@ -244,7 +244,7 @@ class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortab
|
|||||||
* @example $list = $list->sort('Name'); // default ASC sorting
|
* @example $list = $list->sort('Name'); // default ASC sorting
|
||||||
* @example $list = $list->sort('Name DESC'); // DESC sorting
|
* @example $list = $list->sort('Name DESC'); // DESC sorting
|
||||||
* @example $list = $list->sort('Name', 'ASC');
|
* @example $list = $list->sort('Name', 'ASC');
|
||||||
* @example $list = $list->sort(array('Name'=>'ASC,'Age'=>'DESC'));
|
* @example $list = $list->sort(array('Name'=>'ASC', 'Age'=>'DESC'));
|
||||||
*
|
*
|
||||||
* @param String|array Escaped SQL statement. If passed as array, all keys and values are assumed to be escaped.
|
* @param String|array Escaped SQL statement. If passed as array, all keys and values are assumed to be escaped.
|
||||||
* @return DataList
|
* @return DataList
|
||||||
|
Loading…
Reference in New Issue
Block a user