Mapbender 3.0.6.3 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • Mapbender
  • MapbenderCoreBundle

Class Mapbender

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

Namespace: Mapbender\CoreBundle
Author: Christian Wygoda
Author: Andriy Oblivantsev
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
public Mapbender\CoreBundle\Component\Element[]
# 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

Mapbender\CoreBundle\Component\Element[]
Element[]
public array
# getRepositoryManagers( )

Get list of all declared source factories.

Get list of all declared source factories.

Returns

array
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
array
public Mapbender\CoreBundle\Component\Template[]
# 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

Mapbender\CoreBundle\Component\Template[]
Template[]
public Doctrine\DBAL\Connection
# getConnection( )

Returns

Doctrine\DBAL\Connection
\Doctrine\DBAL\Connection
public Doctrine\Common\Persistence\ObjectManager|Doctrine\ORM\EntityManager
# getManager( )

Returns

Doctrine\Common\Persistence\ObjectManager|Doctrine\ORM\EntityManager
\Doctrine\Common\Persistence\ObjectManager|\Doctrine\ORM\EntityManager
public Mapbender\CoreBundle\Component\Application
# getApplication( string $slug, array $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.

Parameters

$slug
$urls
Array of runtime URLs

Returns

Mapbender\CoreBundle\Component\Application
Application component
public Mapbender\CoreBundle\Entity\Application[]
# getApplicationEntities( )

Get application entities

Get application entities

Returns

Mapbender\CoreBundle\Entity\Application[]
\Mapbender\CoreBundle\Entity\Application[]
public Mapbender\CoreBundle\Entity\Application
# getApplicationEntity( string $slug )

Get application entity for given slug

Get application entity for given slug

Parameters

$slug

Returns

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

Inheritdoc

public Mapbender\CoreBundle\Component\Application[]
# getYamlApplicationEntities( boolean $onlyPublic = true )

Get public YAML application entities

Get public YAML application entities

Parameters

$onlyPublic
Only public applications?

Returns

Mapbender\CoreBundle\Component\Application[]
Component\Application[]
public Mapbender\CoreBundle\Component\Application[]
# getDatabaseApplicationEntities( )

Get data base entities

Get data base entities

Returns

Mapbender\CoreBundle\Component\Application[]
Application[]
public
# importYamlApplication( string $slug, string|null $newSlug = null, string|null $newTitle = null )

Import YAML application

Import YAML application

Parameters

$slug
Source application slug
$newSlug
New applicatio n slug name
$newTitle
New application title name
public static string
# genServiceHash( string $url, array $queryVars = array() )

Gen unique WMS service hash

Gen unique WMS service hash

Parameters

$url
$queryVars

Returns

string
string

Magic methods summary

Properties summary

protected Doctrine\ORM\EntityManager|Doctrine\Common\Persistence\ObjectManager $manager
#
protected Doctrine\DBAL\Connection $connection
#
protected Mapbender\WmsBundle\Entity\WmsInstanceLayer[][]|Doctrine\Common\Collections\ArrayCollection $sourceLayers
#array()
Mapbender 3.0.6.3 API documenation API documentation generated by ApiGen 2.8.0