Mapbender 3.0.6.2 API documenation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • FOM
    • CoreBundle
      • Component
      • DependencyInjection
      • Doctrine
        • Types
      • Form
        • DataTransformer
        • Type
    • ManagerBundle
      • Component
      • Configuration
      • Controller
      • DependencyInjection
        • Compiler
      • Form
        • Type
      • Routing
    • UserBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
        • Factory
      • Entity
      • EventListener
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Firewall
  • Mapbender
    • Component
    • CoreBundle
      • Asset
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
          • Application
      • DependencyInjection
        • Compiler
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
      • Tests
        • Controller
      • Utils
      • Validator
        • Constraints
    • DataSourceBundle
      • Component
        • Drivers
          • Interfaces
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Extension
      • Tests
    • DigitizerBundle
      • Component
      • Element
        • Type
      • Entity
      • Utils
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • KmlBundle
      • Element
    • ManagerBundle
      • Component
        • Exception
      • Controller
      • Form
        • DataTransformer
        • Type
      • Template
    • MobileBundle
      • DependencyInjection
      • Template
    • PrintBundle
      • Component
      • Element
        • Type
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
      • Tests
        • Component
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • DataTransformer
        • EventListener
        • Type
      • Entity
      • Event
      • Form
        • DataTransformer
        • EventListener
        • Type
  • None
  • OwsProxy3
    • CoreBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Entity
      • Event
      • EventListener
      • Worker
  • PHP

Classes

  • AboutDialog
  • ActivityIndicator
  • BaseSourceSwitcher
  • Button
  • CoordinatesDisplay
  • Copyright
  • FeatureInfo
  • GpsPosition
  • HTMLElement
  • Layertree
  • Legend
  • Map
  • Overview
  • POI
  • PrintClient
  • Redlining
  • Ruler
  • ScaleBar
  • ScaleDisplay
  • ScaleSelector
  • SearchRouter
  • SimpleSearch
  • Sketch
  • SrsSelector
  • ZoomBar

Class SearchRouter

SearchRouter element.

Mapbender\CoreBundle\Component\Element
Extended by Mapbender\CoreBundle\Element\SearchRouter
Namespace: Mapbender\CoreBundle\Element
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Element/SearchRouter.php

Methods summary

public static array
# listAssets( )

Returns

array
array

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::listAssets
public Response
# httpAction( string $action )

Parameters

$action
The action to perform

Returns

Response
Response

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::httpAction
public Symfony\Component\Form\Form
# getRouteSelectForm( )

Create form for selecting search route (= search form) to display.

Create form for selecting search route (= search form) to display.

Returns

Symfony\Component\Form\Form
Search route select form
public Symfony\Component\Form\Form
# getForms( )

Get all forms.

Get all forms.

Returns

Symfony\Component\Form\Form
Search forms
public Symfony\Component\Form\FormView
# getFormViews( )

Get form views

Get form views

Returns

Symfony\Component\Form\FormView
FormView[]
public array
# denormalizeConfiguration( array $configuration, Mapbender\ManagerBundle\Component\Mapper $mapper )

Parameters

$configuration
element entity configuration
$mapper
a mapper object

Returns

array
a configuration

Inheritdoc

Overrides

Mapbender\CoreBundle\Component\Element::denormalizeConfiguration
protected array
# getFeatureCollection( array & $features )

GeoJSON FeatureCollection

GeoJSON FeatureCollection

Parameters

$features

Returns

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

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
array

Overrides

Mapbender\CoreBundle\Component\Element::getConfiguration

Methods inherited from Mapbender\CoreBundle\Component\Element

__construct(), get(), getAssets(), getClassDescription(), getClassTags(), getClassTitle(), getDefaultConfiguration(), getDefaultElement(), getDescription(), getElementForm(), getEntity(), getFormAssets(), getFormTemplate(), getId(), getTemplateName(), getTitle(), getType(), getWidgetName(), mergeArrays(), normalizeConfiguration(), postSave(), render(), set(), trans(), updateAppConfig()

Magic methods summary

Constants summary

string FEATURE_DEFAULT_COLOR
#"#33CCFF"
string FEATURE_SELECT_COLOR
#"#ff0000"
float FEATURE_OPACITY
#0.8
integer FEATURE_BUFFER
#1000
string GEOM_FIELD_NAME
#"geom"
string DEFAULT_SEARCH_ENGINE
#"Mapbender\\CoreBundle\\Component\\SQLSearchEngine"
string DEFAULT_CONNECTION_NAME
#"default"
string DEFAULT_ROUTE_TITLE
#"mb.core.searchrouter.tag.search"

Properties summary

protected static string $title

Element title

Element title

#"mb.core.searchrouter.class.title"
protected static string $description

Element description

Element description

#"mb.core.searchrouter.class.description"
protected static string $tags

Element title translation subject

Element title translation subject

#array( "mb.core.searchrouter.tag.search", "mb.core.searchrouter.tag.router" )
protected static array $defaultConfiguration

Element default configuration

Element default configuration

#array( 'tooltip' => "mb.core.searchrouter.class.title", 'title' => "mb.core.searchrouter.class.title", "target" => null, // Alternative "timeout" option is deprecated 'timeoutFactor' => 3, "width" => 700, "height" => 500, "routes" => array(), // Alternative "dialog" is deprecated "asDialog" => false )
protected Symfony\Component\Form\Form $forms

Element search forms

Element search forms

#
protected static array $defaultRouteConfiguration

Default route configuration

Default route configuration

#array( "title" => self::DEFAULT_ROUTE_TITLE, "class" => self::DEFAULT_SEARCH_ENGINE, "class_options" => array( "connection" => self::DEFAULT_CONNECTION_NAME, "relation" => "geometries", "attributes" => array("*"), "geometry_attribute" => self::GEOM_FIELD_NAME, ), "results" => array( "view" => "table", "count" => "true", "headers" => array(), "callback" => array( "event" => "click", "options" => array( "buffer" => self::FEATURE_BUFFER, "minScale" => null, "maxScale" => null ) ) ), "styleMap" => array( "default" => array( "strokeColor" => self::FEATURE_DEFAULT_COLOR, "fillColor" => self::FEATURE_DEFAULT_COLOR, "fillOpacity" => self::FEATURE_OPACITY ), "select" => array( "strokeColor" => self::FEATURE_SELECT_COLOR, "fillColor" => self::FEATURE_SELECT_COLOR, "fillOpacity" => self::FEATURE_OPACITY ), ) )

Properties inherited from Mapbender\CoreBundle\Component\Element

$application, $classNameParts, $container, $entity, $ext_api, $merge_configurations

Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0