public function init()
    {
        $this->setName('data')
             ->setLabel('Group data')
             ->setUseAsBaseFieldset(true)
             ->setHydrator(new EntityHydrator());
        
        $this->add(
            array(
            'type' => 'Hidden',
            'name' => 'id',
            )
        );
        
        $this->add(
            array(
            'type' => 'Text',
            'name' => 'name',
            'options' => array(
                'label' => /*@translate*/ 'Group name',
                'description' => /* @translate */ 'Select a group name. You can add users to your group and then work together on jobs and job applications.',
                    
            ),
            )
        );
        
        $this->add(
            array(
            'type' => 'Auth/Group/Users',
            )
        );
    }
public function init()
    {
        $this->setName('data')
             ->setLabel('Group data')
             ->setUseAsBaseFieldset(true)
             ->setHydrator(new EntityHydrator());
        
        $this->add(
            array(
            'type' => 'Hidden',
            'name' => 'id',
            )
        );
        
        $this->add(
            array(
            'type' => 'Text',
            'name' => 'name',
            'options' => array(
                'label' => /*@translate*/ 'Group name',
                'description' => /* @translate */ 'Select a group name. You can add users to your group and then work together on jobs and job applications.',
                    
            ),
            )
        );
        
        $this->add(
            array(
            'type' => 'Auth/Group/Users',
            )
        );
    }
public function init ( ) { $ this -> setName ( 'data' ) -> setLabel ( 'Group data' ) -> setUseAsBaseFieldset ( true ) -> setHydrator ( new EntityHydrator ( ) ) ; $ this -> add ( array ( 'type' => 'Hidden' , 'name' => 'id' , ) ) ; $ this -> add ( array ( 'type' => 'Text' , 'name' => 'name' , 'options' => array ( 'label' => /*@translate*/ 'Group name' , 'description' => /* @translate */ 'Select a group name. You can add users to your group and then work together on jobs and job applications.' , ) , ) ) ; $ this -> add ( array ( 'type' => 'Auth/Group/Users' , ) ) ; }
Initialises the fieldset
@see \Zend\Form\Element::init()
Initialises the fieldset