Esempio n. 1
0
 /**
  * Returns an attribute or metadata.
  *
  * @see ElggEntity::get()
  *
  * @param string $name Name
  *
  * @return mixed
  */
 public function get($name)
 {
     if ($name == 'username') {
         return 'group:' . $this->getGUID();
     }
     return parent::get($name);
 }