framework/RedKiteCms/Rendering/Controller/Security/ShowUserController.php
public function show(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);


        $userName = "admin";

        $templateAssets = $this->options["template_assets"];
        $templateAssets->boot('dashboard');
        $template = 'RedKiteCms/Resources/views/Dashboard/user.html.twig';

        return $options["twig"]->render(
            $template,
            array(
                "template_assets_manager" => $templateAssets,
                "user" => $userName,
                "version" => ConfigurationHandler::getVersion(),
            )
        );
    }
public function show(array $options)
    {
        $resolver = new OptionsResolver();
        $this->configureOptions($resolver);
        $this->options = $resolver->resolve($options);


        $userName = "admin";

        $templateAssets = $this->options["template_assets"];
        $templateAssets->boot('dashboard');
        $template = 'RedKiteCms/Resources/views/Dashboard/user.html.twig';

        return $options["twig"]->render(
            $template,
            array(
                "template_assets_manager" => $templateAssets,
                "user" => $userName,
                "version" => ConfigurationHandler::getVersion(),
            )
        );
    }
public function show ( array $ options ) { $ resolver = new OptionsResolver ( ) ; $ this -> configureOptions ( $ resolver ) ; $ this -> options = $ resolver -> resolve ( $ options ) ; $ userName = "admin" ; $ templateAssets = $ this -> options [ "template_assets" ] ; $ templateAssets -> boot ( 'dashboard' ) ; $ template = 'RedKiteCms/Resources/views/Dashboard/user.html.twig' ; return $ options [ "twig" ] -> render ( $ template , array ( "template_assets_manager" => $ templateAssets , "user" => $ userName , "version" => ConfigurationHandler :: getVersion ( ) , ) ) ; }
Implements the action to show the user dashboard interface
@param array $options

@return \Symfony\Component\HttpFoundation\Response
Implements the action to show the user dashboard interface @param array $options