Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 17183 Rev 17214
Línea 140... Línea 140...
140
            'options' => [
140
            'options' => [
141
                'disable_inarray_validator' => true,
141
                'disable_inarray_validator' => true,
142
                'value_options' => $this->getSelectOptions($adapter, $company_id)
142
                'value_options' => $this->getSelectOptions($adapter, $company_id)
143
            ]
143
            ]
144
        ]);
144
        ]);
145
 
-
 
146
        $this->add([
-
 
147
            'name' => 'capsule_id',
-
 
148
            'type' => Select::class,
-
 
149
            'attributes' => [
-
 
150
                'multiple' 	=> 'yes',
-
 
151
                'id' =>  'capsule_uuid',
-
 
152
            ],
-
 
153
            'options' => [
-
 
154
                'disable_inarray_validator' => true,
-
 
155
                'value_options' => $this->getSelectOptions($adapter, $company_id)
-
 
156
            ]
-
 
157
        ]);
-
 
158
    }
145
    }
Línea 159... Línea 146...
159
 
146
 
160
    private function getSelectOptions($adapter, $company_id)
147
    private function getSelectOptions($adapter, $company_id)
161
    {
148
    {