mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing the Js engine helpers
This commit is contained in:
parent
4938ac2749
commit
227ed6ef27
3 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,7 @@ abstract class JsBaseEngineHelper extends AppHelper {
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function __construct() {
|
function __construct($View, $settings = array()) {
|
||||||
parent::__construct($View, $settings);
|
parent::__construct($View, $settings);
|
||||||
$this->useNative = function_exists('json_encode');
|
$this->useNative = function_exists('json_encode');
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
App::uses('View', 'View');
|
||||||
App::uses('HtmlHelper', 'View/Helper');
|
App::uses('HtmlHelper', 'View/Helper');
|
||||||
App::uses('JsHelper', 'View/Helper');
|
App::uses('JsHelper', 'View/Helper');
|
||||||
App::uses('MootoolsEngineHelper', 'View/Helper');
|
App::uses('MootoolsEngineHelper', 'View/Helper');
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
App::uses('View', 'View');
|
||||||
App::uses('HtmlHelper', 'View/Helper');
|
App::uses('HtmlHelper', 'View/Helper');
|
||||||
App::uses('JsHelper', 'View/Helper');
|
App::uses('JsHelper', 'View/Helper');
|
||||||
App::uses('PrototypeEngineHelper', 'View/Helper');
|
App::uses('PrototypeEngineHelper', 'View/Helper');
|
||||||
|
|
Loading…
Reference in a new issue