mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
MINOR Using renamed GridFieldDeleteAction and GridFieldEditAction
This commit is contained in:
parent
e313964668
commit
d37bd9d306
@ -42,7 +42,7 @@ class Company extends DataObject {
|
||||
$config->addComponent(new GridFieldDefaultColumns());
|
||||
$config->addComponent(new GridFieldSortableHeader());
|
||||
$config->addComponent(new GridFieldPaginator());
|
||||
$config->addComponent(new GridFieldAction_Edit());
|
||||
$config->addComponent(new GridFieldDeleteAction());
|
||||
$config->addComponent(new GridFieldRelationDelete());
|
||||
$config->addComponent(new GridFieldPopupForms());
|
||||
|
||||
|
@ -36,8 +36,8 @@ class GridFieldTestPage extends Page {
|
||||
$config->addComponent(new GridFieldSortableHeader());
|
||||
$config->addComponent(new GridFieldPaginator);
|
||||
$config->addComponent(new GridFieldFilter());
|
||||
$config->addComponent(new GridFieldAction_Delete());
|
||||
$config->addComponent(new GridFieldAction_Edit());
|
||||
$config->addComponent(new GridFieldDeleteAction());
|
||||
$config->addComponent(new GridFieldEditAction());
|
||||
$config->addComponent($forms = new GridFieldPopupForms());
|
||||
$grid = new GridField('Companies', 'Companies', new DataList('Company'),$config);
|
||||
$fields->addFieldToTab('Root.NoRelation', $grid);
|
||||
@ -47,8 +47,8 @@ class GridFieldTestPage extends Page {
|
||||
$config->addComponent(new GridFieldSortableHeader());
|
||||
$config->addComponent(new GridFieldPaginator);
|
||||
$config->addComponent(new GridFieldFilter());
|
||||
$config->addComponent(new GridFieldAction_Delete());
|
||||
$config->addComponent(new GridFieldAction_Edit());
|
||||
$config->addComponent(new GridFieldDeleteAction());
|
||||
$config->addComponent(new GridFieldEditAction());
|
||||
$config->addComponent(new GridFieldRelationAdd('Name'));
|
||||
$grid = new GridField('HasManyCompanies', 'HasManyCompanies', new DataList('Company'),$config);
|
||||
$fields->addFieldToTab('Root.HasMany', $grid);
|
||||
@ -58,8 +58,8 @@ class GridFieldTestPage extends Page {
|
||||
$config->addComponent(new GridFieldSortableHeader());
|
||||
$config->addComponent(new GridFieldPaginator);
|
||||
$config->addComponent(new GridFieldFilter());
|
||||
$config->addComponent(new GridFieldAction_Delete());
|
||||
$config->addComponent(new GridFieldAction_Edit());
|
||||
$config->addComponent(new GridFieldDeleteAction());
|
||||
$config->addComponent(new GridFieldEditAction());
|
||||
$config->addComponent(new GridFieldRelationAdd('Name'));
|
||||
$grid = new GridField('ManyManyCompanies', 'ManyManyCompanies', new DataList('Company'),$config);
|
||||
$fields->addFieldToTab('Root.ManyMany', $grid);
|
||||
@ -91,8 +91,8 @@ class GridFieldTestPage_Controller extends Page_Controller {
|
||||
$config->addComponent(new GridFieldSortableHeader());
|
||||
$config->addComponent(new GridFieldPaginator);
|
||||
$config->addComponent(new GridFieldFilter());
|
||||
$config->addComponent(new GridFieldAction_Delete());
|
||||
$config->addComponent(new GridFieldAction_Edit());
|
||||
$config->addComponent(new GridFieldDeleteAction());
|
||||
$config->addComponent(new GridFieldEditAction());
|
||||
$config->addComponent(new GridFieldPopupForms());
|
||||
|
||||
$grid = new GridField('Companies', 'Companies', new DataList('Company'),$config);
|
||||
|
Loading…
Reference in New Issue
Block a user