public function bounceAction()
    {
        $availableGames = $this->getGameService()->getAvailableGames($this->user);

        $rssUrl = '';
        $config = $this->getGameService()->getServiceManager()->get('config');
        if (isset($config['rss']['url'])) {
            $rssUrl = $config['rss']['url'];
        }

        $viewModel = $this->buildView($this->game);
        $viewModel->setVariables(array(
                'rssUrl'         => $rssUrl,
                'user'           => $this->user,
                'availableGames' => $availableGames,
            ));

        return $viewModel;
    }
public function bounceAction()
    {
        $availableGames = $this->getGameService()->getAvailableGames($this->user);

        $rssUrl = '';
        $config = $this->getGameService()->getServiceManager()->get('config');
        if (isset($config['rss']['url'])) {
            $rssUrl = $config['rss']['url'];
        }

        $viewModel = $this->buildView($this->game);
        $viewModel->setVariables(array(
                'rssUrl'         => $rssUrl,
                'user'           => $this->user,
                'availableGames' => $availableGames,
            ));

        return $viewModel;
    }
public function bounceAction ( ) { $ availableGames = $ this -> getGameService ( ) -> getAvailableGames ( $ this -> user ) ; $ rssUrl = '' ; $ config = $ this -> getGameService ( ) -> getServiceManager ( ) -> get ( 'config' ) ; if ( isset ( $ config [ 'rss' ] [ 'url' ] ) ) { $ rssUrl = $ config [ 'rss' ] [ 'url' ] ; } $ viewModel = $ this -> buildView ( $ this -> game ) ; $ viewModel -> setVariables ( array ( 'rssUrl' => $ rssUrl , 'user' => $ this -> user , 'availableGames' => $ availableGames , ) ) ; return $ viewModel ; }
This action takes care of bounce page of the game
This action takes care of bounce page of the game