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

  • GroupType
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download
 1: <?php
 2: 
 3: namespace Mapbender\CoreBundle\Form;
 4: 
 5: use Symfony\Component\Form\AbstractType;
 6: use Symfony\Component\Form\FormBuilderInterface;
 7: 
 8: /**
 9:  * Description of GroupType
10:  *
11:  * @author Arash R. Pour
12:  */
13: class GroupType extends AbstractType
14: {
15: 
16:     /**
17:      * @inheritdoc
18:      */
19:     public function getName()
20:     {
21:         return "Group";
22:     }
23: 
24:     /**
25:      * @inheritdoc
26:      */
27:     public function buildForm(FormBuilderInterface $builder, array $options)
28:     {
29: 
30:         $builder->add("name", "text", array(
31:         ));
32: 
33:         $builder->add("description", "textarea",
34:                       array(
35:             "required" => false
36:         ));
37:     }
38: 
39: }
40: 
Mapbender3 API documenation API documentation generated by ApiGen 2.8.0