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
  • Contact
  • Element
  • ElementRepository
  • Keyword
  • Layerset
  • RegionProperties
  • Source
  • SourceInstance
  • SourceInstanceItem
  • SourceItem
  • SRS
  • State

Class Layerset

Layerset configuration entity

Namespace: Mapbender\CoreBundle\Entity
Author: Christian Wygoda
ORM\Entity
ORM\Table(name="mb_core_layerset",: uniqueConstraints={@UniqueConstraint(name="layerset_idx", columns={"application_id", "title"})})
UniqueEntity(fields={"application",: "title"}, message ="Duplicate entry for key 'title'.")
Located at Mapbender/CoreBundle/Entity/Layerset.php

Methods summary

public
# __construct( )

Layerset constructor.

Layerset constructor.

public mixed
# setId( mixed $id )

Set id. DANGER

Set id. DANGER

Set the entity id. DO NOT USE THIS unless you know what you're doing. Probably the only place where this should be used is in the ApplicationYAMLMapper class. Maybe this could be done using a proxy class instead?

Parameters

$id

Returns

mixed
$this
public integer
# getId( )

Get id

Get id

Returns

integer
integer
public mixed
# setTitle( string $title )

Set title

Set title

Parameters

$title

Returns

mixed
$this
public string
# getTitle( )

Get title

Get title

Returns

string
string
public mixed
# setApplication( Mapbender\CoreBundle\Entity\Application $application )

Set application

Set application

Parameters

$application

Returns

mixed
$this
public Mapbender\CoreBundle\Entity\Application
# getApplication( )

Get application

Get application

Returns

Mapbender\CoreBundle\Entity\Application
Application
public
# addInstance( Mapbender\CoreBundle\Entity\SourceInstance $instance )

Add SourceInstance

Add SourceInstance

Parameters

$instance
public Mapbender\CoreBundle\Entity\Layerset
# setInstances( Doctrine\Common\Collections\Collection $instances )

Set instances

Set instances

Parameters

$instances
Collection of the SourceInstances

Returns

Mapbender\CoreBundle\Entity\Layerset
Layerset
public Mapbender\WmsBundle\Entity\WmsInstance[]|Mapbender\CoreBundle\Entity\SourceInstance[]|Doctrine\Common\Collections\ArrayCollection
# getInstances( )

Get instances

Get instances

Returns

Mapbender\WmsBundle\Entity\WmsInstance[]|Mapbender\CoreBundle\Entity\SourceInstance[]|Doctrine\Common\Collections\ArrayCollection
\Mapbender\WmsBundle\Entity\WmsInstance[]|SourceInstance[]|ArrayCollection
public string
# __toString( )

Returns

string
Layerset ID

Magic methods summary

Properties summary

protected integer $id

$id

$id

ORM\Column(type="integer")

ORM\GeneratedValue(strategy="AUTO")

ORM\Id

#
protected string $title

$title The layerset title

$title The layerset title

Assert\NotBlank()

ORM\Column(type="string",

length=128)
#
protected Mapbender\CoreBundle\Entity\Application $application

The configuration entity for the application

The configuration entity for the application

ORM\ManyToOne(targetEntity="Application",

inversedBy="layersets")
#
protected mixed $instances

ORM\JoinColumn(name="instances",

referencedColumnName="id")

ORM\OneToMany(targetEntity="SourceInstance",

mappedBy="layerset", cascade={"remove"})

ORM\OrderBy({"weight"

= "asc"})
#
public Mapbender\WmsBundle\Entity\WmsInstance[]|Mapbender\CoreBundle\Entity\SourceInstance[] $layerObjects
#
Mapbender 3.0.6.1 API documenation API documentation generated by ApiGen 2.8.0