src/Form/ImportFieldset.php
public function init()
    {
        $this->setName('job');
        $this->setAttribute('id', 'job');

        $this->add(
            [
                'type' => 'hidden',
                'name' => 'id'
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'applyId',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'company',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'title',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'link',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'location',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'contactEmail',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'datePublishStart',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'reference',
            ]
        );

        $this->add(
            [
                'type'  => 'Zend\Form\Element\Text',
                'name'  => 'logoRef',
            ]
        );

        $this->add(
            [
                'type' => 'Jobs/AtsModeFieldset',
            ]
        );
    }
public function init()
    {
        $this->setName('job');
        $this->setAttribute('id', 'job');

        $this->add(
            [
                'type' => 'hidden',
                'name' => 'id'
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'applyId',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'company',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'title',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'link',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'location',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'contactEmail',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'datePublishStart',
            ]
        );

        $this->add(
            [
                'type' => 'Zend\Form\Element\Text',
                'name' => 'reference',
            ]
        );

        $this->add(
            [
                'type'  => 'Zend\Form\Element\Text',
                'name'  => 'logoRef',
            ]
        );

        $this->add(
            [
                'type' => 'Jobs/AtsModeFieldset',
            ]
        );
    }
public function init ( ) { $ this -> setName ( 'job' ) ; $ this -> setAttribute ( 'id' , 'job' ) ; $ this -> add ( [ 'type' => 'hidden' , 'name' => 'id' ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'applyId' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'company' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'title' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'link' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'location' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'contactEmail' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'datePublishStart' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'reference' , ] ) ; $ this -> add ( [ 'type' => 'Zend\Form\Element\Text' , 'name' => 'logoRef' , ] ) ; $ this -> add ( [ 'type' => 'Jobs/AtsModeFieldset' , ] ) ; }
defines the valid formular fields, which can be used via API
defines the valid formular fields which can be used via API