Mapbender 3.0.6.2 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 SourceInstance

Direct known subclasses

Mapbender\WmsBundle\Entity\WmsInstance

Abstract
Namespace: Mapbender\CoreBundle\Entity
Author: Karim Malhas
Author: Andriy Oblivantsev <andriy.oblivantsev@wheregroup.com>
ORM\DiscriminatorColumn(name="discr",: type="string") ORM\DiscriminatorMap({"mb_core_sourceinstance" = "SourceInstance"})
ORM\Entity
ORM\InheritanceType("JOINED")
ORM\Table(name="mb_core_sourceinstance")
Located at Mapbender/CoreBundle/Entity/SourceInstance.php

Methods summary

public integer
# getId( )

Returns an id

Returns an id

Returns

integer
id
public string
# getTitle( )

Returns a title

Returns a title

Returns

string
string
public
# setTitle( String $title )

Sets a title

Sets a title

Parameters

$title
public String
# getType( )

Returns a source type

Returns a source type

Returns

String
type
public String
# getManagertype( )

Returns a manager type

Returns a manager type

Returns

String
a manager type
public string
# getClassname( )

Returns a full class name

Returns a full class name

Returns

string
string
public static array
# listAssets( )

Get the source assets.

Get the source assets.

Returns an array of references to asset files of the given type. Assets are grouped by css and javascript. References can either be filenames/path which are searched for in the Resources/public directory of the element's bundle or assetic references indicating the bundle to search in:

array( 'foo.css'), '@MapbenderCoreBundle/Resources/public/foo.css'));

Returns

array
array
public array
# getAssets( )

Get the source assets.

Get the source assets.

This should be a subset of the static function listAssets. Assets can be removed from the overall list depending on the configuration for example. By default, the same list as by listAssets is returned.

Returns

array
array
public mixed
# setWeight( integer $weight )

Sets a weight

Sets a weight

Parameters

$weight

Returns

mixed
$this
public integer
# getWeight( )

Returns a weight

Returns a weight

Returns

integer
integer
public mixed
# setLayerset( Mapbender\CoreBundle\Entity\Layerset $layerset )

Sets the layerset

Sets the layerset

Parameters

$layerset
Layerset

Returns

mixed
$this
public Mapbender\CoreBundle\Entity\Layerset
# getLayerset( )

Returns the layerset

Returns the layerset

Returns

Mapbender\CoreBundle\Entity\Layerset
Layerset
public Mapbender\CoreBundle\Entity\SourceInstance
# setEnabled( integer $enabled )

Sets an enabled

Sets an enabled

Parameters

$enabled

Returns

Mapbender\CoreBundle\Entity\SourceInstance
SourceInstance
public integer
# getEnabled( )

Returns an enabled

Returns an enabled

Returns

integer
integer
public mixed
# setBasesource( boolean $baseSource )

Sets base source

Sets base source

Parameters

$baseSource

Returns

mixed
$this
public boolean
# isBasesource( )

Returns a basesource

Returns a basesource

Returns

boolean
bool
abstract public Mapbender\CoreBundle\Entity\SourceInstance
# setSource( Mapbender\CoreBundle\Entity\Source $source )

Sets source

Sets source

Parameters

$source
Source object

Returns

Mapbender\CoreBundle\Entity\SourceInstance
SourceInstance
abstract public Mapbender\WmsBundle\Entity\WmsSource|Mapbender\CoreBundle\Entity\Source
# getSource( )

Returns source

Returns source

Returns

Mapbender\WmsBundle\Entity\WmsSource|Mapbender\CoreBundle\Entity\Source
\Mapbender\WmsBundle\Entity\WmsSource|Source
abstract public
# setId( integer $id )

Sets an id

Sets an id

Parameters

$id
id
abstract public
# setConfiguration( array $configuration )

Sets a configuration of a source instance

Sets a configuration of a source instance

Parameters

$configuration
configuration of a source instance
abstract public array
# getConfiguration( )

Returns a configuration of a source instance

Returns a configuration of a source instance

Returns

array
instance configuration
abstract public Mapbender\CoreBundle\Component\SourceMetadata
# getMetadata( )

Returns

Mapbender\CoreBundle\Component\SourceMetadata
SourceMetadata
public string
# __toString( )

Returns

string
string

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

$title The source title

ORM\Column(type="string",

nullable=true)
#
protected mixed $layerset

ORM\JoinColumn(name="layerset",

referencedColumnName="id")

ORM\ManyToOne(targetEntity="Layerset",

inversedBy="instances", cascade={"refresh"})
#
protected integer $weight

$weight The sorting weight for display

$weight The sorting weight for display

ORM\Column(type="integer")

#
protected boolean $enabled

ORM\Column(type="boolean",

nullable=true)
#true
protected boolean $basesource

ORM\Column(type="boolean",

nullable=true)
#false
protected Mapbender\CoreBundle\Entity\Source $source

a source

a source

#
Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0