Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Controller
      • Form
        • DataTransformer
        • Type
    • MonitoringBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
      • Entity
      • EventListener
      • Form
    • PrintBundle
      • Component
      • Controller
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • EventListener
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • PrintController
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\PrintBundle\Controller;
 4: 
 5: use Symfony\Bundle\FrameworkBundle\Controller\Controller;
 6: use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
 7: use Symfony\Component\HttpFoundation\Response;
 8: use Mapbender\PrintBundle\Component\PrintService;
 9: 
10: 
11: class PrintController extends Controller
12: {
13:     /**
14:      *
15:      * @Route("/")
16:      * 
17:      */
18:     public function serviceAction() 
19:     {      
20:         $content = $this->get('request')->getContent();       
21:         $container = $this->container;   
22:         $printservice = new PrintService($container);
23:         $printservice->doPrint($content);
24:         return new Response(''); 
25:     }
26:     
27: }
28: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0