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

  • MapbenderWMC
  • WmcHandler
  • WmcParser
  • WmcParser110

Class WmcHandler

Namespace: Mapbender\WmcBundle\Component
Located at Mapbender/WmcBundle/Component/WmcHandler.php

Methods summary

public
# __construct( Mapbender\CoreBundle\Component\Element $element, mixed $application, mixed $container )

Creates a wmc handler

Creates a wmc handler

Parameters

$element
$application
$container
public Mapbender\CoreBundle\Entity\State
# findState( mixed $stateid )

Returns a state from a state id

Returns a state from a state id

Returns

Mapbender\CoreBundle\Entity\State
or null.
public Mapbender\CoreBundle\Entity\State
# saveState( array $jsonState )

Saves and returns a saved state

Saves and returns a saved state

Parameters

$jsonState
a mapbender state

Returns

Mapbender\CoreBundle\Entity\State
or null
public Mapbender\WmcBundle\Entity\Wmc
# getWmc( integer $wmcid, mixed $onlyPublic = TRUE )

Returns a wmc.

Returns a wmc.

Parameters

$wmcid
a Wmc id
$onlyPublic

Returns

Mapbender\WmcBundle\Entity\Wmc
or null.
public Symfony\Component\HttpFoundation\Response
# getWmcList( mixed $onlyPublic = true )

Returns a wmc list

Returns a wmc list

Returns

Symfony\Component\HttpFoundation\Response
\Symfony\Component\HttpFoundation\Response
public string
# getBaseUrl( )

Gets a base url

Gets a base url

Returns

string
a base url
public string
# getWmcUrl( string $filename = null )

Gets a url to wmc directory or to file with "$filename

Gets a url to wmc directory or to file with "$filename

Parameters

$filename

Returns

string
a url to wmc directory or to file with "$filename"
public string|null
# getWmcDir( )

Gets a path to wmc directory

Gets a path to wmc directory

Returns

string|null
path to wmc directory or null
public
# unSignUrls( Mapbender\CoreBundle\Entity\State $state )
public
# signUrls( Mapbender\CoreBundle\Entity\State $state )

Magic methods summary

Properties summary

public static string $WMC_DIR
#"wmc"
protected mixed $element
#
protected mixed $container
#
protected mixed $application
#
Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0