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

  • WmsInstance
  • WmsInstanceLayer
  • WmsInstanceLayerRepository
  • WmsLayerSource
  • WmsLayerSourceKeyword
  • WmsSource
  • WmsSourceKeyword

Class WmsSource

A WmsSource entity presents an OGC WMS.

Mapbender\CoreBundle\Entity\Source
Extended by Mapbender\WmsBundle\Entity\WmsSource implements Mapbender\CoreBundle\Component\ContainingKeyword
Namespace: Mapbender\WmsBundle\Entity
ORM\Entity
ORM\Table(name="mb_wms_wmssource"): ORM\DiscriminatorMap({"mb_wms_wmssource" = "WmsSource"})
Located at Mapbender/WmsBundle/Entity/WmsSource.php

Methods summary

public
# __construct( )

WmsSource constructor.

WmsSource constructor.

Overrides

Mapbender\CoreBundle\Entity\Source::__construct
public String
# getType( )

Returns

String
type

Inheritdoc

Overrides

Mapbender\CoreBundle\Entity\Source::getType
public Mapbender\WmsBundle\Entity\WmsSource
# setOriginUrl( string $originUrl )

Set originUrl

Set originUrl

Parameters

$originUrl

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getOriginUrl( )

Get originUrl

Get originUrl

public Mapbender\WmsBundle\Entity\WmsSource
# setName( string $name )

Set name

Set name

Parameters

$name

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getName( )

Get name

Get name

public Mapbender\WmsBundle\Entity\WmsSource
# setVersion( string $version )

Set version

Set version

Parameters

$version

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getVersion( )

Get version

Get version

public Mapbender\WmsBundle\Entity\WmsSource
# setOnlineResource( string $onlineResource )

Set onlineResource

Set onlineResource

Parameters

$onlineResource

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getOnlineResource( )

Get onlineResource

Get onlineResource

public Mapbender\WmsBundle\Entity\WmsSource
# setContact( string $contact )

Set contact

Set contact

Parameters

$contact

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getContact( )

Get contact

Get contact

public Mapbender\WmsBundle\Entity\WmsSource
# setFees( string $fees )

Set fees

Set fees

Parameters

$fees

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public string
# getFees( )

Get fees

Get fees

Returns

string
string
public Mapbender\WmsBundle\Entity\WmsSource
# setAccessConstraints( string $accessConstraints )

Set accessConstraints

Set accessConstraints

Parameters

$accessConstraints

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public string
# getAccessConstraints( )

Get accessConstraints

Get accessConstraints

Returns

string
string
public Mapbender\WmsBundle\Entity\WmsSource
# setLayerLimit( integer $layerLimit )

Set layerLimit

Set layerLimit

Parameters

$layerLimit

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public integer
# getLayerLimit( )

Get layerLimit

Get layerLimit

Returns

integer
integer
public Mapbender\WmsBundle\Entity\WmsSource
# setMaxWidth( integer $maxWidth )

Set maxWidth

Set maxWidth

Parameters

$maxWidth

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public integer
# getMaxWidth( )

Get maxWidth

Get maxWidth

Returns

integer
integer
public Mapbender\WmsBundle\Entity\WmsSource
# setMaxHeight( integer $maxHeight )

Set maxHeight

Set maxHeight

Parameters

$maxHeight

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public integer
# getMaxHeight( )

Get maxHeight

Get maxHeight

Returns

integer
integer
public Mapbender\WmsBundle\Entity\WmsSource
# setExceptionFormats( array $exceptionFormats )

Set exceptionFormats

Set exceptionFormats

Parameters

$exceptionFormats

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Entity\WmsSource
# addExceptionFormat( array $exceptionFormat )

Add exceptionFormat

Add exceptionFormat

Parameters

$exceptionFormat

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public array
# getExceptionFormats( )

Get exceptionFormats

Get exceptionFormats

Returns

array
array
public Mapbender\WmsBundle\Entity\WmsSource
# setSupportSld( boolean $supportSld )

Set supportSld

Set supportSld

Parameters

$supportSld

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getSupportSld( )

Get supportSld

Get supportSld

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setUserLayer( boolean $userLayer )

Set userLayer

Set userLayer

Parameters

$userLayer

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getUserLayer( )

Get userLayer

Get userLayer

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setUserStyle( boolean $userStyle )

Set userStyle

Set userStyle

Parameters

$userStyle

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getUserStyle( )

Get userStyle

Get userStyle

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setRemoteWfs( boolean $remoteWfs = null )

Set remoteWfs

Set remoteWfs

Parameters

$remoteWfs

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getRemoteWfs( )

Get remoteWfs

Get remoteWfs

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setInlineFeature( boolean $inlineFeature = null )

Set inlineFeature

Set inlineFeature

Parameters

$inlineFeature

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getInlineFeature( )

Get inlineFeature

Get inlineFeature

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setRemoteWcs( boolean $remoteWcs )

Set remoteWcs

Set remoteWcs

Parameters

$remoteWcs

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public boolean
# getRemoteWcs( )

Get remoteWcs

Get remoteWcs

Returns

boolean
boolean
public Mapbender\WmsBundle\Entity\WmsSource
# setGetCapabilities( Mapbender\WmsBundle\Component\RequestInformation $getCapabilities = NULL )

Set getCapabilities

Set getCapabilities

Parameters

$getCapabilities

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getGetCapabilities( )

Get getCapabilities

Get getCapabilities

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setGetMap( Mapbender\WmsBundle\Component\RequestInformation $getMap = NULL )

Set getMap

Set getMap

Parameters

$getMap

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getGetMap( )

Get getMap

Get getMap

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setGetFeatureInfo( Mapbender\WmsBundle\Component\RequestInformation $getFeatureInfo = NULL )

Set getFeatureInfo

Set getFeatureInfo

Parameters

$getFeatureInfo

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getGetFeatureInfo( )

Get getFeatureInfo

Get getFeatureInfo

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setDescribeLayer( Mapbender\WmsBundle\Component\RequestInformation $describeLayer = NULL )

Set describeLayer

Set describeLayer

Parameters

$describeLayer

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getDescribeLayer( )

Get describeLayer

Get describeLayer

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setGetLegendGraphic( Mapbender\WmsBundle\Component\RequestInformation $getLegendGraphic = NULL )

Set getLegendGraphic

Set getLegendGraphic

Parameters

$getLegendGraphic

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getGetLegendGraphic( )

Get getLegendGraphic

Get getLegendGraphic

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setGetStyles( Mapbender\WmsBundle\Component\RequestInformation $getStyles = NULL )

Set getStyles

Set getStyles

Parameters

$getStyles

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getGetStyles( )

Get getStyles

Get getStyles

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setPutStyles( Mapbender\WmsBundle\Component\RequestInformation $putStyles = NULL )

Set putStyles

Set putStyles

Parameters

$putStyles

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Component\RequestInformation
# getPutStyles( )

Get putStyles

Get putStyles

Returns

Mapbender\WmsBundle\Component\RequestInformation
RequestInformation
public Mapbender\WmsBundle\Entity\WmsSource
# setUsername( string $username )

Set username

Set username

Parameters

$username

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public stirng
# getUsername( )

Get username

Get username

Returns

stirng
stirng
public Mapbender\WmsBundle\Entity\WmsSource
# setPassword( string $password )

Set password

Set password

Parameters

$password

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public
# getPassword( )

Get password

Get password

public Mapbender\WmsBundle\Entity\WmsSource
# setLayers( array $layers )

Set layers

Set layers

Parameters

$layers

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Doctrine\Common\Collections\ArrayCollection|Mapbender\WmsBundle\Entity\WmsLayerSource[]
# getLayers( )

Get layers

Get layers

Returns

Doctrine\Common\Collections\ArrayCollection|Mapbender\WmsBundle\Entity\WmsLayerSource[]
ArrayCollection|WmsLayerSource[]
public Mapbender\WmsBundle\Entity\WmsSource
# addLayer( Mapbender\WmsBundle\Entity\WmsLayerSource $layer )

Add layer

Add layer

Parameters

$layer

Returns

Mapbender\WmsBundle\Entity\WmsSource
WmsSource
public Mapbender\WmsBundle\Entity\WmsLayerSource
# getRootlayer( )

Get root layer

Get root layer

Returns

Mapbender\WmsBundle\Entity\WmsLayerSource
WmsLayerSource
public Mapbender\CoreBundle\Entity\Source
# setKeywords( Doctrine\Common\Collections\ArrayCollection $keywords )

Set keywords

Set keywords

Parameters

$keywords

Returns

Mapbender\CoreBundle\Entity\Source
Source

Implementation of

Mapbender\CoreBundle\Component\ContainingKeyword::setKeywords()
public Doctrine\Common\Collections\ArrayCollection
# getKeywords( )

Get keywords

Get keywords

Returns

Doctrine\Common\Collections\ArrayCollection
ArrayCollection

Implementation of

Mapbender\CoreBundle\Component\ContainingKeyword::getKeywords()
public Mapbender\CoreBundle\Entity\Source
# addKeyword( Mapbender\CoreBundle\Entity\Keyword $keyword )

Add keyword

Add keyword

Parameters

$keyword

Returns

Mapbender\CoreBundle\Entity\Source
Source

Implementation of

Mapbender\CoreBundle\Component\ContainingKeyword::addKeyword()
public mixed
# addInstance( Mapbender\WmsBundle\Entity\WmsInstance $instance )

Add WMS instance

Add WMS instance

Parameters

$instance

Returns

mixed
$this
public
# removeLayer( Mapbender\WmsBundle\Entity\WmsLayerSource $layers )

Remove layers

Remove layers

Parameters

$layers
public string
# getIdentifier( )

Returns

string
source indetifier

Inheritdoc

public Mapbender\CoreBundle\Entity\Source
# setIdentifier( string $identifier )

Parameters

$identifier
the source identifier

Returns

Mapbender\CoreBundle\Entity\Source
the source

Inheritdoc

Methods inherited from Mapbender\CoreBundle\Entity\Source

__toString(), generateUuid(), getAlias(), getClassname(), getDescription(), getId(), getManagertype(), getStatus(), getTitle(), getUuid(), getValid(), setAlias(), setDescription(), setId(), setStatus(), setTitle(), setType(), setValid()

Magic methods summary

Constants summary

Constants inherited from Mapbender\CoreBundle\Entity\Source

STATUS_OK, STATUS_UNREACHABLE, TYPE_TMS, TYPE_WMS, TYPE_WMTS

Properties summary

protected string $originUrl

An origin WMS URL

An origin WMS URL

Assert\NotBlank()

Assert\Url()

ORM\Column(type="string",

nullable=true)
#""
protected string $name

A WMS name

A WMS name

ORM\Column(type="string",

nullable=true)
#""
protected string $version

A WMS version

A WMS version

ORM\Column(type="string",

nullable=true)
#""
protected string $onlineResource

A WMS online resource

A WMS online resource

ORM\Column(type="string",nullable=true)

#
protected Mapbender\CoreBundle\Entity\Contact $contact

A contact.

A contact.

ORM\OneToOne(targetEntity="Mapbender\CoreBundle\Entity\Contact",

cascade={"remove"})
#
protected string $fees

A fees.

A fees.

ORM\Column(type="text",

nullable=true)
#""
protected string $accessConstraints

An access constraints.

An access constraints.

ORM\Column(type="text",nullable=true)

#""
protected integer $layerLimit

A limit of the layers

A limit of the layers

ORM\Column(type="integer",nullable=true)

#
protected integer $maxWidth

A maximum width of the GetMap image

A maximum width of the GetMap image

ORM\Column(type="integer",nullable=true)

#
protected integer $maxHeight

A maximum height of the GetMap image

A maximum height of the GetMap image

ORM\Column(type="integer",nullable=true)

#
protected array $exceptionFormats

A list of supported exception formats

A list of supported exception formats

ORM\Column(type="array",nullable=true)

#array()
protected boolean $supportSld

A SLD support

A SLD support

ORM\Column(type="boolean",

nullable=true)
#false
protected boolean $userLayer

A user layer

A user layer

ORM\Column(type="boolean",

nullable=true)
#false
protected boolean $userStyle

A user layer

A user layer

ORM\Column(type="boolean",

nullable=true)
#false
protected boolean $remoteWfs

A remote WFS

A remote WFS

ORM\Column(type="boolean",

nullable=true)
#false
protected boolean $inlineFeature

A inline feature

A inline feature

ORM\Column(type="boolean",

nullable=true)
#false
protected boolean $remoteWcs

A remote WCS

A remote WCS

ORM\Column(type="boolean",

nullable=true)
#false
protected Mapbender\WmsBundle\Component\RequestInformation $getCapabilities

A request information for the GetCapabilities operation

A request information for the GetCapabilities operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $getMap

A request information for the GetMap operation

A request information for the GetMap operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $getFeatureInfo

A request information for the GetFeatureInfo operation

A request information for the GetFeatureInfo operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $describeLayer

A request information for the DescribeLayer operation

A request information for the DescribeLayer operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $getLegendGraphic

A request information for the GetLegendGraphic operation

A request information for the GetLegendGraphic operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $getStyles

A request information for the GetStyles operation

A request information for the GetStyles operation

ORM\Column(type="object",

nullable=true)
#null
protected Mapbender\WmsBundle\Component\RequestInformation $putStyles

A request information for the PutStyles operation

A request information for the PutStyles operation

ORM\Column(type="object",

nullable=true)
#null
protected string $username

a user name

a user name

ORM\Column(type="string",

nullable=true);
#null
protected string $password

a user password

a user password

ORM\Column(type="string",

nullable=true);
#null
protected Mapbender\WmsBundle\Entity\WmsLayerSource[]|Doctrine\Common\Collections\ArrayCollection $layers

A list of WMS layers

A list of WMS layers

ORM\OneToMany(targetEntity="Mapbender\WmsBundle\Entity\WmsLayerSource",mappedBy="source",

cascade={"remove"})

ORM\OrderBy({"priority"

= "asc","id" = "asc"})
#
protected Doctrine\Common\Collections\ArrayCollection $keywords

A list of WMS keywords

A list of WMS keywords

ORM\OneToMany(targetEntity="WmsSourceKeyword",mappedBy="reference",

cascade={"remove"})

ORM\OrderBy({"value"

= "asc"})
#
protected Doctrine\Common\Collections\ArrayCollection $instances

A list of WMS instances

A list of WMS instances

ORM\OneToMany(targetEntity="Mapbender\WmsBundle\Entity\WmsInstance",mappedBy="source",

cascade={"remove"})
#

Properties inherited from Mapbender\CoreBundle\Entity\Source

$alias, $description, $id, $identifier, $status, $title, $type, $uuid, $valid

Mapbender 3.0.6.2 API documenation API documentation generated by ApiGen 2.8.0