Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 17108 | Rev 17112 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 17108 Rev 17110
Línea 9... Línea 9...
9
use LeadersLinked\Mapper\MicrolearningCapsuleMapper;
9
use LeadersLinked\Mapper\MicrolearningCapsuleMapper;
Línea 10... Línea 10...
10
 
10
 
11
class TopicForm extends Form
11
class TopicForm extends Form
Línea 12... Línea 12...
12
{
12
{
13
 
13
 
14
    public function __construct($adapter, $company_id){
14
    public function __construct($adapter){
Línea 15... Línea -...
15
        parent::__construct();
-
 
16
        $this->setInputFilter(new TopicFilter($adapter));
-
 
17
 
-
 
18
        $this->add([
-
 
19
            'name' => 'capsule_uuid',
-
 
20
            'type' => Select::class,
-
 
21
            'attributes' => [
-
 
22
                'multiple' 	=> 'yes',
-
 
23
                'id' =>  'capsule_uuid',
-
 
24
            ],
-
 
25
            'options' => [
-
 
26
                'disable_inarray_validator' => true,
-
 
27
                'value_options' => $this->getSelectOptions($adapter, $company_id)
-
 
28
            ]
15
        parent::__construct();
29
        ]);
16
        $this->setInputFilter(new TopicFilter($adapter));
30
 
17
 
31
         $this->add([
18
         $this->add([
32
            'name' => 'title',
19
            'name' => 'title',