mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 07:29:51 +00:00
Adding default overload methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3946 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
35ff9d45dc
commit
00741f0ca6
1 changed files with 10 additions and 0 deletions
|
@ -80,6 +80,16 @@ class Helper extends Overloadable {
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
var $tags = array();
|
var $tags = array();
|
||||||
|
/**
|
||||||
|
* Default overload methods
|
||||||
|
*
|
||||||
|
* @access protected
|
||||||
|
*/
|
||||||
|
function __get__($name) {}
|
||||||
|
function __set__($name, $value) {}
|
||||||
|
function __call__($method, $params) {
|
||||||
|
trigger_error('Method ' . get_class($this) . '::' . $method . ' does not exist', E_USER_ERROR);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses tag templates into $this->tags.
|
* Parses tag templates into $this->tags.
|
||||||
|
|
Loading…
Add table
Reference in a new issue