public function getSessionLg()
    {

        $sessionLang = \common_session_SessionManager::getSession()->getDataLanguage();
        if (empty($sessionLang)) {
            throw new Exception('the data language of the user cannot be found in session');
        }

        return (string)$sessionLang;
    }
public function getSessionLg()
    {

        $sessionLang = \common_session_SessionManager::getSession()->getDataLanguage();
        if (empty($sessionLang)) {
            throw new Exception('the data language of the user cannot be found in session');
        }

        return (string)$sessionLang;
    }
public function getSessionLg ( ) { $ sessionLang = \ common_session_SessionManager :: getSession ( ) -> getDataLanguage ( ) ; if ( empty ( $ sessionLang ) ) { throw new Exception ( 'the data language of the user cannot be found in session' ) ; } return ( string ) $ sessionLang ; }
Rertrieve current user's language from the session object to know where
item content should be located

@access public
@author Joel Bout, <joel@taotesting.com>
@return string
Rertrieve current user s language from the session object to know where item content should be located