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

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

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
Extended by Mapbender\KmlBundle\Element\KmlExport
Namespace: Mapbender\KmlBundle\Element
Author: Christian Wygoda
Located at Mapbender/KmlBundle/Element/KmlExport.php
Methods summary
public string
# getTitle( )

Get the element title

Get the element title

Returns

string

Overrides

Mapbender\CoreBundle\Component\Element::getTitle()
public string
# getDescription( )

Get the element description

Get the element description

Returns

string

Overrides

Mapbender\CoreBundle\Component\Element::getDescription()
public
# getTags( )
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.

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

Mapbender\CoreBundle\Component\Element::getConfiguration()
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(), getClassDescription(), getClassTags(), getClassTitle(), getDefaultConfiguration(), getEntity(), getFormAssets(), getFormTemplate(), getId(), 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