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
  • TranslationController
  • WelcomeController

Class ApplicationController

Application controller.

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

Methods summary

public Symfony\Component\HttpFoundation\Response
# assetsAction( string $slug, string $type )

Asset controller.

Asset controller.

Dumps the assets for the given application and type. These are up to date and this controller will be used during development mode.

Parameters

$slug
Application slug name
$type
Asset type

Returns

Symfony\Component\HttpFoundation\Response
Response

Route("/application/{slug}/assets/{type}")

public
# elementAction( mixed $slug, mixed $id, mixed $action )

Element action controller.

Element action controller.

Passes the request to the element's httpAction.

Route("/application/{slug}/element/{id}/{action}",

defaults={ "id" = null, "action" = null }, requirements={ "action" = ".+" })
public Symfony\Component\HttpFoundation\Response
# applicationAction( string $slug )

Main application controller.

Main application controller.

Parameters

$slug
Application

Returns

Symfony\Component\HttpFoundation\Response
Response

Route("/application/{slug}.{_format}",

defaults={ "_format" = "html" })
public
# configurationAction( mixed $slug )

Main application controller.

Main application controller.

Route("/application/{slug}/config")

public
# checkApplicationAccess( Mapbender\CoreBundle\Component\Application $application )

Check access permissions for given application.

Check access permissions for given application.

This will check if any ACE in the ACL for the given applications entity grants the VIEW permission.

Parameters

$application
public
# metadataAction( mixed $slug )

Metadata controller.

Metadata controller.

Route("/application/{slug}/metadata")

public
# instanceTunnelAction( mixed $slug, mixed $instanceId )

Get SourceInstances via HTTP Basic Authentication

Get SourceInstances via HTTP Basic Authentication

Route("/application/{slug}/instance/{instanceId}/tunnel")

public string
# getCachedAssetPath( mixed $slug, mixed $env, mixed $type )

Parameters

$slug
$env
$type

Returns

string
string
protected array
# getMimeType( string $type )

Get mime type

Get mime type

Parameters

$type

Returns

array
array

Magic methods summary

Mapbender 3.0.6.1 API documenation API documentation generated by ApiGen 2.8.0