mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Remove Overloadable from Helper class.
This commit is contained in:
parent
5f2d091810
commit
f5fa56ff3c
1 changed files with 2 additions and 9 deletions
|
@ -20,11 +20,6 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Included libs
|
||||
*/
|
||||
App::import('Core', 'Overloadable');
|
||||
|
||||
/**
|
||||
* Abstract base class for all other Helpers in CakePHP.
|
||||
* Provides common methods and features.
|
||||
|
@ -32,7 +27,7 @@ App::import('Core', 'Overloadable');
|
|||
* @package cake
|
||||
* @subpackage cake.cake.libs.view
|
||||
*/
|
||||
class Helper extends Overloadable {
|
||||
class Helper {
|
||||
|
||||
/**
|
||||
* List of helpers used by this helper
|
||||
|
@ -147,9 +142,7 @@ class Helper extends Overloadable {
|
|||
* Default overload methods
|
||||
*
|
||||
*/
|
||||
protected function get__($name) {}
|
||||
protected function set__($name, $value) {}
|
||||
protected function call__($method, $params) {
|
||||
protected function __call($method, $params) {
|
||||
trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_WARNING);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue