public getFullname ( integer $ident = null ) : string | ||
$ident | integer | The identity to retrieve the name from. |
Результат | string | The user's full name. |
public function getFullname($ident = null)
{
if (is_null($ident)) {
$ident = $this->getDefault();
}
if (isset($this->_cached['names'][$ident])) {
return $this->_cached['names'][$ident];
}
$this->_cached['names'][$ident] = $this->getValue($this->_prefnames['fullname'], $ident);
return $this->_cached['names'][$ident];
}