Class SearchRouter
SearchRouter element.
- Mapbender\CoreBundle\Component\Element
-
Mapbender\CoreBundle\Element\SearchRouter
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Element/SearchRouter.php
Methods summary
public static
array
|
|
public
Response
|
|
public
Symfony\Component\Form\Form
|
|
public
Symfony\Component\Form\Form
|
|
public
Symfony\Component\Form\FormView
|
|
public
array
|
#
denormalizeConfiguration( array $configuration,
|
protected
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. |
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 |
# "mb.core.searchrouter.class.title" |
protected static
string
|
$description
Element description |
# "mb.core.searchrouter.class.description" |
protected static
string
|
$tags
Element title translation subject |
# array(
"mb.core.searchrouter.tag.search",
"mb.core.searchrouter.tag.router"
) |
protected static
array
|
$defaultConfiguration
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 |
|
protected static
array
|
$defaultRouteConfiguration
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