mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
NAMESPACE, updating vendor.
This commit is contained in:
parent
1b0abe0ca6
commit
ef48ea9cdd
22
.upgrade.yml
22
.upgrade.yml
@ -1,12 +1,12 @@
|
||||
mappings:
|
||||
GridFieldAddExistingSearchButton: SilverStripe\GridFieldExtensions\GridFieldAddExistingSearchButton
|
||||
GridFieldAddExistingSearchHandler: SilverStripe\GridFieldExtensions\GridFieldAddExistingSearchHandler
|
||||
GridFieldAddNewInlineButton: SilverStripe\GridFieldExtensions\GridFieldAddNewInlineButton
|
||||
GridFieldAddNewMultiClass: SilverStripe\GridFieldExtensions\GridFieldAddNewMultiClass
|
||||
GridFieldAddNewMultiClassHandler: SilverStripe\GridFieldExtensions\GridFieldAddNewMultiClassHandler
|
||||
GridFieldEditableColumns: SilverStripe\GridFieldExtensions\GridFieldEditableColumns
|
||||
GridFieldExtensions: SilverStripe\GridFieldExtensions\GridFieldExtensions
|
||||
GridFieldExternalLink: SilverStripe\GridFieldExtensions\GridFieldExternalLink
|
||||
GridFieldOrderableRows: SilverStripe\GridFieldExtensions\GridFieldOrderableRows
|
||||
GridFieldRequestHandler: SilverStripe\GridFieldExtensions\GridFieldRequestHandler
|
||||
GridFieldTitleHeader: SilverStripe\GridFieldExtensions\GridFieldTitleHeader
|
||||
GridFieldAddExistingSearchButton: Symbiote\GridFieldExtensions\GridFieldAddExistingSearchButton
|
||||
GridFieldAddExistingSearchHandler: Symbiote\GridFieldExtensions\GridFieldAddExistingSearchHandler
|
||||
GridFieldAddNewInlineButton: Symbiote\GridFieldExtensions\GridFieldAddNewInlineButton
|
||||
GridFieldAddNewMultiClass: Symbiote\GridFieldExtensions\GridFieldAddNewMultiClass
|
||||
GridFieldAddNewMultiClassHandler: Symbiote\GridFieldExtensions\GridFieldAddNewMultiClassHandler
|
||||
GridFieldEditableColumns: Symbiote\GridFieldExtensions\GridFieldEditableColumns
|
||||
GridFieldExtensions: Symbiote\GridFieldExtensions\GridFieldExtensions
|
||||
GridFieldExternalLink: Symbiote\GridFieldExtensions\GridFieldExternalLink
|
||||
GridFieldOrderableRows: Symbiote\GridFieldExtensions\GridFieldOrderableRows
|
||||
GridFieldRequestHandler: Symbiote\GridFieldExtensions\GridFieldRequestHandler
|
||||
GridFieldTitleHeader: Symbiote\GridFieldExtensions\GridFieldTitleHeader
|
||||
|
@ -24,7 +24,7 @@
|
||||
"extra": {
|
||||
"installer-name": "gridfieldextensions",
|
||||
"branch-alias": {
|
||||
"dev-master": "2.0.x-dev"
|
||||
"dev-master": "3.0.x-dev"
|
||||
},
|
||||
"screenshots": [
|
||||
"docs/en/_images/editable-rows.png",
|
||||
@ -36,7 +36,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"SilverStripe\\GridFieldExtensions\\": "src/"
|
||||
"Symbiote\\GridFieldExtensions\\": "src/"
|
||||
}
|
||||
},
|
||||
"prefer-stable": true,
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
|
||||
use SilverStripe\Forms\GridField\GridField_URLHandler;
|
||||
@ -97,7 +97,7 @@ class GridFieldAddExistingSearchButton implements GridField_HTMLProvider, GridFi
|
||||
));
|
||||
|
||||
return array(
|
||||
$this->fragment => $data->renderWith('SilverStripe\\GridFieldExtensions\\GridFieldAddExistingSearchButton'),
|
||||
$this->fragment => $data->renderWith('Symbiote\\GridFieldExtensions\\GridFieldAddExistingSearchButton'),
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Control\Controller;
|
||||
use SilverStripe\Control\RequestHandler;
|
||||
@ -49,7 +49,7 @@ class GridFieldAddExistingSearchHandler extends RequestHandler
|
||||
|
||||
public function index()
|
||||
{
|
||||
return $this->renderWith('SilverStripe\\GridFieldExtensions\\GridFieldAddExistingSearchHandler');
|
||||
return $this->renderWith('Symbiote\\GridFieldExtensions\\GridFieldAddExistingSearchHandler');
|
||||
}
|
||||
|
||||
public function add($request)
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Core\Convert;
|
||||
use SilverStripe\Core\Object;
|
||||
@ -151,7 +151,7 @@ class GridFieldAddNewInlineButton implements GridField_HTMLProvider, GridField_S
|
||||
)));
|
||||
}
|
||||
|
||||
return $columns->renderWith('SilverStripe\\GridFieldExtensions\\GridFieldAddNewInlineRow');
|
||||
return $columns->renderWith('Symbiote\\GridFieldExtensions\\GridFieldAddNewInlineRow');
|
||||
}
|
||||
|
||||
public function handleSave(GridField $grid, DataObjectInterface $record)
|
||||
@ -165,9 +165,9 @@ class GridFieldAddNewInlineButton implements GridField_HTMLProvider, GridField_S
|
||||
|
||||
$class = $grid->getModelClass();
|
||||
/** @var GridFieldEditableColumns $editable */
|
||||
$editable = $grid->getConfig()->getComponentByType('SilverStripe\\GridFieldExtensions\\GridFieldEditableColumns');
|
||||
$editable = $grid->getConfig()->getComponentByType('Symbiote\\GridFieldExtensions\\GridFieldEditableColumns');
|
||||
/** @var GridFieldOrderableRows $sortable */
|
||||
$sortable = $grid->getConfig()->getComponentByType('SilverStripe\\GridFieldExtensions\\GridFieldOrderableRows');
|
||||
$sortable = $grid->getConfig()->getComponentByType('Symbiote\\GridFieldExtensions\\GridFieldOrderableRows');
|
||||
$form = $editable->getForm($grid, $record);
|
||||
|
||||
if (!singleton($class)->canCreate()) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Control\Controller;
|
||||
use SilverStripe\Control\HTTPResponse_Exception;
|
||||
@ -42,7 +42,7 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $itemRequestClass = 'SilverStripe\\GridFieldExtensions\\GridFieldAddNewMultiClassHandler';
|
||||
protected $itemRequestClass = 'Symbiote\\GridFieldExtensions\\GridFieldAddNewMultiClassHandler';
|
||||
|
||||
/**
|
||||
* @param string $fragment the fragment to render the button in
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Control\Controller;
|
||||
use SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Control\Controller;
|
||||
use SilverStripe\Control\HTTPResponse_Exception;
|
||||
@ -112,7 +112,7 @@ class GridFieldEditableColumns extends GridFieldDataColumns implements
|
||||
}
|
||||
|
||||
/** @var GridFieldOrderableRows $sortable */
|
||||
$sortable = $grid->getConfig()->getComponentByType('SilverStripe\\GridFieldExtensions\\GridFieldOrderableRows');
|
||||
$sortable = $grid->getConfig()->getComponentByType('Symbiote\\GridFieldExtensions\\GridFieldOrderableRows');
|
||||
|
||||
$form = $this->getForm($grid, $record);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\View\Requirements;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Forms\GridField\GridFieldDataColumns;
|
||||
use SilverStripe\View\ArrayData;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Control\Controller;
|
||||
use SilverStripe\Control\RequestHandler;
|
||||
@ -251,7 +251,7 @@ class GridFieldOrderableRows extends RequestHandler implements
|
||||
|
||||
return ViewableData::create()->customise(array(
|
||||
'SortField' => $sortField
|
||||
))->renderWith('SilverStripe\\GridFieldExtensions\\GridFieldOrderableRowsDragHandle');
|
||||
))->renderWith('Symbiote\\GridFieldExtensions\\GridFieldOrderableRowsDragHandle');
|
||||
}
|
||||
|
||||
public function getColumnAttributes($grid, $record, $col)
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Admin\LeftAndMain;
|
||||
use SilverStripe\Control\Controller;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace SilverStripe\GridFieldExtensions;
|
||||
namespace Symbiote\GridFieldExtensions;
|
||||
|
||||
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
|
||||
use SilverStripe\ORM\ArrayList;
|
||||
|
@ -3,7 +3,7 @@
|
||||
use SilverStripe\Dev\SapphireTest;
|
||||
use SilverStripe\Dev\TestOnly;
|
||||
use SilverStripe\Forms\GridField\GridField;
|
||||
use SilverStripe\GridFieldExtensions\GridFieldAddNewMultiClass;
|
||||
use Symbiote\GridFieldExtensions\GridFieldAddNewMultiClass;
|
||||
|
||||
/**
|
||||
* Tests for {@link GridFieldAddNewMultiClass}.
|
||||
|
@ -4,7 +4,7 @@ use SilverStripe\Dev\SapphireTest;
|
||||
use SilverStripe\Dev\TestOnly;
|
||||
use SilverStripe\Forms\GridField\GridField;
|
||||
use SilverStripe\Forms\GridField\GridFieldConfig_RelationEditor;
|
||||
use SilverStripe\GridFieldExtensions\GridFieldOrderableRows;
|
||||
use Symbiote\GridFieldExtensions\GridFieldOrderableRows;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user