source/Application/Controller/FrontendController.php
public function getActiveUsername()
    {
        if ($this->_sActiveUsername == null) {
            $this->_sActiveUsername = false;
            $username = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('lgn_usr');
            if ($username) {
                $this->_sActiveUsername = $username;
            } elseif ($user = $this->getUser()) {
                $this->_sActiveUsername = $user->oxuser__oxusername->value;
            }
        }

        return $this->_sActiveUsername;
    }
public function getActiveUsername()
    {
        if ($this->_sActiveUsername == null) {
            $this->_sActiveUsername = false;
            $username = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('lgn_usr');
            if ($username) {
                $this->_sActiveUsername = $username;
            } elseif ($user = $this->getUser()) {
                $this->_sActiveUsername = $user->oxuser__oxusername->value;
            }
        }

        return $this->_sActiveUsername;
    }
public function getActiveUsername ( ) { if ( $ this -> _sActiveUsername == null ) { $ this -> _sActiveUsername = false ; $ username = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( 'lgn_usr' ) ; if ( $ username ) { $ this -> _sActiveUsername = $ username ; } elseif ( $ user = $ this -> getUser ( ) ) { $ this -> _sActiveUsername = $ user -> oxuser__oxusername -> value ; } } return $ this -> _sActiveUsername ; }
Template variable getter. Returns logged in user name

@return string
Template variable getter . Returns logged in user name