Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15831 Rev 16766
Línea 8... Línea 8...
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 Laminas\Db\Adapter\Adapter;
12
use Laminas\Db\Adapter\Adapter;
-
 
13
use LeadersLinked\Model\DiscoveryContact;
Línea 13... Línea 14...
13
 
14
 
14
class ContactForm extends Form
15
class ContactForm extends Form
Línea 15... Línea 16...
15
{
16
{
Línea 163... Línea 164...
163
            'attributes' => [
164
            'attributes' => [
164
                'maxlength' 	=> 250,
165
                'maxlength' 	=> 250,
165
                'id' 			=> 'sector',
166
                'id' 			=> 'sector',
166
            ]
167
            ]
167
        ]);
168
        ]);
-
 
169
        
-
 
170
        
-
 
171
        $this->add([
-
 
172
            'name' => 'scholarship',
-
 
173
            'type' => \Laminas\Form\Element\Select::class,
-
 
174
            'attributes' => [
-
 
175
                'id' => 'scholarship',
-
 
176
            ],
-
 
177
            'options' => [
-
 
178
                'value_options' => [
-
 
179
                    DiscoveryContact::SCHOLARSHIP_NO => 'LABEL_NO',
-
 
180
                    DiscoveryContact::SCHOLARSHIP_YES => 'LABEL_YES',
-
 
181
                ]
-
 
182
            ]
-
 
183
        ]);
-
 
184
        
-
 
185
        
-
 
186
 
Línea 168... Línea 187...
168
 
187
 
169
     
188
     
170
 
189