pool/web/yaamp/components/UserIdentity.php
Tanguy Pruvot bb31cec957 dos2unix all files, we are on linux
trim them, btw... its important to start on a clean base...
2015-07-12 04:40:50 +02:00

25 lines
344 B
PHP

<?php
class UserIdentity extends CUserIdentity
{
private $_id;
private $_fullname;
public function __construct($user)
{
$this->_id = $user->id;
$this->_fullname = $user->name;
$this->username = $user->logon;
}
public function getId()
{
return $this->_id;
}
public function getFullname()
{
return $this->_fullname;
}
}