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.
$object
These two snippets demonstrates triggering an event and how to register for that event.
__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.
it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and or use of the Program is restricted in certain countries either by patents or by copyrighted the original copyright holder who places the Program under this License may add an geographical distribution limitation excluding those so that distribution is permitted only in or among countries not thus excluded In such this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and or new versions of the General Public License from time to time Such new versions will be similar in spirit to the present version