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

  • ApplicationController
  • GroupController
  • ProxyController
  • TranslationController
  • WelcomeController
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class ApplicationController

Application controller.

Symfony\Bundle\FrameworkBundle\Controller\Controller
Extended by Mapbender\CoreBundle\Controller\ApplicationController
Namespace: Mapbender\CoreBundle\Controller
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Controller/ApplicationController.php
Methods summary
public
# assetsAction( mixed $slug, mixed $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.

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
# applicationAction( mixed $slug )

Main application controller.

Main application controller.

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

defaults={ "_format" = "html" })

Template()

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
Mapbender\CoreBundle\Component\Application
$application
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0