adding magic method__isset() for overloaded properties

This commit is contained in:
Ceeram 2011-12-29 16:22:08 +01:00
parent 1d333fd8b7
commit 929a40364f

View file

@ -789,6 +789,16 @@ class View extends Object {
}
}
/**
* Magic isset check for deprecated attributes.
*
* @param string $name Name of the attribute to check.
* @return boolean
*/
public function __isset($name) {
return isset($this->name);
}
/**
* Interact with the HelperCollection to load all the helpers.
*