Skip to content

Commit

Permalink
Update namespacing to plasticstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyfeet committed Sep 7, 2020
1 parent 96f134a commit 9b560f8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Name: search
Before:
- '#site'
---
Jaedb\Search\SearchPageController:
PlasticStudio\Search\SearchPageController:
types:
docs:
Label: 'Documents'
Expand Down
4 changes: 2 additions & 2 deletions _config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Before:
---
SilverStripe\Control\Controller:
extensions:
- Jaedb\Search\SearchControllerExtension
Jaedb\Search\SearchPageController:
- PlasticStudio\Search\SearchControllerExtension
PlasticStudio\Search\SearchPageController:
# types:
# docs:
# Label: 'Documents'
Expand Down
2 changes: 1 addition & 1 deletion src/SearchControllerExtension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Jaedb\Search;
namespace PlasticStudio\Search;

use Exception;
use SilverStripe\ORM\DataExtension;
Expand Down
2 changes: 1 addition & 1 deletion src/SearchPage.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Jaedb\Search;
namespace PlasticStudio\Search;

use Page;

Expand Down
8 changes: 4 additions & 4 deletions src/SearchPageController.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Jaedb\Search;
namespace PlasticStudio\Search;

use PageController;
use SilverStripe\ORM\ArrayList;
Expand Down Expand Up @@ -59,7 +59,7 @@ public function index($request){
**/

public static function get_types_available(){
$types = Config::inst()->get('Jaedb\Search\SearchPageController', 'types');
$types = Config::inst()->get('PlasticStudio\Search\SearchPageController', 'types');
$array = [];

if ($types){
Expand All @@ -73,7 +73,7 @@ public static function get_types_available(){
}

public static function get_filters_available(){
$filters = Config::inst()->get('Jaedb\Search\SearchPageController', 'filters');
$filters = Config::inst()->get('PlasticStudio\Search\SearchPageController', 'filters');
$array = [];

if ($filters){
Expand All @@ -87,7 +87,7 @@ public static function get_filters_available(){
}

public static function get_sorts_available(){
$sorts = Config::inst()->get('Jaedb\Search\SearchPageController', 'sorts');
$sorts = Config::inst()->get('PlasticStudio\Search\SearchPageController', 'sorts');
$array = [];

if ($sorts){
Expand Down

0 comments on commit 9b560f8

Please sign in to comment.