Mapbender 3.0.6.3 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 Element

Element configuration entity

Namespace: Mapbender\CoreBundle\Entity
Author: Christian Wygoda <christian.wygoda@wheregroup.com>
Author: Andriy Oblivantsev <andriy.oblivantsev@wheregroup.com>
ORM\Entity(repositoryClass="ElementRepository")
ORM\Table(name="mb_core_element")
Located at Mapbender/CoreBundle/Entity/Element.php

Methods summary

public
# __construct( )

Element constructor.

Element 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
# setClass( string $class )

Set class

Set class

Parameters

$class

Returns

mixed
$this
public string
# getClass( )

Get class

Get class

Returns

string
string
public mixed
# setConfiguration( array $configuration )

Set configuration

Set configuration

Parameters

$configuration

Returns

mixed
$this
public array
# getConfiguration( )

Get configuration

Get configuration

Returns

array
array
public mixed
# setRegion( string $region )

Set region

Set region

Parameters

$region

Returns

mixed
$this
public string
# getRegion( )

Get region

Get region

Returns

string
string
public mixed
# setEnabled( boolean $enabled )

Set enabled

Set enabled

Parameters

$enabled

Returns

mixed
$this
public boolean
# getEnabled( )

Is enabled?

Is enabled?

Returns

boolean
boolean
public mixed
# setWeight( integer $weight )

Set weight

Set weight

Parameters

$weight

Returns

mixed
$this
public integer
# getWeight( )

Get weight

Get weight

Returns

integer
integer
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
\Mapbender\CoreBundle\Entity\Application
public string
# __toString( )

Returns

string
Element ID
public array
# getYamlRoles( )

Returns

array
array
public
# setYamlRoles( array $yamlRoles )

Parameters

$yamlRoles
public string|null
# getDescription( )

Returns

string|null
string|null

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 element title

$title The element title

Assert\NotBlank()

ORM\Column(type="string",

length=128)
#
protected string $class

$class The element class

$class The element class

ORM\Column(type="string",

length=1024)
#
protected array $configuration

$configuration The element configuration

$configuration The element configuration

ORM\Column(type="array",

nullable=true)
#
protected Mapbender\CoreBundle\Entity\Application $application

The configuration entity for the application

The configuration entity for the application

ORM\ManyToOne(targetEntity="Application",

inversedBy="elements")
#
protected string $region

$region The template region for the element

$region The template region for the element

ORM\Column()

#
protected boolean $enabled

ORM\Column(type="boolean",

nullable=true)
#true
protected integer $weight

$weight The sorting weight for display

$weight The sorting weight for display

ORM\Column(type="integer")

#
protected array $yamlRoles
#
Mapbender 3.0.6.3 API documenation API documentation generated by ApiGen 2.8.0