55         if (!is_array($this->attributes)) {
 
   56             $this->attributes = array();
 
   59         $this->attributes[
'time_created'] = 
null;
 
   81         return $this->
$name !== 
null;
 
   92     abstract protected function get(
$name);
 
  117     abstract public function save();
 
  124     abstract public function delete();
 
  154         return get_class($this);
 
  182         $this->
valid = (
false !== reset($this->attributes));
 
  193         return current($this->attributes);
 
  204         return key($this->attributes);
 
  215         $this->
valid = (
false !== 
next($this->attributes));
 
  244         if (array_key_exists(
$key, $this->attributes)) {
 
  259         if (array_key_exists(
$key, $this->attributes)) {
 
  260             return $this->attributes[
$key];
 
  275         if (array_key_exists(
$key, $this->attributes)) {
 
  277             $this->attributes[
$key] = 
"";
 
  291         return array_key_exists(
$offset, $this->attributes);
 
if($guid==elgg_get_logged_in_user_guid()) $name
 
offsetExists($offset)
Array access interface.
 
save()
Save this data to the appropriate database table.
 
getObjectOwnerGUID()
Return the GUID of the owner of this object.
 
getURL()
Get a URL for this object.
 
next()
Iterator interface.
 
rewind()
Iterator interface.
 
getDatabase()
Provides a pointer to the database object.
 
__isset($name)
Test if property is set either as an attribute or metadata.
 
offsetSet($key, $value)
Array access interface.
 
getClassName()
Return the class name of the object.
 
initialise_attributes($pre18_api=true)
Initialise the attributes array.
 
current()
Iterator interface.
 
getTimeCreated()
Returns the UNIX epoch time that this entity was created.
 
$attributes
The main attributes of an entity.
 
toObject()
Get a plain old object copy for public consumption.
 
initializeAttributes()
Initialize the attributes array.
 
valid()
Iterator interface.
 
offsetUnset($key)
Array access interface.
 
offsetGet($key)
Array access interface.
 
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.