main/core/Controller/LayoutController.php
public function footerAction()
    {
        // TODO: find the lightest way to get that information
        $version = $this->get('claroline.manager.version_manager')->getDistributionVersion();

        $roleUser = $this->roleManager->getRoleByName('ROLE_USER');
        $selfRegistration = $this->configHandler->getParameter('allow_self_registration') &&
            $this->roleManager->validateRoleInsert(new User(), $roleUser);

        return $this->render('ClarolineCoreBundle:layout:footer.html.twig', [
            'footerMessage' => $this->configHandler->getParameter('footer'),
            'footerLogin' => $this->configHandler->getParameter('footer_login'),
            'footerWorkspaces' => $this->configHandler->getParameter('footer_workspaces'),
            'headerLocale' => $this->configHandler->getParameter('header_locale'),
            'coreVersion' => $version,
            'selfRegistration' => $selfRegistration,
        ]);
    }
public function footerAction()
    {
        // TODO: find the lightest way to get that information
        $version = $this->get('claroline.manager.version_manager')->getDistributionVersion();

        $roleUser = $this->roleManager->getRoleByName('ROLE_USER');
        $selfRegistration = $this->configHandler->getParameter('allow_self_registration') &&
            $this->roleManager->validateRoleInsert(new User(), $roleUser);

        return $this->render('ClarolineCoreBundle:layout:footer.html.twig', [
            'footerMessage' => $this->configHandler->getParameter('footer'),
            'footerLogin' => $this->configHandler->getParameter('footer_login'),
            'footerWorkspaces' => $this->configHandler->getParameter('footer_workspaces'),
            'headerLocale' => $this->configHandler->getParameter('header_locale'),
            'coreVersion' => $version,
            'selfRegistration' => $selfRegistration,
        ]);
    }
public function footerAction ( ) { // TODO: find the lightest way to get that information $ version = $ this -> get ( 'claroline.manager.version_manager' ) -> getDistributionVersion ( ) ; $ roleUser = $ this -> roleManager -> getRoleByName ( 'ROLE_USER' ) ; $ selfRegistration = $ this -> configHandler -> getParameter ( 'allow_self_registration' ) && $ this -> roleManager -> validateRoleInsert ( new User ( ) , $ roleUser ) ; return $ this -> render ( 'ClarolineCoreBundle:layout:footer.html.twig' , [ 'footerMessage' => $ this -> configHandler -> getParameter ( 'footer' ) , 'footerLogin' => $ this -> configHandler -> getParameter ( 'footer_login' ) , 'footerWorkspaces' => $ this -> configHandler -> getParameter ( 'footer_workspaces' ) , 'headerLocale' => $ this -> configHandler -> getParameter ( 'header_locale' ) , 'coreVersion' => $ version , 'selfRegistration' => $ selfRegistration , ] ) ; }
Renders the platform footer.

@return Response
Renders the platform footer .