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

  • Fullscreen
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\CoreBundle\Template;
 4: 
 5: use Mapbender\CoreBundle\Component\Template;
 6: 
 7: /**
 8:  * Template Fullscreen
 9:  * 
10:  * @author Christian Wygoda
11:  */
12: class Fullscreen extends Template
13: {
14: 
15:     /**
16:      * @inheritdoc
17:      */
18:     public static function getTitle()
19:     {
20:         return 'Fullscreen template';
21:     }
22: 
23:     /**
24:      * @inheritdoc
25:      */
26:     public function getAssets($type)
27:     {
28:         parent::getAssets($type);
29:         $assets = array(
30:             'css' => array('@FOMCoreBundle/Resources/public/css/frontend/fullscreen.css'),
31:             'js' => array(),
32:         );
33: 
34:         return $assets[$type];
35:     }
36: 
37:     /**
38:      * @inheritdoc
39:      */
40:     public static function getRegions()
41:     {
42:         return array('toolbar', 'sidepane', 'content', 'footer');
43:     }
44: 
45:     /**
46:      * @inheritdoc
47:      */
48:     public function render($format = 'html', $html = true, $css = true,
49:             $js = true)
50:     {
51:         $templating = $this->container->get('templating');
52:         return $templating
53:                         ->render('MapbenderCoreBundle:Template:fullscreen.html.twig',
54:                                  array(
55:                             'html' => $html,
56:                             'css' => $css,
57:                             'js' => $js,
58:                             'application' => $this->application));
59:     }
60: 
61: }
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0