Proyectos de Subversion LeadersLinked - Backend

Rev

Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

<?php
declare(strict_types=1);

namespace LeadersLinked\Form\Planning;

use Laminas\Form\Form;
use Laminas\Db\Adapter\AdapterInterface;
use LeadersLinked\Mapper\PlanningPeriodMapper;

class PlanningObjectiveReportForm extends Form
{
    public function __construct($options)
    {
        parent::__construct();
        
        $this->setInputFilter(new PlanningObjectiveReportFilter());

        $this->add([
            'name' => 'report_type',
            'type' => \Laminas\Form\Element\SELECT::class,
            'attributes' => [
                'id'                    => 'report_type',
            ],
            'options' => [
                'value_options' => $options
            ]
        ]);
        
        
        

    }
    

}