57 $this->reporter = $reporter;
67 $this->displayWarning();
68 return $this->
object->$name;
79 $this->displayWarning();
80 $this->
object->$name =
$value;
91 $this->displayWarning();
92 return call_user_func_array(array($this->
object,
$name), $arguments);
101 $this->displayWarning();
102 if (isset($this->
string)) {
119 call_user_func($this->reporter, $this->
message, $this->
version, 3);
133 $this->displayWarning();
134 if (is_object($this->
object) && !$this->
object instanceof \ArrayAccess) {
135 $this->
object->$key =
$value;
156 $this->displayWarning();
157 if (is_object($this->
object) && !$this->
object instanceof \ArrayAccess) {
158 return $this->
object->$key;
160 return $this->
object[
$key];
174 $this->displayWarning();
175 if (is_object($this->
object) && !$this->
object instanceof \ArrayAccess) {
176 unset($this->object->$key);
178 unset($this->
object[
$key]);
192 $this->displayWarning();
193 if (is_object($this->
object) && !$this->
object instanceof \ArrayAccess) {
194 return isset($this->object->$offset);
196 return array_key_exists(
$offset, $this->
object);
offsetGet($key)
Array access interface.
__get($name)
Get a property on the object.
offsetUnset($key)
Array access interface.
if($guid==elgg_get_logged_in_user_guid()) $name
__toString()
Get the object as string.
offsetExists($offset)
Array access interface.
displayWarning()
Display a warning.
__set($name, $value)
Set a property on the object.
offsetSet($key, $value)
Array access interface.
__call($name, $arguments)
Call a method on the object.
__construct($object, $message, $version, $reporter= 'elgg_deprecated_notice')
Create the wrapper.