Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16785 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16785 efrain 1
<?php
2
declare(strict_types=1);
3
 
4
namespace LeadersLinked\Form\Planning;
5
 
6
use Laminas\Form\Form;
7
use Laminas\Db\Adapter\AdapterInterface;
8
use LeadersLinked\Mapper\PlanningPeriodMapper;
9
 
10
class PlanningObjectiveReportForm extends Form
11
{
12
    public function __construct($options)
13
    {
14
        parent::__construct();
15
 
16
        $this->setInputFilter(new PlanningObjectiveReportFilter());
17
 
18
        $this->add([
19
            'name' => 'report_type',
16802 efrain 20
            'type' => \Laminas\Form\Element\Select::class,
16785 efrain 21
            'attributes' => [
22
                'id' 			=> 'report_type',
23
            ],
24
            'options' => [
25
                'value_options' => $options
26
            ]
27
        ]);
28
 
29
 
30
 
31
 
32
    }
33
 
34
 
35
}