Overview

Namespaces

  • Mapbender
    • Component
      • HTTP
    • CoreBundle
      • Command
      • Component
        • Exception
      • Controller
      • DataFixtures
        • ORM
      • DependencyInjection
      • Element
        • Type
      • Entity
      • EventListener
      • Extension
      • Form
        • DataTransformer
        • EventListener
        • Type
      • Security
      • Template
    • DrupalIntegrationBundle
      • DependencyInjection
      • Security
        • Authentication
          • Provider
          • Token
        • Authorization
          • Voter
        • Factory
        • Firewall
        • User
      • Session
    • 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
        • EventListener
        • Type
    • WmsBundle
      • Component
        • Exception
      • Controller
      • DependencyInjection
      • Element
        • Type
      • Entity
      • Event
      • Form
        • EventListener
        • Type
    • WmtsBundle
      • Component
        • Exception
      • Controller
      • Entity
      • Form
        • Type
  • None
  • PHP

Classes

  • AboutDialog
  • ActivityIndicator
  • Button
  • CoordinatesDisplay
  • Copyright
  • FeatureInfo
  • GpsPosition
  • Layertree
  • Legend
  • Map
  • Overview
  • PrintClient
  • Ruler
  • ScaleBar
  • ScaleDisplay
  • ScaleSelector
  • SearchRouter
  • SrsSelector
  • ZoomBar
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\CoreBundle\Element;
 4: 
 5: use Mapbender\CoreBundle\Component\Element;
 6: 
 7: /**
 8:  * Activity indicator
 9:  *
10:  * @author Christian Wygoda
11:  */
12: class ActivityIndicator extends Element
13: {
14: 
15:     /**
16:      * @inheritdoc
17:      */
18:     static function getClassTitle()
19:     {
20:         return "Activity Indicator";
21:     }
22: 
23:     /**
24:      * @inheritdoc
25:      */
26:     static function getClassDescription()
27:     {
28:         return "Shows HTTP activity";
29:     }
30: 
31:     /**
32:      * @inheritdoc
33:      */
34:     static function getClassTags()
35:     {
36:         return array("Activity", "Indicator");
37:     }
38: 
39:     /**
40:      * @inheritdoc
41:      */
42:     static function getDefaultConfiguration()
43:     {
44:         return array(
45:             'tooltip' => 'background activity',
46:             'activityClass' => 'mb-activity',
47:             'ajaxActivityClass' => 'mb-activity-ajax',
48:             'tileActivityClass' => 'mb-activity-tile');
49:     }
50: 
51:     /**
52:      * @inheritdoc
53:      */
54:     public function getWidgetName()
55:     {
56:         return 'mapbender.mbActivityIndicator';
57:     }
58: 
59:     /**
60:      * @inheritdoc
61:      */
62:     public static function getType()
63:     {
64:         return 'Mapbender\CoreBundle\Element\Type\ActivityIndicatorAdminType';
65:     }
66: 
67:     /**
68:      * @inheritdoc
69:      */
70:     public function getAssets()
71:     {
72:         return array(
73:             'js' => array('mapbender.element.activityindicator.js'),
74:             'css' => array());
75:     }
76: 
77:     /**
78:      * @inheritdoc
79:      */
80:     public function render()
81:     {
82:         return $this->container->get('templating')
83:                         ->render('MapbenderCoreBundle:Element:activityindicator.html.twig',
84:                                  array('id' => $this->getId(),
85:                             'title' => $this->getTitle(),
86:                             'configuration' => $this->getConfiguration()));
87:     }
88: 
89:     /**
90:      * @inheritdoc
91:      */
92:     public static function getFormTemplate()
93:     {
94:         return 'MapbenderManagerBundle:Element:activityindicator.html.twig';
95:     }
96: }
97: 
98: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0