AutorÃa | Ultima modificación | Ver Log |
<?php
declare(strict_types=1);
namespace LeadersLinked\Form\Communication;
use Laminas\Form\Form;
use Laminas\Db\Adapter\AdapterInterface;
use Laminas\Log\LoggerInterface;
use LeadersLinked\Mapper\CompanySizeMapper;
use LeadersLinked\Mapper\IndustryMapper;
use LeadersLinked\Model\Feed;
class CommunicationForm extends Form
{
public function __construct()
{
parent::__construct();
$this->setInputFilter(new CommunicationFilter());
$this->add([
'name' => 'message',
'type' => \Laminas\Form\Element\Textarea::class,
'attributes' => [
'id' => 'message',
]
]);
$this->add([
'name' => 'file',
'type' => \Laminas\Form\Element\File::class,
'attributes' => [
'id' => 'file',
]
]);
$this->add([
'name' => 'job_description_id',
'type' => \Laminas\Form\Element\Hidden::class,
'attributes' => [
'id' => 'job_description_id',
]
]);
$this->add([
'name' => 'position_id',
'type' => \Laminas\Form\Element\Hidden::class,
'attributes' => [
'id' => 'position_id',
]
]);
$this->add([
'name' => 'user_selected_id',
'type' => \Laminas\Form\Element\Hidden::class,
'attributes' => [
'id' => 'user_selected_id',
]
]);
}
}