Mapbender 3.0.6.1 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

  • ApplicationController
  • ElementController
  • RepositoryController

Class ApplicationController

Mapbender application management

Symfony\Bundle\FrameworkBundle\Controller\Controller
Extended by Mapbender\CoreBundle\Controller\WelcomeController
Extended by Mapbender\ManagerBundle\Controller\ApplicationController
Namespace: Mapbender\ManagerBundle\Controller
Author: Christian Wygoda <christian.wygoda@wheregroup.com>
Author: Andreas Schmitz <andreas.schmitz@wheregroup.com>
Author: Paul Schmitd <paul.schmidt@wheregroup.com>
Author: Andriy Oblivantsev <andriy.oblivantsev@wheregroup.com>
Located at Mapbender/ManagerBundle/Controller/ApplicationController.php

Methods summary

public
# indexAction( )

Render a list of applications the current logged in user has access to.

Render a list of applications the current logged in user has access to.

ManagerRoute("/applications")

Method("GET")

Template("MapbenderCoreBundle:Welcome:list.html.twig")

public
# newAction( )

Shows form for creating new applications

Shows form for creating new applications

ManagerRoute("/application/new")

Method("GET")

Template

public
# exportFormAction( )

Shows a form for exporting applications.

Shows a form for exporting applications.

ManagerRoute("/application/export")

Method("GET")

Template("MapbenderManagerBundle:Application:export.html.twig")

public
# exportAction( )

Returns serialized application.

Returns serialized application.

ManagerRoute("/application/export")

Method("POST")

Template()

public
# importFormAction( )

Shows a form for importing applications.

Shows a form for importing applications.

ManagerRoute("/application/import")

Method("GET")

Template("MapbenderManagerBundle:Application:import.html.twig")

public
# importAction( )

Imports serialized application.

Imports serialized application.

ManagerRoute("/application/import")

Method("POST")

Template

public Symfony\Component\HttpFoundation\RedirectResponse
# copyDirectlyAction( mixed $slug )

Copies an application

Copies an application

Parameters

$slug

Returns

Symfony\Component\HttpFoundation\RedirectResponse
\Symfony\Component\HttpFoundation\RedirectResponse

Throws

Mapbender\ManagerBundle\Component\Exception\ImportException
\Mapbender\ManagerBundle\Component\Exception\ImportException

ManagerRoute("/application/{slug}/copydirectly",

requirements = { "slug" = "[\w-]+" })

Method("GET")

Template("MapbenderManagerBundle:Application:form-basic.html.twig")

public
# createAction( )

Create a new application from POSTed data

Create a new application from POSTed data

ManagerRoute("/application")

Method("POST")

Template("MapbenderManagerBundle:Application:new.html.twig")

public array
# editAction( string $slug )

Edit application

Edit application

Parameters

$slug
Application name

Returns

array
array

Throws

Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException
\Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException

ManagerRoute("/application/{slug}/edit",

requirements = { "slug" = "[\w-]+" })

Method("GET")

Template

public
# updateAction( mixed $slug )

Updates application

Updates application

ManagerRoute("/application/{slug}/update",

requirements = { "slug" = "[\w-]+" })

Method("POST")

Template("MapbenderManagerBundle:Application:edit.html.twig")

public
# copyformAction( mixed $slug )

Creates an application form to copy

Creates an application form to copy

ManagerRoute("/application/{slug}/copyform",

requirements = { "slug" = "[\w-]+" })

Method("GET")

Template("MapbenderManagerBundle:Application:form-basic.html.twig")

public
# toggleStateAction( mixed $slug )

Toggle application state.

Toggle application state.

ManagerRoute("/application/{slug}/state",

options={"expose"=true})

Method("POST")

public array|Symfony\Component\HttpFoundation\RedirectResponse
# confirmDeleteAction( mixed $slug )

Delete confirmation page

Delete confirmation page

Parameters

$slug

Returns

array|Symfony\Component\HttpFoundation\RedirectResponse
array|\Symfony\Component\HttpFoundation\RedirectResponse

ManagerRoute("/application/{slug}/delete",

requirements = { "slug" = "[\w-]+" })

Method("GET")

Template("MapbenderManagerBundle:Application:delete.html.twig")

public
# deleteAction( mixed $slug )

Delete application

Delete application

ManagerRoute("/application/{slug}/delete",

requirements = { "slug" = "[\w-]+" })

Method("POST")

public
# newLayersetAction( mixed $slug )

Create a form for a new layerset

Create a form for a new layerset

ManagerRoute("/application/{slug}/layerset/new")

Method("GET")

Template("MapbenderManagerBundle:Application:form-layerset.html.twig")

public
# editLayersetAction( mixed $slug, mixed $layersetId )

Create a new layerset from POSTed data

Create a new layerset from POSTed data

ManagerRoute("/application/{slug}/layerset/{layersetId}/edit")

Method("GET")

Template("MapbenderManagerBundle:Application:form-layerset.html.twig")

public
# saveLayersetAction( mixed $slug, mixed $layersetId = null )

Create a new layerset from POSTed data

Create a new layerset from POSTed data

ManagerRoute("/application/{slug}/layerset/create")

ManagerRoute("/application/{slug}/layerset/{layersetId}/save")

Method("POST")

Template("MapbenderManagerBundle:Application:form-layerset.html.twig")

public
# confirmDeleteLayersetAction( mixed $slug, mixed $layersetId )

A confirmation page for a layerset

A confirmation page for a layerset

ManagerRoute("/application/{slug}/layerset/{layersetId}/confirmdelete")

Method("GET")

Template("MapbenderManagerBundle:Application:deleteLayerset.html.twig")

public
# deleteLayersetAction( mixed $slug, mixed $layersetId )

Delete a layerset

Delete a layerset

ManagerRoute("/application/{slug}/layerset/{layersetId}/delete")

Method("POST")

public array
# listSourcesAction( string $slug, integer $layersetId, Symfony\Component\HttpFoundation\Request $request )

Add a new SourceInstance to the Layerset

Add a new SourceInstance to the Layerset

Parameters

$slug
Application slug
$layersetId
Layer set ID
$request

Returns

array
array

ManagerRoute("/application/{slug}/layerset/{layersetId}/list")

Method("GET")

Template("MapbenderManagerBundle:Application:list-source.html.twig")

public Symfony\Component\HttpFoundation\RedirectResponse
# addInstanceAction( string $slug, integer $layersetId, integer $sourceId, Symfony\Component\HttpFoundation\Request $request )

Add a new SourceInstance to the Layerset

Add a new SourceInstance to the Layerset

Parameters

$slug
Application slug
$layersetId
Layer set ID
$sourceId
Layer set source ID
$request

Returns

Symfony\Component\HttpFoundation\RedirectResponse
\Symfony\Component\HttpFoundation\RedirectResponse

Throws

Doctrine\DBAL\ConnectionException
\Doctrine\DBAL\ConnectionException

ManagerRoute("/application/{slug}/layerset/{layersetId}/source/{sourceId}/add")

Method("GET")

public Symfony\Component\HttpFoundation\Response
# deleteInstanceAction( sting $slug, integer $layersetId, integer $instanceId )

Delete a source instance from a layerset

Delete a source instance from a layerset

Parameters

$slug
$layersetId
$instanceId

Returns

Symfony\Component\HttpFoundation\Response
Response

Throws

Exception
\Exception

ManagerRoute("/application/{slug}/layerset/{layersetId}/instance/{instanceId}/delete")

Method("POST")

protected Mapbender\CoreBundle\Entity\RegionProperties
# createRegionProperties( Mapbender\CoreBundle\Entity\Application $application, mixed $regionName, array $initValues = null )

Create application region properties

Create application region properties

Parameters

$application
$regionName
$initValues

Returns

Mapbender\CoreBundle\Entity\RegionProperties
RegionProperties
protected array
# prepareApplicationUpdate( Symfony\Component\Form\Form $form, Mapbender\CoreBundle\Entity\Application $application )

Parameters

$form
$application

Returns

array
array

Methods inherited from Mapbender\CoreBundle\Controller\WelcomeController

getContext(), listAction(), translate()

Magic methods summary

Mapbender 3.0.6.1 API documenation API documentation generated by ApiGen 2.8.0