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