diff options
Diffstat (limited to 'engine/classes/ElggEntity.php')
-rw-r--r-- | engine/classes/ElggEntity.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/engine/classes/ElggEntity.php b/engine/classes/ElggEntity.php index 7532bd9dd..2128a35e9 100644 --- a/engine/classes/ElggEntity.php +++ b/engine/classes/ElggEntity.php @@ -261,42 +261,6 @@ abstract class ElggEntity extends ElggData implements } /** - * Return an attribute or a piece of metadata. - * - * @param string $name Name - * - * @return mixed - */ - function __get($name) { - return $this->get($name); - } - - /** - * Set an attribute or a piece of metadata. - * - * @param string $name Name - * @param mixed $value Value - * - * @return mixed - */ - function __set($name, $value) { - return $this->set($name, $value); - } - - /** - * Test if property is set either as an attribute or metadata. - * - * @tip Use isset($entity->property) - * - * @param string $name The name of the attribute or metadata. - * - * @return bool - */ - function __isset($name) { - return $this->$name !== NULL; - } - - /** * Unset a property from metadata or attribute. * * @warning If you use this to unset an attribute, you must save the object! |