Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
 
3
declare(strict_types=1);
4
 
5
namespace LeadersLinked\Form;
6
 
7
use Laminas\Form\Form;
8
use Laminas\Db\Adapter\AdapterInterface;
9
use Laminas\Log\LoggerInterface;
10
use LeadersLinked\Mapper\CompanySizeMapper;
11
use LeadersLinked\Mapper\IndustryMapper;
10683 eleazar 12
use LeadersLinked\Mapper\TopicMapper;
1 www 13
use LeadersLinked\Model\Feed;
8924 nelberth 14
use Laminas\Form\Element;
1 www 15
 
16
class CreateFeedForm extends Form
17
{
18
 
14874 efrain 19
    public function __construct()
1 www 20
    {
21
        parent::__construct();
14874 efrain 22
        $this->setInputFilter(new CreateFeedFilter());
10904 eleazar 23
 
10816 eleazar 24
 
7405 nelberth 25
        $this->add([
1 www 26
            'name' => 'description',
27
            'type' => \Laminas\Form\Element\Textarea::class,
28
            'attributes' => [
29
                'id'    => 'description',
30
            ]
31
        ]);
32
 
33
        $this->add([
34
            'name' => 'file',
35
            'type' => \Laminas\Form\Element\File::class,
36
             'attributes' => [
37
                'id' => 'file',
38
            ]
39
         ]);
10601 eleazar 40
 
1 www 41
 
14874 efrain 42
 
1 www 43
    }
10601 eleazar 44
 
45
 
46
 
1 www 47
}