Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • 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
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • Mapbender
  • MapbenderCoreBundle
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class Mapbender

Mapbender - The central Mapbender3 service. Provides metadata about available elements, layers and templates.

Namespace: Mapbender\CoreBundle
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Mapbender.php
Methods summary
public
# __construct( Symfony\Component\DependencyInjection\ContainerInterface $container )

Mapbender constructor.

Mapbender constructor.

Iterate over all bundles and if is an MapbenderBundle, get list of elements, layers and templates.

Parameters

$container
Symfony\Component\DependencyInjection\ContainerInterface
$container
public array
# getElements( )

Get list of all declared element classes.

Get list of all declared element classes.

Element classes need to be declared in each bundle's main class getElement method.

Returns

array
public array
# getRepositoryManagers( )

Get list of all declared source factories.

Get list of all declared source factories.

Returns

array
public array
# getLayers( )

Get list of all declared layer classes.

Get list of all declared layer classes.

Layer classes need to be declared in each bundle's main class getLayers method.

Returns

array
public array
# getTemplates( )

Get list of all declared template classes.

Get list of all declared template classes.

Template classes need to be declared in each bundle's main class getTemplates method.

Returns

array
public Mapbender\CoreBundle\Component\Application
# getApplication( mixed $slug, mixed $urls )

Get the application for the given slug.

Get the application for the given slug.

Returns either application if it exists, null otherwise. If two applications with the same slug exist, the database one will override the YAML one.

Returns

Mapbender\CoreBundle\Component\Application
public array
# getApplicationEntities( )

Get application entities

Get application entities

Returns

array
public Mapbender\CoreBundle\Entity\Application
# getApplicationEntity( mixed $slug )

Get application entity for given slug

Get application entity for given slug

Returns

Mapbender\CoreBundle\Entity\Application
public static
# getFormTemplate( )

Inheritdoc

Mapbender3 API documenation API documentation generated by ApiGen 2.8.0