NAMESPACE, updating vendor.

This commit is contained in:
Nathan Glasl 2017-06-16 14:07:09 +10:00
parent 1b0abe0ca6
commit ef48ea9cdd
15 changed files with 34 additions and 34 deletions

View File

@ -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

View File

@ -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,

View File

@ -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'),
);
}

View File

@ -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)

View File

@ -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()) {

View File

@ -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

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\GridFieldExtensions;
namespace Symbiote\GridFieldExtensions;
use SilverStripe\Control\Controller;
use SilverStripe\Forms\GridField\GridFieldDetailForm_ItemRequest;

View File

@ -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);

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\GridFieldExtensions;
namespace Symbiote\GridFieldExtensions;
use SilverStripe\View\Requirements;

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\GridFieldExtensions;
namespace Symbiote\GridFieldExtensions;
use SilverStripe\Forms\GridField\GridFieldDataColumns;
use SilverStripe\View\ArrayData;

View File

@ -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)

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\GridFieldExtensions;
namespace Symbiote\GridFieldExtensions;
use SilverStripe\Admin\LeftAndMain;
use SilverStripe\Control\Controller;

View File

@ -1,6 +1,6 @@
<?php
namespace SilverStripe\GridFieldExtensions;
namespace Symbiote\GridFieldExtensions;
use SilverStripe\Forms\GridField\GridField_HTMLProvider;
use SilverStripe\ORM\ArrayList;

View File

@ -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}.

View File

@ -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;
/**