protected function _initCurrentUser()
    {
        $this->bootstrap(array('acl', 'basepath', 'cache', 'db', 'loader', 'project', 'session', 'translate', 'util'));

        // Fix for _init resourcea being case insensitive
        $container = $this->getContainer();
        $user      = $this->loader->getCurrentUser();
        $container->currentUser = $user;

        return $user;
    }
protected function _initCurrentUser()
    {
        $this->bootstrap(array('acl', 'basepath', 'cache', 'db', 'loader', 'project', 'session', 'translate', 'util'));

        // Fix for _init resourcea being case insensitive
        $container = $this->getContainer();
        $user      = $this->loader->getCurrentUser();
        $container->currentUser = $user;

        return $user;
    }
protected function _initCurrentUser ( ) { $ this -> bootstrap ( array ( 'acl' , 'basepath' , 'cache' , 'db' , 'loader' , 'project' , 'session' , 'translate' , 'util' ) ) ; // Fix for _init resourcea being case insensitive $ container = $ this -> getContainer ( ) ; $ user = $ this -> loader -> getCurrentUser ( ) ; $ container -> currentUser = $ user ; return $ user ; }
Initialize the currentUser component.

You can overrule this function to specify your own project translation method / file.

Use $this->currentUser to access afterwards

@return \Gems_User_User
Initialize the currentUser component .