IMP_Prefs_Identity::getFullname PHP Méthode

getFullname() public méthode

Returns the user's full name.
public getFullname ( integer $ident = null ) : string
$ident integer The identity to retrieve the name from.
Résultat 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];
    }