Class Element
Base class for all Mapbender elements.
This class defines all base methods and required instance methods to implement an Mapbender3 element.
Direct known subclasses
Mapbender\CoreBundle\Element\AboutDialog, Mapbender\CoreBundle\Element\ActivityIndicator, Mapbender\CoreBundle\Element\Overview, Mapbender\CoreBundle\Element\PrintClient, Mapbender\CoreBundle\Element\Ruler, Mapbender\CoreBundle\Element\ScaleBar, Mapbender\CoreBundle\Element\ScaleSelector, Mapbender\CoreBundle\Element\SearchRouter, Mapbender\CoreBundle\Element\SrsSelector, Mapbender\CoreBundle\Element\ZoomBar, Mapbender\KmlBundle\Element\KmlExport, Mapbender\WmcBundle\Element\WmcEditor, Mapbender\CoreBundle\Element\Button, Mapbender\WmcBundle\Element\WmcStorage, Mapbender\WmsBundle\Element\WmsLoader, Mapbender\CoreBundle\Element\CoordinatesDisplay, Mapbender\CoreBundle\Element\Copyright, Mapbender\CoreBundle\Element\FeatureInfo, Mapbender\CoreBundle\Element\GpsPosition, Mapbender\CoreBundle\Element\Layertree, Mapbender\CoreBundle\Element\Legend, Mapbender\CoreBundle\Element\MapNamespace: Mapbender\CoreBundle\Component
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Component/Element.php
public
|
#
__construct(
The constructor. Every element needs an application to live within and the container to do useful things. |
public static
string
|
|
public static
string
|
|
public static
array
|
|
public static
array
|
|
final public
mixed
|
|
final public
|
|
public
object
|
|
public
string
|
|
public
string
|
|
public
string
|
|
abstract public
string
|
|
public
array
|
|
public
array
|
#
getConfiguration( )
Get the publicly exposed configuration, usually directly derived from the configuration field of the configuration entity. If you, for example, store passwords in your element configuration, you should override this method to return a cleaned up version of your configuration which can safely be exposed in the client. |
abstract public
string
|
#
getWidgetName( )
Get the function name of the JavaScript widget for this element. This will be called to initialize the element. |
public
Response
|
|
public static
Symfony\Component\FormTypeInterface
|
|
public static
string
|
|
public static
array
|
|
public static
array
|
#
mergeArrays( array $default, array $main, array $result )
Merges the default configuration array and the configuration array |
public
|
protected
|
$application |
|
#
Application |
protected
ContainterInterface
|
$container |
|
#
Container |
protected
|
$entity |
|
#
Entity |