mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Correct GridField_DataManipulator PHPDOC to not assume DataList
Tweak GridField_DataManipulator to not assume only DataList will be provided. Use the SS_List Interface instead. (#8460)
This commit is contained in:
parent
2e2ca5a4a7
commit
ef439f9306
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
namespace SilverStripe\Forms\GridField;
|
namespace SilverStripe\Forms\GridField;
|
||||||
|
|
||||||
use SilverStripe\ORM\DataList;
|
|
||||||
use SilverStripe\ORM\SS_List;
|
use SilverStripe\ORM\SS_List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -12,17 +11,17 @@ use SilverStripe\ORM\SS_List;
|
|||||||
* component can apply a sort.
|
* component can apply a sort.
|
||||||
*
|
*
|
||||||
* Generally, the data manipulator will make use of to {@link GridState}
|
* Generally, the data manipulator will make use of to {@link GridState}
|
||||||
* variables to decide how to modify the {@link DataList}.
|
* variables to decide how to modify the {@link SS_List}.
|
||||||
*/
|
*/
|
||||||
interface GridField_DataManipulator extends GridFieldComponent
|
interface GridField_DataManipulator extends GridFieldComponent
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Manipulate the {@link DataList} as needed by this grid modifier.
|
* Manipulate the {@link SS_List} as needed by this grid modifier.
|
||||||
*
|
*
|
||||||
* @param GridField $gridField
|
* @param GridField $gridField
|
||||||
* @param SS_List $dataList
|
* @param SS_List $dataList
|
||||||
* @return DataList
|
* @return SS_List
|
||||||
*/
|
*/
|
||||||
public function getManipulatedData(GridField $gridField, SS_List $dataList);
|
public function getManipulatedData(GridField $gridField, SS_List $dataList);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user