Class KmlExport
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
-
Mapbender\KmlBundle\Element\KmlExport
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
|
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
|
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
|
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
array
|
#
getAssets( )
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
|
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.
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.
Returns
array
Overrides
|
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
|
public
string
|
#
render( )
Render the element HTML fragment.
Render the element HTML fragment.
Returns
string
|
Methods inherited from Mapbender\CoreBundle\Component\Element
__construct(),
get(),
getDefaultConfiguration(),
getDescription(),
getEntity(),
getFormAssets(),
getFormTemplate(),
getId(),
getTitle(),
getType(),
mergeArrays(),
postSave(),
set()
|