Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • KmlBundle
      • Element
    • ManagerBundle
      • Controller
      • Form
        • DataTransformer
        • Type
    • MonitoringBundle
      • Command
      • Component
      • Controller
      • DependencyInjection
      • Entity
      • EventListener
      • Form
    • PrintBundle
      • Component
      • Controller
    • WmcBundle
      • Component
        • Exception
      • Element
        • Type
      • Entity
      • Form
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • Application
  • ApplicationYAMLMapper
  • BoundingBox
  • Element
  • InstanceConfiguration
  • InstanceConfigurationOptions
  • MapbenderBundle
  • ProxyService
  • SQLSearchEngine
  • StateHandler
  • Template
  • Utils

Interfaces

  • InstanceLayerIn
  • SearchEngine
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
  1: <?php
  2: 
  3: namespace Mapbender\CoreBundle\Component;
  4: 
  5: /*
  6:  * To change this template, choose Tools | Templates
  7:  * and open the template in the editor.
  8:  */
  9: 
 10: /**
 11:  * Description of SourceConfiguration
 12:  *
 13:  * @author Paul Schmidt
 14:  */
 15: abstract class InstanceConfiguration
 16: {
 17: 
 18:     /**
 19:      * ORM\Column(type="string", nullable=true)
 20:      */
 21:     //@TODO Doctrine bug: "protected" replaced with "public"
 22:     public $type;
 23: 
 24:     /**
 25:      * ORM\Column(type="integer", nullable=ture)
 26:      */
 27:     //@TODO Doctrine bug: "protected" replaced with "public"
 28:     public $title;
 29: 
 30:     /**
 31:      * ORM\Column(type="text", nullable=true)
 32:      */
 33:     //@TODO Doctrine bug: "protected" replaced with "public"
 34:     public $options;
 35: 
 36:     /**
 37:      * ORM\Column(type="text", nullable=false)
 38:      */
 39:     //@TODO Doctrine bug: "protected" replaced with "public"
 40:     public $children;
 41:     
 42:     /**
 43:      * ORM\Column(type="boolean", nullable=false)
 44:      */
 45:     //@TODO Doctrine bug: "protected" replaced with "public"
 46:     public $isBaseSource = true;
 47: 
 48:     public function __construct()
 49:     {
 50:         $this->options = array();
 51:         $this->children = array();
 52:     }
 53: 
 54:     /**
 55:      * Sets a type
 56:      * 
 57:      * @return SierviceConfiguration 
 58:      */
 59:     public function setType($type)
 60:     {
 61:         $this->type = $type;
 62:         return $this;
 63:     }
 64: 
 65:     /**
 66:      * Returns a type
 67:      * 
 68:      * @return string type
 69:      */
 70:     public function getType()
 71:     {
 72:         return $this->type;
 73:     }
 74: 
 75:     /**
 76:      * Sets a title
 77:      * 
 78:      * @param string $title title
 79:      * @return InstanceConfiguration 
 80:      */
 81:     public function setTitle($title)
 82:     {
 83:         $this->title = $title;
 84:         return $this;
 85:     }
 86: 
 87:     /**
 88:      * Returns a title
 89:      * 
 90:      * @return string title
 91:      */
 92:     public function getTitle()
 93:     {
 94:         return $this->title;
 95:     }
 96: 
 97:     
 98:     
 99:     /**
100:      * Sets a isBaseSource
101:      * 
102:      * @param boolean $isBaseSource isBaseSource
103:      * @return InstanceConfiguration 
104:      */
105:     public function setIsBaseSource($isBaseSource)
106:     {
107:         $this->isBaseSource = $isBaseSource;
108:         return $this;
109:     }
110: 
111:     /**
112:      * Returns a isBaseSource
113:      * 
114:      * @return boolean isBaseSource
115:      */
116:     public function getIsBaseSource()
117:     {
118:         return $this->isBaseSource;
119:     }
120:     
121:     /**
122:      * Sets options
123:      * 
124:      * @param ServiceConfigurationOptions $options ServiceConfigurationOptions
125:      * @return InstanceConfiguration 
126:      */
127:     public abstract function setOptions($options);
128: 
129:     /**
130:      * Returns options
131:      * 
132:      * @return ServiceConfigurationOptions
133:      */
134:     public abstract function getOptions();
135: 
136:     /**
137:      * Sets a children
138:      * 
139:      * @param array $children children
140:      * @return InstanceConfiguration 
141:      */
142:     public abstract function setChildren($children);
143: 
144:     /**
145:      * Returns a title
146:      * 
147:      * @return integer children
148:      */
149:     public abstract function getChildren();
150:     
151:     public abstract function toArray();
152: 
153: }
154: 
155: ?>
156: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0