Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 66 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 66 Rev 115
Línea 7... Línea 7...
7
use Laminas\Form\Form;
7
use Laminas\Form\Form;
8
use Laminas\Db\Adapter\AdapterInterface;
8
use Laminas\Db\Adapter\AdapterInterface;
9
use Laminas\Log\LoggerInterface;
9
use Laminas\Log\LoggerInterface;
10
use LeadersLinked\Mapper\CompanySizeMapper;
10
use LeadersLinked\Mapper\CompanySizeMapper;
11
use LeadersLinked\Mapper\IndustryMapper;
11
use LeadersLinked\Mapper\IndustryMapper;
12
use LeadersLinked\Model\CompanySelfEvaluationForm;
-
 
13
use LeadersLinked\Model\CompanySelfEvaluationQuestion;
12
use LeadersLinked\Model\CompanyMicrolearningQuestion;
Línea 14... Línea 13...
14
 
13
 
15
 
14
 
Línea 35... Línea 34...
35
            'name' => 'type',
34
            'name' => 'type',
36
            'type' => \Laminas\Form\Element\Select::class,
35
            'type' => \Laminas\Form\Element\Select::class,
37
            'options' => [
36
            'options' => [
38
                'empty_option' => 'LABEL_TYPE',
37
                'empty_option' => 'LABEL_TYPE',
39
                'value_options' => [
38
                'value_options' => [
40
                   // CompanySelfEvaluationQuestion::TYPE_SINGLE_LINE => 'LABEL_SINGLE_LINE',
39
                    CompanyMicrolearningQuestion::TYPE_SINGLE_LINE => 'LABEL_SINGLE_LINE',
41
                    //CompanySelfEvaluationQuestion::TYPE_MULTI_LINE => 'LABEL_MULTI_LINE',
40
                    CompanyMicrolearningQuestion::TYPE_MULTI_LINE => 'LABEL_MULTI_LINE',
42
                    CompanySelfEvaluationQuestion::TYPE_SINGLE_SELECTION => 'LABEL_SINGLE_SELECTION',
41
                    CompanyMicrolearningQuestion::TYPE_SINGLE_SELECTION => 'LABEL_SINGLE_SELECTION',
43
                    CompanySelfEvaluationQuestion::TYPE_MULTIPLE_SELECTION => 'LABEL_MULTIPLE_SELECTION',
42
                    CompanyMicrolearningQuestion::TYPE_MULTIPLE_SELECTION => 'LABEL_MULTIPLE_SELECTION',
44
                    CompanySelfEvaluationQuestion::TYPE_RANGE_1_5 => 'LABEL_RANGE_1_5',
43
                    CompanyMicrolearningQuestion::TYPE_RANGE_1_5 => 'LABEL_RANGE_1_5',
45
                    CompanySelfEvaluationQuestion::TYPE_RANGE_1_6 => 'LABEL_RANGE_1_6',
44
                    CompanyMicrolearningQuestion::TYPE_RANGE_1_6 => 'LABEL_RANGE_1_6',
46
                    CompanySelfEvaluationQuestion::TYPE_RANGE_1_10 => 'LABEL_RANGE_1_10',
45
                    CompanyMicrolearningQuestion::TYPE_RANGE_1_10 => 'LABEL_RANGE_1_10',
47
                    //CompanySelfEvaluationQuestion::TYPE_RANGE_OPEN => 'LABEL_RANGE_OPEN',
46
                    CompanyMicrolearningQuestion::TYPE_RANGE_OPEN => 'LABEL_RANGE_OPEN',
48
                ]
47
                ]
49
            ],
48
            ],
50
            'attributes' => [
49
            'attributes' => [
51
                'id' => 'type',
50
                'id' => 'type',
52
            ]
51
            ]