Skip to content

Commit 8a964d2

Browse files
committed
Modify namespace.
1 parent b0e2ee4 commit 8a964d2

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

src/View/BootstrapStringTemplate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?php
2-
namespace Bootstrap3\View;
1+
<?php
2+
namespace Bootstrap\View;
33

44
use Cake\View\StringTemplate;
55
use Cake\Utility\Hash;
@@ -53,7 +53,7 @@ public function format($name, array $data)
5353
&& preg_match('#'.substr($placeholder, 6).'="([^"]+)"#', $data['attrs'], $matches) > 0) {
5454
preg_replace('#'.substr($placeholder, 6).'="[^"]+"#', '', $data['attrs']);
5555
$data[$placeholder] = $matches[1];
56-
}
56+
}
5757
}
5858
}
5959
if ($template === null) {
@@ -66,4 +66,4 @@ public function format($name, array $data)
6666
return vsprintf($template, $replace);
6767
}
6868

69-
};
69+
};

src/View/Helper/BootstrapFormHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
use Cake\View\Helper\FormHelper;
2626

@@ -32,7 +32,7 @@ class BootstrapFormHelper extends FormHelper {
3232
'Html',
3333
'Url',
3434
'bHtml' => [
35-
'className' => 'Bootstrap3.BootstrapHtml'
35+
'className' => 'Bootstrap.BootstrapHtml'
3636
]
3737
] ;
3838

@@ -149,7 +149,7 @@ public function __construct (\Cake\View\View $view, array $config = []) {
149149
$this->_customFileInput = $config['useCustomFileInput'];
150150
}
151151
$this->colSize = $this->_defaultColumnSize ;
152-
$this->_defaultConfig['templateClass'] = 'Bootstrap3\View\BootstrapStringTemplate' ;
152+
$this->_defaultConfig['templateClass'] = 'Bootstrap\View\BootstrapStringTemplate' ;
153153
parent::__construct($view, $config);
154154
}
155155

src/View/Helper/BootstrapHtmlHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
use Cake\View\Helper\HtmlHelper;
2626

src/View/Helper/BootstrapModalHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
use Cake\View\Helper;
2626

src/View/Helper/BootstrapNavbarHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
use Cake\View\Helper ;
2626
use Cake\Routing\Router;
@@ -32,7 +32,7 @@ class BootstrapNavbarHelper extends Helper {
3232
public $helpers = [
3333
'Html',
3434
'Form' => [
35-
'className' => 'Bootstrap3.BootstrapForm'
35+
'className' => 'Bootstrap.BootstrapForm'
3636
]
3737
] ;
3838

src/View/Helper/BootstrapPaginatorHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
use Cake\View\Helper\PaginatorHelper;
2626

src/View/Helper/BootstrapTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @license http://www.apache.org/licenses/LICENSE-2.0
2121
*/
2222

23-
namespace Bootstrap3\View\Helper;
23+
namespace Bootstrap\View\Helper;
2424

2525
trait BootstrapTrait {
2626

0 commit comments

Comments
 (0)