this is part of a function returning userme details
$auth = Zend_Auth::getInstance();
if($auth->hasIdentity())
{
$user = $auth->getIdentity();
$username = $this->view->escape(ucfirst($user->username));
}
for more information you can use $user->otherDetailName, if, and save them when a user logs on to the site!
source
share