Rev 16785 | 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
]
]);
}
}