Proyectos de Subversion LeadersLinked - Antes de SPA

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\UserProfile;
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;
12
 
13
class ImageForm extends Form
14
{
15
 
16
    /**
17
     *
18
     * @param array $config
19
     */
20
    public function __construct($config)
21
    {
22
        parent::__construct();
23
        $this->setInputFilter(new ImageFilter($config));
24
 
25
        $this->add([
26
            'name' => 'image',
27
            'type' => \Laminas\Form\Element\File::class,
28
             'attributes' => [
29
                'id' => 'image',
30
            ]
31
         ]);
32
 
33
    }
34
}