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

  • Application
  • ApplicationYAMLMapper
  • BoundingBox
  • Element
  • EntityHandler
  • InstanceConfiguration
  • InstanceConfigurationOptions
  • KeywordUpdater
  • MapbenderBundle
  • ProxyService
  • SecurityContext
  • Signer
  • Size
  • SourceEntityHandler
  • SourceInstanceEntityHandler
  • SourceInstanceItemEntityHandler
  • SourceItemEntityHandler
  • SourceMetadata
  • SQLSearchEngine
  • StateHandler
  • Template
  • Utils
  • XmlValidator

Interfaces

  • ContainingKeyword
  • ExtendedCollection
  • SearchEngine

Class EntityHandler

Description of EntityHandler

Direct known subclasses

Mapbender\CoreBundle\Component\SourceEntityHandler, Mapbender\CoreBundle\Component\SourceInstanceEntityHandler, Mapbender\CoreBundle\Component\SourceInstanceItemEntityHandler, Mapbender\CoreBundle\Component\SourceItemEntityHandler

Indirect known subclasses

Mapbender\WmsBundle\Component\WmsInstanceEntityHandler, Mapbender\WmsBundle\Component\WmsInstanceLayerEntityHandler, Mapbender\WmsBundle\Component\WmsLayerSourceEntityHandler, Mapbender\WmsBundle\Component\WmsSourceEntityHandler

Namespace: Mapbender\CoreBundle\Component
Author: Paul Schmidt
Located at Mapbender/CoreBundle/Component/EntityHandler.php

Methods summary

public
# __construct( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $entity )

EntityHandler constructor.

EntityHandler constructor.

Parameters

$container
$entity
public mixed|Mapbender\CoreBundle\Entity\SourceInstance|null
# getEntity( )

Returns

mixed|Mapbender\CoreBundle\Entity\SourceInstance|null
mixed|SourceInstance|null
public Symfony\Component\DependencyInjection\ContainerInterface
# getContainer( )

Returns

Symfony\Component\DependencyInjection\ContainerInterface
ContainerInterface
public
# save( )

Persists the entity

Persists the entity

public
# remove( )

Removes the entity from a database

Removes the entity from a database

public static object
# find( Symfony\Component\DependencyInjection\ContainerInterface $container, string $entityClass, integer|string $entityId )

Find entity by class name and ID

Find entity by class name and ID

Parameters

$container
$entityClass
$entityId

Returns

object
object
public static Mapbender\WmsBundle\Component\WmsInstanceEntityHandler|Mapbender\CoreBundle\Component\SourceInstanceEntityHandler|null
# createHandler( Symfony\Component\DependencyInjection\ContainerInterface $container, Mapbender\CoreBundle\Entity\Source|Mapbender\CoreBundle\Entity\SourceInstance|object $entity )

Parameters

$container
$entity

Returns

Mapbender\WmsBundle\Component\WmsInstanceEntityHandler|Mapbender\CoreBundle\Component\SourceInstanceEntityHandler|null
\Mapbender\WmsBundle\Component\WmsInstanceEntityHandler|SourceInstanceEntityHandler|null
public null|Symfony\Component\HttpKernel\Bundle\BundleInterface
# getBundle( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $entity )

Parameters

$container
$entity

Returns

null|Symfony\Component\HttpKernel\Bundle\BundleInterface
null|\Symfony\Component\HttpKernel\Bundle\BundleInterface
public string
# getUniqueValue( mixed $entity, string $uniqueField, string $toUniqueValue, string $suffix = "" )

Returns an unique value for an unique field.

Returns an unique value for an unique field.

Parameters

$entity
entity object | entity class name
$uniqueField
name of the unique field
$toUniqueValue
value to the unique field
$suffix
suffix to generate an unique value

Returns

string
an unique value
public static boolean
# isEntity( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $entity )

Is entity a database entity?

Is entity a database entity?

Parameters

$container
$entity

Returns

boolean
bool
public static array|Doctrine\Common\Collections\ArrayCollection
# findAll( Symfony\Component\DependencyInjection\ContainerInterface $container, mixed $entityClass, array $criteria = array(), null $accessControl = null )

Fins all entities

Fins all entities

Parameters

$container
$entityClass
$criteria
$accessControl

Returns

array|Doctrine\Common\Collections\ArrayCollection
array|ArrayCollection

Magic methods summary

Properties summary

protected Symfony\Component\DependencyInjection\ContainerInterface $container

container

container

#
protected Mapbender\CoreBundle\Entity\SourceInstanceItem $entity

entity

entity

#
Mapbender 3.0.6.1 API documenation API documentation generated by ApiGen 2.8.0