Exemplo n.º 1
0
 public function getData()
 {
     return array("city" => $this->city, "country" => $this->country ? $this->country->getData() : null, 'currency' => $this->currency, "createdTime" => $this->createdTime, "email" => $this->email, "firstName" => $this->firstName, 'gender' => $this->gender, "group" => $this->group ? $this->group->getData() : null, "id" => $this->id, "isActive" => $this->isActive, "lastLogin" => $this->lastLogin, "lastName" => $this->lastName, "username" => $this->username, "phone" => $this->phone, "profileUpdated" => $this->profileUpdated, "alias" => $this->alias, "cellphone" => $this->cellphone);
 }
 /**
  * {@inheritDoc}
  */
 public function isAdmin()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'isAdmin', array());
     return parent::isAdmin();
 }