Mapbender 3.0.6.0 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 YAML

Class YAML

Symfony\Component\DependencyInjection\ContainerAware
Extended by Mapbender\DataSourceBundle\Component\Drivers\BaseDriver
Extended by Mapbender\DataSourceBundle\Component\Drivers\YAML implements Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base
Namespace: Mapbender\DataSourceBundle\Component\Drivers
Package: Mapbender\DataSourceBundle\Component\Drivers
Author: Andriy Oblivantsev <eslider@gmail.com>
Located at data-source/Component/Drivers/YAML.php

Methods summary

public Mapbender\DataSourceBundle\Entity\DataItem
# get( integer|string $id, string $fieldName = "" )

Parameters

$id
$fieldName

Returns

Mapbender\DataSourceBundle\Entity\DataItem
DataItem

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::get()
public mixed
# save( array|Mapbender\DataSourceBundle\Entity\DataItem $data, boolean $autoUpdate = true )

Save the data

Save the data

Parameters

$data
$autoUpdate
Create if not exists or update if ID exists

Returns

mixed
mixed

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::save()
public mixed
# remove( mixed $id )

Remove by ID

Remove by ID

Parameters

$id

Returns

mixed
mixed

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::remove()
public mixed
# connect( mixed $url )

Connect to the source

Connect to the source

Parameters

$url

Returns

mixed
mixed

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::connect()
public boolean
# isReady( )

Is the driver connected an ready to interact?

Is the driver connected an ready to interact?

Returns

boolean
bool

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::isReady()
public boolean
# canRead( )

Has permission to read?

Has permission to read?

Returns

boolean
bool

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::canRead()
public boolean
# canWrite( )

Has permission to write?

Has permission to write?

Returns

boolean
bool

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::canWrite()
public Mapbender\DataSourceBundle\Entity\DataItem
# create( mixed $args )

Cast DataItem by $args

Cast DataItem by $args

Parameters

$args

Returns

Mapbender\DataSourceBundle\Entity\DataItem
DataItem

Overrides

Mapbender\DataSourceBundle\Component\Drivers\BaseDriver::create

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::create()
public string
# getPlatformName( )

Get platform name

Get platform name

Returns

string
string

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::getPlatformName()
public mixed
# search( array $criteria, boolean $autoSave = true )

Parameters

$criteria
$autoSave

Returns

mixed
mixed

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::search()
public mixed
# getById( mixed $id )

Get object by ID and field name

Get object by ID and field name

Parameters

$id
ID

Returns

mixed

Implementation of

Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base::getById()

Methods inherited from Mapbender\DataSourceBundle\Component\Drivers\BaseDriver

__construct(), getConnection(), getFields(), getLastInsertId(), getStoreFields(), getUniqueId(), getWktType(), roundGeometry(), setFields(), setUniqueId()

Magic methods summary

Properties summary

Properties inherited from Mapbender\DataSourceBundle\Component\Drivers\BaseDriver

$connection, $fields, $settings, $uniqueId

Mapbender 3.0.6.0 API documenation API documentation generated by ApiGen 2.8.0