Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • 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
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • WmcEditor
  • WmcStorage
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class WmcStorage

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\WmcStorage
Namespace: Mapbender\WmcBundle\Element
Author: Christian Wygoda
Located at Mapbender/WmcBundle/Element/WmcStorage.php
Methods summary
public static string
# getClassTitle( )

Returns the element class title

Returns the element class title

This is primarily used in the manager backend when a list of available elements is given.

Returns

string

Overrides

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

Returns the element class description.

Returns the element class description.

This is primarily used in the manager backend when a list of available elements is given.

Returns

string

Overrides

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

Returns the element class tags.

Returns the element class tags.

These tags are used in the manager backend to quickly filter the list of available elements.

Returns

array

Overrides

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

Get the element assets.

Get the element assets.

Returns an array of references to asset files of the given type. Assets are grouped by css and javascript. References can either be filenames/path which are searched for in the Resources/public directory of the element's bundle or assetic references indicating the bundle to search in:

array( 'foo.css'), '@MapbenderCoreBundle/Resources/public/foo.css'));

Returns

array

Overrides

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

Returns the default element options.

Returns the default element options.

You should specify all allowed options here with their default value.

Returns

array

Overrides

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

Get the function name of the JavaScript widget for this element. This will be called to initialize the element.

Get the function name of the JavaScript widget for this element. This will be called to initialize the element.

Returns

string
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()
public string
# render( )

Render the element HTML fragment.

Render the element HTML fragment.

Returns

string
Methods inherited from Mapbender\CoreBundle\Component\Element
__construct(), get(), getConfiguration(), getDescription(), getEntity(), getFormAssets(), getFormTemplate(), getId(), getTitle(), getType(), mergeArrays(), postSave(), set()
Properties inherited from Mapbender\CoreBundle\Component\Element
$application, $container, $entity
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0