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

  • ApplicationType
  • YAMLConfigurationType
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\ManagerBundle\Form\Type;
 4: 
 5: use Symfony\Component\Form\AbstractType;
 6: use Symfony\Component\Form\FormBuilderInterface;
 7: use Mapbender\ManagerBundle\Form\DataTransformer\YAMLDataTransformer;
 8: 
 9: class YAMLConfigurationType extends AbstractType
10: {
11:     public function buildForm(FormBuilderInterface $builder, array $options)
12:     {
13:         $builder
14:             ->resetViewTransformers()
15:             ->addViewTransformer(new YAMLDataTransformer());
16:     }
17: 
18:     public function getParent()
19:     {
20:         return 'textarea';
21:     }
22: 
23:     public function getName()
24:     {
25:         return 'yaml_configuration';
26:     }
27: }
28: 
29: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0