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

  • LegendUrlType
  • OnlineResourceType
  • WmsInstanceInstanceLayersType
  • WmsInstanceLayerType
  • WmsSourceSimpleType
  • WmsSourceType
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\WmsBundle\Form\Type;
 4: 
 5: use Symfony\Component\Form\AbstractType;
 6: use Symfony\Component\Form\FormBuilderInterface;
 7: 
 8: /**
 9:  * WmsSourceSimpleType class
10:  */
11: class OnlineResourceType extends AbstractType
12: {
13: 
14:     /**
15:      * @inheritdoc
16:      */
17:     public function getName()
18:     {
19:         return 'onlineresource';
20:     }
21: 
22:     /**
23:      * @inheritdoc
24:      */
25:     public function buildForm(FormBuilderInterface $builder, array $options)
26:     {
27:         $builder->add('format', 'text',
28:                       array(
29:                     'required' => false,))
30:                 ->add('href', 'text',
31:                       array(
32:                     'required' => false,));
33:     }
34: 
35: }
36: 
37: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0