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:
nate 2006-11-23 22:48:47 +00:00
parent 35ff9d45dc
commit 00741f0ca6

View file

@ -80,6 +80,16 @@ class Helper extends Overloadable {
* @var 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.