|
|
@@ -651,6 +651,14 @@ class User extends ActiveRecordCommon implements IdentityInterface |
|
|
|
->send(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public function getFullAddress() |
|
|
|
{ |
|
|
|
$address = '' ; |
|
|
|
$address .= $this->lastname . ' ' . $this->name . "\n"; |
|
|
|
$address .= $this->address; |
|
|
|
return $address ; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Retourne l'ID de l'utilisateur courant connecté. |
|
|
@@ -684,4 +692,5 @@ class User extends ActiveRecordCommon implements IdentityInterface |
|
|
|
return User::getCurrentStatus() == USER::STATUS_ADMIN || User::getCurrentStatus() == USER::STATUS_PRODUCER; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |