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

  • BaseDriver
  • DoctrineBaseDriver
  • Oracle
  • PostgreSQL
  • SQLite
  • YAML

Class BaseDriver

Class BaseDriver

Symfony\Component\DependencyInjection\ContainerAware
Extended by Mapbender\DataSourceBundle\Component\Drivers\BaseDriver

Direct known subclasses

Mapbender\DataSourceBundle\Component\Drivers\DoctrineBaseDriver, Mapbender\DataSourceBundle\Component\Drivers\YAML

Indirect known subclasses

Mapbender\DataSourceBundle\Component\Drivers\Oracle, Mapbender\DataSourceBundle\Component\Drivers\PostgreSQL, Mapbender\DataSourceBundle\Component\Drivers\SQLite

Abstract
Namespace: Mapbender\DataSourceBundle\Component\Drivers
Package: Mapbender\DataSourceBundle\Component\Drivers
Author: Andriy Oblivantsev <eslider@gmail.com>
Located at data-source/Component/Drivers/BaseDriver.php

Methods summary

public
# __construct( Symfony\Component\DependencyInjection\ContainerInterface $container, array $args = array() )

BaseDriver constructor.

BaseDriver constructor.

Parameters

$container
$args
public
# setUniqueId( integer $uniqueId )

Parameters

$uniqueId
public array
# getFields( )

Returns

array
array
public array
# setFields( array $fields )

Parameters

$fields

Returns

array
array
public array
# getStoreFields( )

Get fields defined by store

Get fields defined by store

Returns

array
array
public mixed
# getUniqueId( )

Get unique ID field name

Get unique ID field name

Returns

mixed
unique ID
public Mapbender\DataSourceBundle\Entity\DataItem
# create( mixed $args )

Cast DataItem by $args

Cast DataItem by $args

Parameters

$args

Returns

Mapbender\DataSourceBundle\Entity\DataItem
DataItem
public Doctrine\DBAL\Connection|mixed
# getConnection( )

Get connection link

Get connection link

Returns

Doctrine\DBAL\Connection|mixed
Connection|mixed
public integer
# getLastInsertId( )

Returns

integer
int
public static string
# getWktType( mixed $wkt )

Detect (E)WKT geometry type

Detect (E)WKT geometry type

Parameters

$wkt

Returns

string
string
public static string
# roundGeometry( string $geometry, integer $round = 2 )

Round geometry up to $round parameter.

Default: geometry round = 0.2

Parameters

$geometry
WKT
$round
Default=2

Returns

string
WKT

Magic methods summary

Properties summary

protected array $settings

Driver settings

Driver settings

#
protected array $fields

Field to select from the table

Field to select from the table

#array()
protected mixed $uniqueId

Unique id field name

Unique id field name

#'id'
protected Doctrine\DBAL\Connection|mixed $connection
#
Mapbender 3.0.6.1 API documenation API documentation generated by ApiGen 2.8.0