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

  • WmsIndexEvent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: namespace Mapbender\WmsBundle\Event;
 3: use Symfony\Component\EventDispatcher\Event;
 4: 
 5: class WmsIndexEvent extends Event {
 6: 
 7:     /**
 8:      * the List of Wms that was loaded
 9:     */
10:     protected $wmsList;
11: 
12:     /**
13:      * an array of additional columns that should be rendered
14:     */
15:     protected $columns;
16: 
17: 
18:     public function __construct(){
19:         $wmsList = array();
20:         $columns = array();
21:     }
22:     /**
23:      * 
24:      * @param type $wmsList
25:      */
26:     public function setWmsList($wmsList){
27:         $this->wmsList = $wmsList; 
28:     }
29:     
30:     public function getWmsList(){
31:         return $this->wmsList;
32:     }
33: 
34:     public function addColumn($name, $data){
35:         $this->columns[$name] = $data;
36:     }
37: 
38:     public function getColumns(){
39:         return $this->columns; 
40:     }
41: 
42: 
43: 
44: }
45: 
46: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0