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

  • WmcHandler
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class WmcHandler

Base class for all Mapbender elements.

This class defines all base methods and required instance methods to implement an Mapbender3 element.

Mapbender\CoreBundle\Component\Element
Extended by Mapbender\WmcBundle\Element\WmcHandler
Namespace: Mapbender\WmcBundle\Element
Author: Christian Wygoda
Located at Mapbender/WmcBundle/Element/WmcHandler.php
Methods summary
public static string
# getClassTitle( )

Returns

string

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getClassTitle()
public static string
# getClassDescription( )

Returns

string

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getClassDescription()
public static array
# getClassTags( )

Returns

array

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getClassTags()
public static array
# getDefaultConfiguration( )

Returns

array

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getDefaultConfiguration()
public static Symfony\Component\FormTypeInterface
# getType( )

Returns

Symfony\Component\FormTypeInterface

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getType()
public static string
# getFormTemplate( )

Returns

string

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getFormTemplate()
public string
# getWidgetName( )

Returns

string

Inheritdoc

public array
# getAssets( )

Returns

array

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getAssets()
public array
# getConfiguration( )

Returns

array

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::getConfiguration()
public string
# render( )

Returns

string

Inheritdoc

public Symfony\Component\HttpFoundation\Response
# httpAction( string $action )

Handle element Ajax requests.

Handle element Ajax requests.

Do your magic here.

Parameters

$action
string
$action The action to perform

Returns

Symfony\Component\HttpFoundation\Response

Overrides

Mapbender\CoreBundle\Component\Element::httpAction()
protected
# loadXml( )
protected
# saveState( )
protected Symfony\Component\HttpFoundation\Response
# loadState( mixed $stateid )

Returns a json encoded state

Returns a json encoded state

Returns

Symfony\Component\HttpFoundation\Response
a json encoded result.
protected Symfony\Component\HttpFoundation\Response
# getWmc( )

Returns a json encoded or html form wmc or error if wmc is not found.

Returns a json encoded or html form wmc or error if wmc is not found.

Returns

Symfony\Component\HttpFoundation\Response
a json encoded result.
protected Symfony\Component\HttpFoundation\Response
# loadWmc( mixed $wmcid )

Returns a json encoded or html form wmc or error if wmc is not found.

Returns a json encoded or html form wmc or error if wmc is not found.

Returns

Symfony\Component\HttpFoundation\Response
a json encoded result.
protected Symfony\Component\HttpFoundation\Response
# removeWmc( )

Returns a json encoded wmc or error if wmc is not found.

Returns a json encoded wmc or error if wmc is not found.

Returns

Symfony\Component\HttpFoundation\Response
a json encoded result.
protected Symfony\Component\HttpFoundation\Response
# getWmcList( )

Returns a html encoded list of all wmc documents

Returns a html encoded list of all wmc documents

Returns

Symfony\Component\HttpFoundation\Response
protected
# saveWmc( )
protected
# getBaseUrl( )
protected
# createWmcDirs( )
Methods inherited from Mapbender\CoreBundle\Component\Element
__construct(), get(), getDescription(), getEntity(), getFormAssets(), getId(), getTitle(), mergeArrays(), postSave(), set()
Properties inherited from Mapbender\CoreBundle\Component\Element
$application, $container, $entity
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0