Proyectos de Subversion LeadersLinked - Backend

Rev

Autoría | Ultima modificación | Ver Log |

<?php

declare(strict_types=1);

namespace LeadersLinked\Form\Engagement;

use Laminas\Form\Form;
use Laminas\Db\Adapter\AdapterInterface;
use Laminas\Log\LoggerInterface;
use LeadersLinked\Mapper\CompanySizeMapper;
use LeadersLinked\Mapper\IndustryMapper;


class EngagementSettingForm extends Form
{
    
    public function __construct()
    {
        parent::__construct();
        $this->setInputFilter(new EngagementSettingFilter());
 
        $this->add([
            'name' => 'daily_pulse_how_are_you_feel',
            'type' => \Laminas\Form\Element\Number::class,
            'attributes' => [
                'id'    => 'daily_pulse_how_are_you_feel',
                'step'  => 1, 
                'min'   => 0,
            ]
        ]);
        
        $this->add([
            'name' => 'daily_pulse_climate_on_your_organization',
            'type' => \Laminas\Form\Element\Number::class,
            'attributes' => [
                'id'                    => 'daily_pulse_climate_on_your_organization',
                'step'  => 1,
                'min'   => 0,
            ],
        ]);
        
        
        $this->add([
            'name' => 'feed_survey',
            'type' => \Laminas\Form\Element\Number::class,
            'attributes' => [
                'id'    => 'feed_survey',
                'step'  => 1,
                'min'   => 0,
            ]
        ]);
        
        $this->add([
            'name' => 'internal_survey',
            'type' => \Laminas\Form\Element\Number::class,
            'attributes' => [
                'id'                    => 'internal_survey',
                'step'  => 1,
                'min'   => 0,
            ],
        ]);
        

    }
}