src/Application.php
public function getCurrentViewName()
    {
        if ($this->_currentViewName == "") {
            $this->_currentViewName = $this->getSessionContext()->getVar("CVN"); // CVN stands for CurrentViewName
        }   
        return $this->_currentViewName;
    }
public function getCurrentViewName()
    {
        if ($this->_currentViewName == "") {
            $this->_currentViewName = $this->getSessionContext()->getVar("CVN"); // CVN stands for CurrentViewName
        }   
        return $this->_currentViewName;
    }
Get the current view name

@return string current view name