AutorÃa | Ultima modificación | Ver Log |
<?php
declare(strict_types=1);
namespace LeadersLinked\Form;
use Laminas\Form\Form;
use Laminas\Db\Adapter\AdapterInterface;
use Laminas\Log\LoggerInterface;
use LeadersLinked\Mapper\IndustryMapper;
use LeadersLinked\Mapper\RecruitmentSelectionVacancyMapper;
use LeadersLinked\Mapper\RecruitmentSelectionCandidateMapper;
use LeadersLinked\Model\RecruitmentSelectionCandidate;
class InterviewFileForm extends Form
{
/**
*
* @param AdapterInterface $adapter
* @param int $company_id
*/
public function __construct($adapter, $company_id)
{
parent::__construct();
$this->setInputFilter(new InterviewFileFilter($adapter));
$this->add([
'name' => 'file',
'type' => \Laminas\Form\Element\File::class,
'attributes' => [
'id' => 'file',
]
]);
$this->add([
'name' => 'coment',
'type' => \Laminas\Form\Element\Textarea::class,
'attributes' => [
'id' => 'coment',
],
]);
$this->add([
'name' => 'title',
'type' => \Laminas\Form\Element\Text::class,
'attributes' => [
'id' => 'title',
],
]);
}
}