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

  • Application
  • ApplicationYAMLMapper
  • BoundingBox
  • Element
  • InstanceConfiguration
  • InstanceConfigurationOptions
  • MapbenderBundle
  • ProxyService
  • SQLSearchEngine
  • StateHandler
  • Template
  • Utils

Interfaces

  • InstanceLayerIn
  • SearchEngine
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Interface SearchEngine

Search engine interface for use by search classes used by SearchRouter element.

Namespace: Mapbender\CoreBundle\Component
Author: Christian Wygoda
Located at Mapbender/CoreBundle/Component/SearchEngine.php
Methods summary
public
# __construct( Symfony\Component\DependencyInjection\ContainerInterface $container )

Constructor, receives the DI container for access to everything else.

Constructor, receives the DI container for access to everything else.

Parameters

$container
Symfony\Component\DependencyInjection\ContainerInterface
$container DI container
public array
# autocomplete( string $target, string $term, array $data, string $srs, array $extent )

Autocomplete handler

Autocomplete handler

Parameters

$target
string
$target Field to autocomple for
$term
string
$term Term to autocomplete for
$data
array
$data Values of all form fields
$srs
string
$srs current map srs
$extent
array
$extent current map extent

Returns

array
Autocomplete suggestions with label, value and optionally key attributes
public array
# search( array $conf, array $data, string $srs, array $extent )

Search handler

Search handler

Parameters

$conf
array
$conf Form configuration
$data
array
$data Data: Array with form data array and autocomplete_keys array (may be empty)
$srs
string
$srs current map srs
$extent
array
$extent current map extent

Returns

array
Result set array
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0