main/core/Listener/Tool/AnalyticsListener.php
public function onDisplayWorkspace(DisplayToolEvent $event)
    {
        $workspace = $event->getWorkspace();

        $content = $this->templating->render(
            'ClarolineCoreBundle:workspace:analytics.html.twig', [
                'workspace' => $workspace,
            ]
        );

        $event->setContent($content);
        $event->stopPropagation();
    }
public function onDisplayWorkspace(DisplayToolEvent $event)
    {
        $workspace = $event->getWorkspace();

        $content = $this->templating->render(
            'ClarolineCoreBundle:workspace:analytics.html.twig', [
                'workspace' => $workspace,
            ]
        );

        $event->setContent($content);
        $event->stopPropagation();
    }
public function onDisplayWorkspace ( DisplayToolEvent $ event ) { $ workspace = $ event -> getWorkspace ( ) ; $ content = $ this -> templating -> render ( 'ClarolineCoreBundle:workspace:analytics.html.twig' , [ 'workspace' => $ workspace , ] ) ; $ event -> setContent ( $ content ) ; $ event -> stopPropagation ( ) ; }
Displays analytics on Workspace.

@DI\Observe("open_tool_workspace_analytics")

@param DisplayToolEvent $event
Displays analytics on Workspace .