Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1333 | Rev 1342 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 www 1
<?php
1089 geraldo 2
 
3
declare(strict_types=1);
4
 
1 www 5
namespace LeadersLinked;
6
 
7
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
9
use Laminas\ServiceManager\Factory\InvokableFactory;
1089 geraldo 10
 
1 www 11
return [
12
    'navigation' => [
13
        'menu' => [
14
        ],
15
        'footer' => [
16
        ]
17
    ],
18
    'router' => [
19
        'routes' => [
20
            'home' => [
21
                'type' => Literal::class,
22
                'options' => [
23
                    'route' => '/',
24
                    'defaults' => [
25
                        'controller' => '\LeadersLinked\Controller\AuthController',
26
                        'action' => 'index'
27
                    ]
28
                ]
29
            ],
30
            'signin-company' => [
31
                'type' => Literal::class,
32
                'options' => [
33
                    'route' => '/signin-company',
34
                    'defaults' => [
35
                        'controller' => '\LeadersLinked\Controller\AuthController',
36
                        'action' => 'signinCompany'
37
                    ]
38
                ],
39
                'may_terminate' => true,
40
            ],
41
            'signin-admin' => [
42
                'type' => Literal::class,
43
                'options' => [
44
                    'route' => '/signin-admin',
45
                    'defaults' => [
46
                        'controller' => '\LeadersLinked\Controller\AuthController',
47
                        'action' => 'signinAdmin'
48
                    ]
49
                ],
50
                'may_terminate' => true,
51
            ],
52
            'signout' => [
53
                'type' => Literal::class,
54
                'options' => [
55
                    'route' => '/signout',
56
                    'defaults' => [
57
                        'controller' => '\LeadersLinked\Controller\AuthController',
58
                        'action' => 'signout'
59
                    ]
60
                ],
61
                'may_terminate' => true,
62
            ],
63
            'dashboard' => [
64
                'type' => Literal::class,
65
                'options' => [
66
                    'route' => '/dashboard',
67
                    'defaults' => [
68
                        'controller' => '\LeadersLinked\Controller\DashboardController',
69
                        'action' => 'index'
70
                    ]
71
                ]
72
            ],
73
            'storage' => [
74
                'type' => Segment::class,
75
                'options' => [
76
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
77
                    'constraints' => [
78
                        'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|post-type|microlearning-topic|microlearning-capsule|microlearning-slide',
79
                        'code' => '[A-Za-z0-9\-]+\=*',
80
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
81
                    ],
82
                    'defaults' => [
83
                        'controller' => '\LeadersLinked\Controller\StorageController',
84
                        'action' => 'download'
85
                    ]
86
                ]
87
            ],
1089 geraldo 88
            /*             * *** START TEST **** */
66 efrain 89
            'test' => [
90
                'type' => Literal::class,
91
                'options' => [
92
                    'route' => '/test',
93
                    'defaults' => [
94
                        'controller' => '\LeadersLinked\Controller\TestController',
95
                        'action' => 'index'
96
                    ]
97
                ],
98
                'may_terminate' => true,
99
                'child_routes' => [
100
                    'method-one' => [
101
                        'type' => Literal::class,
102
                        'options' => [
103
                            'route' => '/method-one',
104
                            'defaults' => [
105
                                'controller' => '\LeadersLinked\Controller\TestController',
106
                                'action' => 'methodOne'
107
                            ]
108
                        ]
109
                    ],
110
                    'method-one' => [
111
                        'type' => Literal::class,
112
                        'options' => [
113
                            'route' => '/method-one',
114
                            'defaults' => [
115
                                'controller' => '\LeadersLinked\Controller\TestController',
116
                                'action' => 'methodOne'
117
                            ]
118
                        ]
119
                    ],
120
                    'method-two' => [
121
                        'type' => Literal::class,
122
                        'options' => [
123
                            'route' => '/method-two',
124
                            'defaults' => [
125
                                'controller' => '\LeadersLinked\Controller\TestController',
126
                                'action' => 'methodTwo'
127
                            ]
128
                        ]
129
                    ],
130
                    'method-three' => [
131
                        'type' => Literal::class,
132
                        'options' => [
133
                            'route' => '/method-three',
134
                            'defaults' => [
135
                                'controller' => '\LeadersLinked\Controller\TestController',
136
                                'action' => 'methodThree'
137
                            ]
138
                        ]
139
                    ],
140
                    'method-four' => [
141
                        'type' => Literal::class,
142
                        'options' => [
143
                            'route' => '/method-four',
144
                            'defaults' => [
145
                                'controller' => '\LeadersLinked\Controller\TestController',
146
                                'action' => 'methodFour'
147
                            ]
148
                        ]
149
                    ],
150
                ],
1089 geraldo 151
            ],
152
            /*             * *** END TEST **** */
153
 
154
            /*             * * START COMPANIES ** */
1 www 155
            'companies' => [
156
                'type' => Literal::class,
157
                'options' => [
158
                    'route' => '/companies',
159
                    'defaults' => [
160
                        'controller' => '\LeadersLinked\Controller\CompanyController',
161
                        'action' => 'index'
162
                    ]
163
                ],
164
                'may_terminate' => true,
165
                'child_routes' => [
166
                    'services' => [
167
                        'type' => Segment::class,
168
                        'options' => [
169
                            'route' => '/services/:id',
170
                            'constraints' => [
171
                                'id' => '[A-Za-z0-9\-]+\=*'
172
                            ],
173
                            'defaults' => [
174
                                'controller' => '\LeadersLinked\Controller\CompanyController',
175
                                'action' => 'services'
176
                            ]
177
                        ]
178
                    ],
179
                    'roles' => [
180
                        'type' => Segment::class,
181
                        'options' => [
182
                            'route' => '/roles/:id',
183
                            'constraints' => [
184
                                'id' => '[A-Za-z0-9\-]+\=*'
185
                            ],
186
                            'defaults' => [
187
                                'controller' => '\LeadersLinked\Controller\CompanyController',
188
                                'action' => 'roles'
189
                            ]
190
                        ]
191
                    ],
192
                    'edit' => [
193
                        'type' => Segment::class,
194
                        'options' => [
195
                            'route' => '/edit/:id',
196
                            'constraints' => [
197
                                'id' => '[A-Za-z0-9\-]+\=*'
198
                            ],
199
                            'defaults' => [
200
                                'controller' => '\LeadersLinked\Controller\CompanyController',
201
                                'action' => 'edit'
202
                            ]
203
                        ]
204
                    ],
205
                ],
1089 geraldo 206
            ],
207
            /*             * * START USERS ** */
1 www 208
            'users' => [
209
                'type' => Literal::class,
210
                'options' => [
211
                    'route' => '/users',
212
                    'defaults' => [
213
                        'controller' => '\LeadersLinked\Controller\UserController',
214
                        'action' => 'index'
215
                    ]
216
                ],
217
                'may_terminate' => true,
218
                'child_routes' => [
219
                    'change-password' => [
220
                        'type' => Segment::class,
221
                        'options' => [
222
                            'route' => '/change-password/:id',
223
                            'constraints' => [
224
                                'id' => '[A-Za-z0-9\-]+\=*'
225
                            ],
226
                            'defaults' => [
227
                                'controller' => '\LeadersLinked\Controller\UserController',
228
                                'action' => 'change-password'
229
                            ]
230
                        ]
231
                    ],
232
                    'unblock' => [
233
                        'type' => Segment::class,
234
                        'options' => [
235
                            'route' => '/unblock/:id',
236
                            'constraints' => [
237
                                'id' => '[A-Za-z0-9\-]+\=*'
238
                            ],
239
                            'defaults' => [
240
                                'controller' => '\LeadersLinked\Controller\UserController',
241
                                'action' => 'unblock'
242
                            ]
243
                        ]
244
                    ],
129 efrain 245
                    'email-verify' => [
246
                        'type' => Segment::class,
247
                        'options' => [
248
                            'route' => '/email-verify/:id',
249
                            'constraints' => [
250
                                'id' => '[A-Za-z0-9\-]+\=*'
251
                            ],
252
                            'defaults' => [
253
                                'controller' => '\LeadersLinked\Controller\UserController',
254
                                'action' => 'emailVerify'
255
                            ]
256
                        ]
257
                    ],
1 www 258
                    'invite' => [
259
                        'type' => Segment::class,
260
                        'options' => [
261
                            'route' => '/invite',
262
                            'defaults' => [
263
                                'controller' => '\LeadersLinked\Controller\UserController',
264
                                'action' => 'invite'
265
                            ]
266
                        ]
267
                    ],
268
                    'accept' => [
269
                        'type' => Segment::class,
270
                        'options' => [
271
                            'route' => '/accept/:id',
272
                            'constraints' => [
273
                                'id' => '[A-Za-z0-9\-]+\=*'
274
                            ],
275
                            'defaults' => [
276
                                'controller' => '\LeadersLinked\Controller\UserController',
277
                                'action' => 'accept'
278
                            ]
279
                        ]
280
                    ],
281
                    'cancel' => [
282
                        'type' => Segment::class,
283
                        'options' => [
284
                            'route' => '/cancel/:id',
285
                            'constraints' => [
286
                                'id' => '[A-Za-z0-9\-]+\=*'
287
                            ],
288
                            'defaults' => [
289
                                'controller' => '\LeadersLinked\Controller\UserController',
290
                                'action' => 'cancel'
291
                            ]
292
                        ]
293
                    ],
294
                    'reject' => [
295
                        'type' => Segment::class,
296
                        'options' => [
297
                            'route' => '/reject/:id',
298
                            'constraints' => [
299
                                'id' => '[A-Za-z0-9\-]+\=*'
300
                            ],
301
                            'defaults' => [
302
                                'controller' => '\LeadersLinked\Controller\UserController',
303
                                'action' => 'reject'
304
                            ]
305
                        ]
306
                    ],
307
                    'edit' => [
308
                        'type' => Segment::class,
309
                        'options' => [
310
                            'route' => '/edit/:id',
311
                            'constraints' => [
312
                                'id' => '[A-Za-z0-9\-]+\=*'
313
                            ],
314
                            'defaults' => [
315
                                'controller' => '\LeadersLinked\Controller\UserController',
316
                                'action' => 'edit'
317
                            ]
318
                        ]
319
                    ],
320
                    'upload' => [
321
                        'type' => Literal::class,
322
                        'options' => [
323
                            'route' => '/upload',
324
                            'defaults' => [
325
                                'controller' => '\LeadersLinked\Controller\UserController',
326
                                'action' => 'upload'
327
                            ]
328
                        ]
329
                    ],
330
                ]
1089 geraldo 331
            ],
332
            /** START FEEDS * */
1 www 333
            'feeds' => [
334
                'type' => Literal::class,
335
                'options' => [
336
                    'route' => '/feeds',
337
                    'defaults' => [
338
                        'controller' => '\LeadersLinked\Controller\FeedController',
339
                        'action' => 'index'
340
                    ]
341
                ],
342
                'may_terminate' => true,
343
                'child_routes' => [
344
                    'timeline' => [
345
                        'type' => Literal::class,
346
                        'options' => [
347
                            'route' => '/timeline',
348
                            'defaults' => [
349
                                'controller' => '\LeadersLinked\Controller\FeedController',
350
                                'action' => 'timeline'
351
                            ]
352
                        ]
353
                    ],
354
                    'delete' => [
355
                        'type' => Segment::class,
356
                        'options' => [
357
                            'route' => '/delete/:id',
358
                            'constraints' => [
359
                                'id' => '[A-Za-z0-9\-]+\=*',
360
                            ],
361
                            'defaults' => [
362
                                'controller' => '\LeadersLinked\Controller\FeedController',
363
                                'action' => 'delete'
364
                            ],
365
                        ]
366
                    ],
367
                    'comments' => [
368
                        'type' => Segment::class,
369
                        'options' => [
370
                            'route' => '/comments/:id',
371
                            'constraints' => [
372
                                'id' => '[A-Za-z0-9\-]+\=*',
373
                            ],
374
                            'defaults' => [
375
                                'controller' => '\LeadersLinked\Controller\FeedController',
376
                                'action' => 'comment'
377
                            ],
378
                        ],
379
                        'may_terminate' => true,
380
                        'child_routes' => [
381
                            'delete' => [
382
                                'type' => Segment::class,
383
                                'options' => [
384
                                    'route' => '/delete/:comment',
385
                                    'constraints' => [
386
                                        'comment' => '[A-Za-z0-9\-]+\=*',
387
                                    ],
388
                                    'defaults' => [
389
                                        'controller' => '\LeadersLinked\Controller\FeedController',
390
                                        'action' => 'commentDelete'
391
                                    ]
392
                                ]
393
                            ],
394
                        ]
395
                    ],
396
                    'add' => [
397
                        'type' => Segment::class,
398
                        'options' => [
399
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
400
                            'constraints' => [
401
                                'company_id' => '[A-Za-z0-9\-]+\=*',
402
                                'group_id' => '[A-Za-z0-9\-]+\=*',
403
                                'encoding' => 'base64'
404
                            ],
405
                            'defaults' => [
406
                                'controller' => '\LeadersLinked\Controller\FeedController',
407
                                'action' => 'add'
408
                            ]
409
                        ]
410
                    ],
411
                ],
1089 geraldo 412
            ],
413
            /** START JOBS * */
1 www 414
            'jobs' => [
415
                'type' => Literal::class,
416
                'options' => [
417
                    'route' => '/jobs',
418
                    'defaults' => [
419
                        'controller' => '\LeadersLinked\Controller\JobController',
420
                        'action' => 'index'
421
                    ]
422
                ],
423
                'may_terminate' => true,
424
                'child_routes' => [
425
                    'add' => [
426
                        'type' => Literal::class,
427
                        'options' => [
428
                            'route' => '/add',
429
                            'defaults' => [
430
                                'controller' => '\LeadersLinked\Controller\JobController',
431
                                'action' => 'add'
432
                            ]
433
                        ],
434
                    ],
435
                    'delete' => [
436
                        'type' => Segment::class,
437
                        'options' => [
438
                            'route' => '/delete/:id',
439
                            'constraints' => [
440
                                'id' => '[A-Za-z0-9\-]+\=*'
441
                            ],
442
                            'defaults' => [
443
                                'controller' => '\LeadersLinked\Controller\JobController',
444
                                'action' => 'delete'
445
                            ]
446
                        ],
447
                    ],
448
                    'users-who-applied' => [
449
                        'type' => Segment::class,
450
                        'options' => [
451
                            'route' => '/users-who-applied/:id',
452
                            'constraints' => [
453
                                'id' => '[A-Za-z0-9\-]+\=*'
454
                            ],
455
                            'defaults' => [
456
                                'controller' => '\LeadersLinked\Controller\JobController',
457
                                'action' => 'usersWhoApplied'
458
                            ]
459
                        ],
460
                    ],
461
                    'edit' => [
462
                        'type' => Segment::class,
463
                        'options' => [
464
                            'route' => '/edit/:id',
465
                            'constraints' => [
466
                                'id' => '[A-Za-z0-9\-]+\=*'
467
                            ],
468
                            'defaults' => [
469
                                'controller' => '\LeadersLinked\Controller\JobController',
470
                                'action' => 'edit'
471
                            ]
472
                        ],
473
                        'may_terminate' => true,
474
                        'child_routes' => [
475
                            'status' => [
476
                                'type' => Literal::class,
477
                                'options' => [
478
                                    'route' => '/status',
479
                                    'defaults' => [
480
                                        'controller' => '\LeadersLinked\Controller\JobController',
481
                                        'action' => 'status'
482
                                    ]
483
                                ],
484
                            ],
485
                            'title' => [
486
                                'type' => Literal::class,
487
                                'options' => [
488
                                    'route' => '/title',
489
                                    'defaults' => [
490
                                        'controller' => '\LeadersLinked\Controller\JobController',
491
                                        'action' => 'title'
492
                                    ]
493
                                ],
494
                            ],
495
                            'last-date-of-application' => [
496
                                'type' => Literal::class,
497
                                'options' => [
498
                                    'route' => '/last-date-of-application',
499
                                    'defaults' => [
500
                                        'controller' => '\LeadersLinked\Controller\JobController',
501
                                        'action' => 'lastDateOfApplication'
502
                                    ]
503
                                ],
504
                            ],
505
                            'experience' => [
506
                                'type' => Literal::class,
507
                                'options' => [
508
                                    'route' => '/experience',
509
                                    'defaults' => [
510
                                        'controller' => '\LeadersLinked\Controller\JobController',
511
                                        'action' => 'experience'
512
                                    ]
513
                                ],
514
                            ],
515
                            'employment-type' => [
516
                                'type' => Literal::class,
517
                                'options' => [
518
                                    'route' => '/employment-type',
519
                                    'defaults' => [
520
                                        'controller' => '\LeadersLinked\Controller\JobController',
521
                                        'action' => 'employmentType'
522
                                    ]
523
                                ],
524
                            ],
525
                            'job-category' => [
526
                                'type' => Literal::class,
527
                                'options' => [
528
                                    'route' => '/job-category',
529
                                    'defaults' => [
530
                                        'controller' => '\LeadersLinked\Controller\JobController',
531
                                        'action' => 'jobCategory'
532
                                    ]
533
                                ],
534
                            ],
535
                            'extended' => [
536
                                'type' => Literal::class,
537
                                'options' => [
538
                                    'route' => '/extended',
539
                                    'defaults' => [
540
                                        'controller' => '\LeadersLinked\Controller\JobController',
541
                                        'action' => 'extended'
542
                                    ]
543
                                ],
544
                            ],
545
                            'location' => [
546
                                'type' => Literal::class,
547
                                'options' => [
548
                                    'route' => '/location',
549
                                    'defaults' => [
550
                                        'controller' => '\LeadersLinked\Controller\JobController',
551
                                        'action' => 'location'
552
                                    ]
553
                                ],
554
                            ],
555
                            'salary' => [
556
                                'type' => Literal::class,
557
                                'options' => [
558
                                    'route' => '/salary',
559
                                    'defaults' => [
560
                                        'controller' => '\LeadersLinked\Controller\JobController',
561
                                        'action' => 'salary'
562
                                    ]
563
                                ],
564
                            ],
565
                            'degrees' => [
566
                                'type' => Literal::class,
567
                                'options' => [
568
                                    'route' => '/degrees',
569
                                    'defaults' => [
570
                                        'controller' => '\LeadersLinked\Controller\JobController',
571
                                        'action' => 'degree'
572
                                    ]
573
                                ],
574
                            ],
575
                            'languages' => [
576
                                'type' => Literal::class,
577
                                'options' => [
578
                                    'route' => '/languages',
579
                                    'defaults' => [
580
                                        'controller' => '\LeadersLinked\Controller\JobController',
581
                                        'action' => 'language'
582
                                    ]
583
                                ],
584
                            ],
585
                            'skills' => [
586
                                'type' => Literal::class,
587
                                'options' => [
588
                                    'route' => '/skills',
589
                                    'defaults' => [
590
                                        'controller' => '\LeadersLinked\Controller\JobController',
591
                                        'action' => 'skill'
592
                                    ]
593
                                ],
594
                            ],
595
                            'how-apply' => [
596
                                'type' => Literal::class,
597
                                'options' => [
598
                                    'route' => '/how-apply',
599
                                    'defaults' => [
600
                                        'controller' => '\LeadersLinked\Controller\JobController',
601
                                        'action' => 'howApply'
602
                                    ]
603
                                ],
604
                            ],
605
                        ],
606
                    ]
607
                ],
608
            ],
1089 geraldo 609
            /*             * * END JOB * */
610
 
1329 eleazar 611
                /** START JOBS INTERVIEW * */
1340 eleazar 612
                'recruitment-and-selection' => [
1321 eleazar 613
                    'type' => Literal::class,
614
                    'options' => [
1340 eleazar 615
                        'route' => '/recruitment-and-selection',
1321 eleazar 616
                        'defaults' => [
1340 eleazar 617
                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
1321 eleazar 618
                            'action' => 'index'
619
                        ]
620
                    ],
621
                    'may_terminate' => true,
622
                    'child_routes' => [
1340 eleazar 623
                        'forms' => [
1321 eleazar 624
                            'type' => Literal::class,
625
                            'options' => [
1340 eleazar 626
                                'route' => '/forms',
1321 eleazar 627
                                'defaults' => [
1340 eleazar 628
                                    'controller' => '\LeadersLinked\Controller\JobsInterviewController',
629
                                    'action' => 'index'
1321 eleazar 630
                                ]
631
                            ],
632
                            'may_terminate' => true,
633
                            'child_routes' => [
1340 eleazar 634
                                'add' => [
1321 eleazar 635
                                    'type' => Literal::class,
636
                                    'options' => [
1340 eleazar 637
                                        'route' => '/add',
1321 eleazar 638
                                        'defaults' => [
1340 eleazar 639
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
640
                                            'action' => 'add'
1321 eleazar 641
                                        ]
1340 eleazar 642
                                    ]
1321 eleazar 643
                                ],
1340 eleazar 644
                                'edit' => [
645
                                    'type' => Segment::class,
1321 eleazar 646
                                    'options' => [
1340 eleazar 647
                                        'route' => '/edit/:id',
648
                                        'constraints' => [
649
                                            'id' => '[A-Za-z0-9\-]+\=*'
650
                                        ],
1321 eleazar 651
                                        'defaults' => [
1340 eleazar 652
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
653
                                            'action' => 'edit'
1321 eleazar 654
                                        ]
1340 eleazar 655
                                    ]
1321 eleazar 656
                                ],
1340 eleazar 657
                                'delete' => [
658
                                    'type' => Segment::class,
1321 eleazar 659
                                    'options' => [
1340 eleazar 660
                                        'route' => '/delete/:id',
661
                                        'constraints' => [
662
                                            'id' => '[A-Za-z0-9\-]+\=*'
663
                                        ],
1321 eleazar 664
                                        'defaults' => [
1340 eleazar 665
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
666
                                            'action' => 'delete'
1321 eleazar 667
                                        ]
1340 eleazar 668
                                    ]
669
                                        ],
670
                                'report' => [
671
                                    'type' => Segment::class,
1321 eleazar 672
                                    'options' => [
1340 eleazar 673
                                        'route' => '/report/:id',
674
                                        'constraints' => [
675
                                            'id' => '[A-Za-z0-9\-]+\=*'
676
                                        ],
1321 eleazar 677
                                        'defaults' => [
1340 eleazar 678
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
679
                                            'action' => 'report'
1321 eleazar 680
                                        ]
1340 eleazar 681
                                    ]
1321 eleazar 682
                                ],
1340 eleazar 683
                            ]
684
                        ],
685
                        'users' => [
686
                            'type' => Literal::class,
687
                            'options' => [
688
                                'route' => '/users',
689
                                'defaults' => [
690
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
691
                                    'action' => 'index'
692
                                ]
693
                            ],
694
                            'may_terminate' => true,
695
                            'child_routes' => [
696
                                'supervisors' => [
1321 eleazar 697
                                    'type' => Literal::class,
698
                                    'options' => [
1340 eleazar 699
                                        'route' => 'supervisors',
1321 eleazar 700
                                        'defaults' => [
701
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
1340 eleazar 702
                                            'action' => 'index'
1321 eleazar 703
                                        ]
704
                                    ],
1340 eleazar 705
                                    'may_terminate' => true,
706
                                    'child_routes' => [
707
                                        'add' => [
708
                                            'type' => Segment::class,
709
                                            'options' => [
710
                                                'route' => '/add/:form_id/:user_id',
711
                                                'constraints' => [
712
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
713
                                                    'user_id' => '[A-Za-z0-9\-]+\=*'
714
                                                ],
715
                                                'defaults' => [
716
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
717
                                                    'action' => 'add'
718
                                                ]
719
                                            ]
720
                                        ],
721
                                        'delete' => [
722
                                            'type' => Segment::class,
723
                                            'options' => [
724
                                                'route' => '/delete/:form_id/:user_id',
725
                                                'constraints' => [
726
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
727
                                                    'user_id' => '[A-Za-z0-9\-]+\=*'
728
                                                ],
729
                                                'defaults' => [
730
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
731
                                                    'action' => 'delete'
732
                                                ]
733
                                            ]
1321 eleazar 734
                                        ]
1340 eleazar 735
                                    ]
736
                                ],
737
                                'employees' => [
1321 eleazar 738
                                    'type' => Literal::class,
739
                                    'options' => [
1340 eleazar 740
                                        'route' => 'employees',
1321 eleazar 741
                                        'defaults' => [
742
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
1340 eleazar 743
                                            'action' => 'index'
1321 eleazar 744
                                        ]
745
                                    ],
1340 eleazar 746
                                    'may_terminate' => true,
747
                                    'child_routes' => [
748
                                        'add' => [
749
                                            'type' => Segment::class,
750
                                            'options' => [
751
                                                'route' => '/add/:form_id/:supervisor_id/:employee_id',
752
                                                'constraints' => [
753
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
754
                                                    'supervisor_id' => '[A-Za-z0-9\-]+\=*',
755
                                                    'employee_id' => '[A-Za-z0-9\-]+\=*'
756
                                                ],
757
                                                'defaults' => [
758
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
759
                                                    'action' => 'add'
760
                                                ]
761
                                            ]
762
                                        ],
763
                                        'delete' => [
764
                                            'type' => Segment::class,
765
                                            'options' => [
766
                                                'route' => '/delete/:form_id/:supervisor_id/:employee_id',
767
                                                'constraints' => [
768
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
769
                                                    'supervisor_id' => '[A-Za-z0-9\-]+\=*',
770
                                                    'employee_id' => '[A-Za-z0-9\-]+\=*'
771
                                                ],
772
                                                'defaults' => [
773
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
774
                                                    'action' => 'delete'
775
                                                ]
776
                                            ]
1321 eleazar 777
                                        ]
1340 eleazar 778
                                    ]
779
                                ],
780
 
781
                            ]
782
                        ],
783
                    ]
784
                ],
1321 eleazar 785
                /*             * * END JOB INTERVIEW* */
1089 geraldo 786
 
1321 eleazar 787
 
1089 geraldo 788
            /*             * *** START PROFILE *** */
1 www 789
            'profile' => [
790
                'type' => Literal::class,
791
                'options' => [
792
                    'route' => '/profile',
793
                    'defaults' => [
794
                        'controller' => '\LeadersLinked\Controller\ProfileController',
795
                        'action' => 'index'
796
                    ]
797
                ],
798
                'may_terminate' => true,
799
                'child_routes' => [
800
                    'extended' => [
801
                        'type' => Segment::class,
802
                        'options' => [
803
                            'route' => '/extended',
804
                            'defaults' => [
805
                                'controller' => '\LeadersLinked\Controller\ProfileController',
806
                                'action' => 'extended'
807
                            ]
808
                        ]
809
                    ],
810
                    'image' => [
811
                        'type' => Segment::class,
812
                        'options' => [
813
                            'route' => '/image/:operation',
814
                            'constraints' => [
815
                                'operation' => 'upload|delete'
816
                            ],
817
                            'defaults' => [
818
                                'controller' => '\LeadersLinked\Controller\ProfileController',
819
                                'action' => 'image'
820
                            ]
821
                        ]
822
                    ],
823
                    'cover' => [
824
                        'type' => Segment::class,
825
                        'options' => [
826
                            'route' => '/cover/:operation',
827
                            'constraints' => [
828
                                'operation' => 'upload|delete'
829
                            ],
830
                            'defaults' => [
831
                                'controller' => '\LeadersLinked\Controller\ProfileController',
832
                                'action' => 'cover'
833
                            ]
834
                        ]
835
                    ],
768 geraldo 836
                    'header' => [
837
                        'type' => Segment::class,
838
                        'options' => [
839
                            'route' => '/header/:operation',
840
                            'constraints' => [
841
                                'operation' => 'upload|delete'
842
                            ],
843
                            'defaults' => [
844
                                'controller' => '\LeadersLinked\Controller\ProfileController',
845
                                'action' => 'header'
846
                            ]
847
                        ]
848
                    ],
849
                    'footer' => [
850
                        'type' => Segment::class,
851
                        'options' => [
852
                            'route' => '/footer/:operation',
853
                            'constraints' => [
854
                                'operation' => 'upload|delete'
855
                            ],
856
                            'defaults' => [
857
                                'controller' => '\LeadersLinked\Controller\ProfileController',
858
                                'action' => 'footer'
859
                            ]
860
                        ]
861
                    ],
1 www 862
                    'website' => [
863
                        'type' => Segment::class,
864
                        'options' => [
865
                            'route' => '/website',
866
                            'defaults' => [
867
                                'controller' => '\LeadersLinked\Controller\ProfileController',
868
                                'action' => 'website'
869
                            ]
870
                        ]
871
                    ],
872
                    'foundation_year' => [
873
                        'type' => Segment::class,
874
                        'options' => [
875
                            'route' => '/foundation_year',
876
                            'defaults' => [
877
                                'controller' => '\LeadersLinked\Controller\ProfileController',
878
                                'action' => 'foundationYear'
879
                            ]
880
                        ]
881
                    ],
882
                    'location' => [
883
                        'type' => Segment::class,
884
                        'options' => [
885
                            'route' => '/location/:operation[/:id]',
886
                            'constraints' => [
887
                                'operation' => 'add|edit|delete',
888
                                'id' => '[A-Za-z0-9\-]+\=*'
889
                            ],
890
                            'defaults' => [
891
                                'controller' => '\LeadersLinked\Controller\ProfileController',
892
                                'action' => 'location'
893
                            ]
894
                        ]
895
                    ],
896
                    'social-network' => [
897
                        'type' => Segment::class,
898
                        'options' => [
899
                            'route' => '/social-network',
900
                            'defaults' => [
901
                                'controller' => '\LeadersLinked\Controller\ProfileController',
902
                                'action' => 'socialNetwork'
903
                            ]
904
                        ]
905
                    ],
906
                    'industry' => [
907
                        'type' => Segment::class,
908
                        'options' => [
909
                            'route' => '/industry',
910
                            'defaults' => [
911
                                'controller' => '\LeadersLinked\Controller\ProfileController',
912
                                'action' => 'industry'
913
                            ]
914
                        ]
915
                    ],
916
                    'company-size' => [
917
                        'type' => Segment::class,
918
                        'options' => [
919
                            'route' => '/company-size',
920
                            'defaults' => [
921
                                'controller' => '\LeadersLinked\Controller\ProfileController',
922
                                'action' => 'companySize'
923
                            ]
924
                        ]
925
                    ]
926
                ],
927
            ],
1089 geraldo 928
            /*             * * END PROFILE * */
929
 
930
            /*             * *** START FOLLOWERS *** */
1 www 931
            'followers' => [
932
                'type' => Literal::class,
933
                'options' => [
934
                    'route' => '/followers',
935
                    'defaults' => [
936
                        'controller' => '\LeadersLinked\Controller\FollowerController',
937
                        'action' => 'index'
938
                    ]
939
                ],
940
                'may_terminate' => true,
941
                'child_routes' => [
942
                    'delete' => [
943
                        'type' => Segment::class,
944
                        'options' => [
945
                            'route' => '/delete/:id',
946
                            'constraints' => [
947
                                'id' => '[A-Za-z0-9\-]+\=*'
948
                            ],
949
                            'defaults' => [
950
                                'controller' => '\LeadersLinked\Controller\FollowerController',
951
                                'action' => 'delete'
952
                            ]
953
                        ]
954
                    ],
1089 geraldo 955
                ],
956
            ],
957
            /*             * *** END FOLLOWERS *** */
958
 
959
            /*             * * START MICRO_LEARNING ** */
1 www 960
            'microlearning' => [
961
                'type' => Literal::class,
962
                'options' => [
963
                    'route' => '/microlearning',
964
                    'defaults' => [
965
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
966
                        'action' => 'index'
967
                    ]
968
                ],
969
                'may_terminate' => true,
970
                'child_routes' => [
971
                    'overview' => [
972
                        'type' => Literal::class,
973
                        'options' => [
974
                            'route' => '/overview',
975
                            'defaults' => [
976
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
977
                                'action' => 'overview'
978
                            ]
979
                        ],
1089 geraldo 980
                    ],
1 www 981
                    'reports' => [
982
                        'type' => Literal::class,
983
                        'options' => [
984
                            'route' => '/reports',
985
                            'defaults' => [
986
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
2 efrain 987
                                'action' => 'index'
1 www 988
                            ]
989
                        ],
2 efrain 990
                        'may_terminate' => true,
991
                        'child_routes' => [
992
                            'progress' => [
993
                                'type' => Literal::class,
994
                                'options' => [
995
                                    'route' => '/progress',
996
                                    'defaults' => [
997
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
998
                                        'action' => 'progress'
999
                                    ]
1000
                                ]
1001
                            ],
187 efrain 1002
                            'comments-for-capsule' => [
1003
                                'type' => Literal::class,
1004
                                'options' => [
1005
                                    'route' => '/comments-for-capsule',
1006
                                    'defaults' => [
1007
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
1008
                                        'action' => 'commentsForCapsule'
1009
                                    ]
1010
                                ]
1011
                            ],
2 efrain 1012
                            'devices' => [
1013
                                'type' => Literal::class,
1014
                                'options' => [
1015
                                    'route' => '/devices',
1016
                                    'defaults' => [
1017
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
1018
                                        'action' => 'devices'
1019
                                    ]
1020
                                ]
1021
                            ],
1089 geraldo 1022
                        ]
1023
                    ],
1 www 1024
                    'content' => [
1025
                        'type' => Literal::class,
1026
                        'options' => [
1027
                            'route' => '/content',
1028
                            'defaults' => [
1029
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
1030
                                'action' => 'index'
1031
                            ]
1032
                        ],
1033
                        'may_terminate' => true,
1034
                        'child_routes' => [
66 efrain 1035
                            'quizzes' => [
1036
                                'type' => Segment::class,
1037
                                'options' => [
1038
                                    'route' => '/quizzes',
1039
                                    'defaults' => [
1040
                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1041
                                        'action' => 'index'
1042
                                    ]
1043
                                ],
1044
                                'may_terminate' => true,
1045
                                'child_routes' => [
1046
                                    'add' => [
1047
                                        'type' => Literal::class,
1048
                                        'options' => [
1049
                                            'route' => '/add',
1050
                                            'defaults' => [
1051
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1052
                                                'action' => 'add'
1053
                                            ]
1054
                                        ]
1055
                                    ],
1056
                                    'edit' => [
1057
                                        'type' => Segment::class,
1058
                                        'options' => [
1059
                                            'route' => '/:quiz_id/edit',
1060
                                            'constraints' => [
1061
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1062
                                            ],
1063
                                            'defaults' => [
1064
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1065
                                                'action' => 'edit'
1066
                                            ]
1067
                                        ]
1068
                                    ],
1069
                                    'delete' => [
1070
                                        'type' => Segment::class,
1071
                                        'options' => [
1072
                                            'route' => '/:quiz_id/delete',
1073
                                            'constraints' => [
1074
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1075
                                            ],
1076
                                            'defaults' => [
1077
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1078
                                                'action' => 'delete'
1079
                                            ]
1080
                                        ]
1081
                                    ],
1082
                                    'check' => [
1083
                                        'type' => Segment::class,
1084
                                        'options' => [
1085
                                            'route' => '/:quiz_id/check',
1086
                                            'constraints' => [
1087
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1088
                                            ],
1089
                                            'defaults' => [
1090
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1091
                                                'action' => 'check'
1092
                                            ]
1093
                                        ]
1094
                                    ],
1095
                                    'publish' => [
1096
                                        'type' => Segment::class,
1097
                                        'options' => [
1098
                                            'route' => '/:quiz_id/publish',
1099
                                            'constraints' => [
1100
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1101
                                            ],
1102
                                            'defaults' => [
1103
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1104
                                                'action' => 'publish'
1105
                                            ]
1106
                                        ]
1107
                                    ],
1108
                                    'copy' => [
1109
                                        'type' => Segment::class,
1110
                                        'options' => [
1111
                                            'route' => '/:quiz_id/copy',
1112
                                            'constraints' => [
1113
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1114
                                            ],
1115
                                            'defaults' => [
1116
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
1117
                                                'action' => 'copy'
1118
                                            ]
1119
                                        ]
1120
                                    ],
1121
                                    'questions' => [
1122
                                        'type' => Segment::class,
1123
                                        'options' => [
1124
                                            'route' => '/:quiz_id/questions',
1125
                                            'constraints' => [
1126
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
1127
                                            ],
1128
                                            'defaults' => [
1129
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1130
                                                'action' => 'index'
1131
                                            ]
1132
                                        ],
1133
                                        'may_terminate' => true,
1134
                                        'child_routes' => [
1135
                                            'add' => [
1136
                                                'type' => Literal::class,
1137
                                                'options' => [
1138
                                                    'route' => '/add',
1139
                                                    'defaults' => [
1140
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1141
                                                        'action' => 'add'
1142
                                                    ]
1143
                                                ]
1144
                                            ],
1145
                                            'edit' => [
1146
                                                'type' => Segment::class,
1147
                                                'options' => [
1148
                                                    'route' => '/:question_id/edit',
1149
                                                    'constraints' => [
1150
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1151
                                                    ],
1152
                                                    'defaults' => [
1153
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1154
                                                        'action' => 'edit'
1155
                                                    ]
1156
                                                ]
1157
                                            ],
1158
                                            'delete' => [
1159
                                                'type' => Segment::class,
1160
                                                'options' => [
1161
                                                    'route' => '/:question_id/delete',
1162
                                                    'constraints' => [
1163
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1164
                                                    ],
1165
                                                    'defaults' => [
1166
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1167
                                                        'action' => 'delete'
1168
                                                    ]
1169
                                                ]
1170
                                            ],
1171
                                            'answers' => [
1172
                                                'type' => Segment::class,
1173
                                                'options' => [
1174
                                                    'route' => '/:question_id/answers',
1175
                                                    'constraints' => [
1176
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1177
                                                    ],
1178
                                                    'defaults' => [
1179
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1180
                                                        'action' => 'index'
1181
                                                    ]
1182
                                                ],
1183
                                                'may_terminate' => true,
1184
                                                'child_routes' => [
1185
                                                    'add' => [
1186
                                                        'type' => Literal::class,
1187
                                                        'options' => [
1188
                                                            'route' => '/add',
1189
                                                            'defaults' => [
1190
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1191
                                                                'action' => 'add'
1192
                                                            ]
1193
                                                        ]
1194
                                                    ],
1195
                                                    'edit' => [
1196
                                                        'type' => Segment::class,
1197
                                                        'options' => [
1198
                                                            'route' => '/:answer_id/edit',
1199
                                                            'constraints' => [
1200
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1201
                                                            ],
1202
                                                            'defaults' => [
1203
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1204
                                                                'action' => 'edit'
1205
                                                            ]
1206
                                                        ]
1207
                                                    ],
1208
                                                    'delete' => [
1209
                                                        'type' => Segment::class,
1210
                                                        'options' => [
1211
                                                            'route' => '/:answer_id/delete',
1212
                                                            'constraints' => [
1213
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1214
                                                            ],
1215
                                                            'defaults' => [
1216
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1217
                                                                'action' => 'delete'
1218
                                                            ]
1219
                                                        ]
1220
                                                    ],
1221
                                                ]
1222
                                            ],
1223
                                        ]
1224
                                    ],
1225
                                ]
1089 geraldo 1226
                            ],
1 www 1227
                            'topics' => [
1228
                                'type' => Literal::class,
1229
                                'options' => [
1230
                                    'route' => '/topics',
1231
                                    'defaults' => [
1232
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1233
                                        'action' => 'index'
1234
                                    ]
1235
                                ],
1236
                                'may_terminate' => true,
1237
                                'child_routes' => [
1238
                                    'add' => [
1239
                                        'type' => Literal::class,
1240
                                        'options' => [
1241
                                            'route' => '/add',
1242
                                            'defaults' => [
1243
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1244
                                                'action' => 'add'
1245
                                            ]
1246
                                        ]
1247
                                    ],
1248
                                    'edit' => [
1249
                                        'type' => Segment::class,
1250
                                        'options' => [
1251
                                            'route' => '/edit/:id',
1252
                                            'constraints' => [
1253
                                                'id' => '[A-Za-z0-9\-]+\=*'
1254
                                            ],
1255
                                            'defaults' => [
1256
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1257
                                                'action' => 'edit'
1258
                                            ]
1259
                                        ]
1260
                                    ],
1261
                                    'delete' => [
1262
                                        'type' => Segment::class,
1263
                                        'options' => [
1264
                                            'route' => '/delete/:id',
1265
                                            'constraints' => [
1266
                                                'id' => '[A-Za-z0-9\-]+\=*'
1267
                                            ],
1268
                                            'defaults' => [
1269
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1270
                                                'action' => 'delete'
1271
                                            ]
1272
                                        ]
1273
                                    ]
1274
                                ]
1275
                            ],
1276
                            'capsules' => [
1277
                                'type' => Literal::class,
1278
                                'options' => [
1279
                                    'route' => '/capsules',
1280
                                    'defaults' => [
1281
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1282
                                        'action' => 'index'
1283
                                    ]
1284
                                ],
1285
                                'may_terminate' => true,
1286
                                'child_routes' => [
1287
                                    'add' => [
1288
                                        'type' => Segment::class,
1289
                                        'options' => [
1290
                                            'route' => '/add/topic/:topic_uuid',
1291
                                            'constraints' => [
1292
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1293
                                            ],
1294
                                            'defaults' => [
1295
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1296
                                                'action' => 'add'
1297
                                            ]
1298
                                        ]
1299
                                    ],
1300
                                    'edit' => [
1301
                                        'type' => Segment::class,
1302
                                        'options' => [
1303
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
1304
                                            'constraints' => [
1305
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1306
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1307
                                            ],
1308
                                            'defaults' => [
1309
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1310
                                                'action' => 'edit'
1311
                                            ]
1312
                                        ]
1313
                                    ],
1314
                                    'delete' => [
1315
                                        'type' => Segment::class,
1316
                                        'options' => [
1317
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
1318
                                            'constraints' => [
1319
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1320
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1321
                                            ],
1322
                                            'defaults' => [
1323
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1324
                                                'action' => 'delete'
1325
                                            ]
1326
                                        ]
1327
                                    ],
1328
                                    'users' => [
1329
                                        'type' => Segment::class,
1330
                                        'options' => [
1331
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
1332
                                            'constraints' => [
1333
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1334
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1335
                                                'type' => 'all|active',
1336
                                            ],
1337
                                            'defaults' => [
1338
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1339
                                                'action' => 'users'
1340
                                            ]
1341
                                        ]
1342
                                    ],
1343
                                ]
1344
                            ],
1345
                            'slides' => [
1346
                                'type' => Literal::class,
1347
                                'options' => [
1348
                                    'route' => '/slides',
1349
                                    'defaults' => [
1350
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1351
                                        'action' => 'index'
1352
                                    ]
1353
                                ],
1354
                                'may_terminate' => true,
1355
                                'child_routes' => [
1356
                                    'add' => [
1357
                                        'type' => Segment::class,
1358
                                        'options' => [
1359
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
1360
                                            'constraints' => [
1361
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1362
                                            ],
1363
                                            'defaults' => [
1364
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1365
                                                'action' => 'add'
1366
                                            ]
1367
                                        ]
1368
                                    ],
1369
                                    'edit' => [
1370
                                        'type' => Segment::class,
1371
                                        'options' => [
1372
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1373
                                            'constraints' => [
1374
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1375
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1376
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1377
                                            ],
1378
                                            'defaults' => [
1379
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1380
                                                'action' => 'edit'
1381
                                            ]
1382
                                        ]
1383
                                    ],
1384
                                    'delete' => [
1385
                                        'type' => Segment::class,
1386
                                        'options' => [
1387
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1388
                                            'constraints' => [
1389
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1390
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1391
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1392
                                            ],
1393
                                            'defaults' => [
1394
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1395
                                                'action' => 'delete'
1396
                                            ]
1397
                                        ]
1398
                                    ],
1399
                                    'text' => [
1400
                                        'type' => Segment::class,
1401
                                        'options' => [
1402
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1403
                                            'constraints' => [
1404
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1405
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1406
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1407
                                            ],
1408
                                            'defaults' => [
1409
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1410
                                                'action' => 'text'
1411
                                            ]
1412
                                        ]
1413
                                    ],
1414
                                ]
1415
                            ],
1089 geraldo 1416
                        ],
1417
                    ],
1 www 1418
                    'students' => [
1419
                        'type' => Literal::class,
1420
                        'options' => [
1421
                            'route' => '/students',
1422
                            'defaults' => [
1423
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1424
                                'action' => 'index'
1425
                            ]
1426
                        ],
1427
                        'may_terminate' => true,
1428
                        'child_routes' => [
1429
                            'edit' => [
1430
                                'type' => Segment::class,
1431
                                'options' => [
1432
                                    'route' => '/edit/:id',
1433
                                    'constraints' => [
1434
                                        'id' => '[A-Za-z0-9\-]+\=*',
1435
                                    ],
1436
                                    'defaults' => [
1437
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1438
                                        'action' => 'edit'
1439
                                    ]
1440
                                ]
1441
                            ],
1442
                            'timeline' => [
1443
                                'type' => Segment::class,
1444
                                'options' => [
1445
                                    'route' => '/timeline/:id',
1446
                                    'constraints' => [
1447
                                        'id' => '[A-Za-z0-9\-]+\=*',
1448
                                    ],
1449
                                    'defaults' => [
1450
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1451
                                        'action' => 'timeline'
1452
                                    ]
1453
                                ]
1454
                            ],
1455
                            'change-password' => [
1456
                                'type' => Segment::class,
1457
                                'options' => [
1458
                                    'route' => '/change-password/:id',
1459
                                    'constraints' => [
1460
                                        'id' => '[A-Za-z0-9\-]+\=*'
1461
                                    ],
1462
                                    'defaults' => [
1463
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1464
                                        'action' => 'change-password'
1465
                                    ]
1466
                                ]
1467
                            ],
1468
                            'unblock' => [
1469
                                'type' => Segment::class,
1470
                                'options' => [
1471
                                    'route' => '/unblock/:id',
1472
                                    'constraints' => [
1473
                                        'id' => '[A-Za-z0-9\-]+\=*'
1474
                                    ],
1475
                                    'defaults' => [
1476
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1477
                                        'action' => 'unblock'
1478
                                    ]
1479
                                ]
1480
                            ],
1089 geraldo 1481
                        ]
1482
                    ],
1 www 1483
                    'access-for-students' => [
1484
                        'type' => Literal::class,
1485
                        'options' => [
1486
                            'route' => '/access-for-students',
1487
                            'defaults' => [
1488
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1489
                                'action' => 'index'
1490
                            ]
1491
                        ],
1492
                        'may_terminate' => true,
1493
                        'child_routes' => [
1494
                            'revoke' => [
1495
                                'type' => Segment::class,
1496
                                'options' => [
1497
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1498
                                    'constraints' => [
1499
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1500
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1501
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1502
                                    ],
1503
                                    'defaults' => [
1504
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1505
                                        'action' => 'revoke'
1506
                                    ]
1507
                                ]
1508
                            ],
1509
                            'unlimit' => [
1510
                                'type' => Segment::class,
1511
                                'options' => [
1512
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1513
                                    'constraints' => [
1514
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1515
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1516
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1517
                                    ],
1518
                                    'defaults' => [
1519
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1520
                                        'action' => 'unlimit'
1521
                                    ]
1522
                                ]
1523
                            ],
1524
                            'upload' => [
1525
                                'type' => Segment::class,
1526
                                'options' => [
1527
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1528
                                    'constraints' => [
1529
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1530
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1531
                                    ],
1532
                                    'defaults' => [
1533
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1534
                                        'action' => 'upload'
1535
                                    ]
1536
                                ]
1537
                            ],
1538
                            'notification' => [
1539
                                'type' => Segment::class,
1540
                                'options' => [
1541
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1542
                                    'constraints' => [
1543
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1544
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1545
                                    ],
1546
                                    'defaults' => [
1547
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1548
                                        'action' => 'notification'
1549
                                    ]
1550
                                ]
1551
                            ],
1552
                        ],
1089 geraldo 1553
                    ],
1 www 1554
                    'settings' => [
1555
                        'type' => Literal::class,
1556
                        'options' => [
1557
                            'route' => '/settings',
1558
                            'defaults' => [
1559
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1560
                                'action' => 'index'
1561
                            ]
1562
                        ],
1563
                        'may_terminate' => true,
1564
                        'child_routes' => [
1565
                            'student-types' => [
1566
                                'type' => Literal::class,
1567
                                'options' => [
1568
                                    'route' => '/student-types',
1569
                                    'defaults' => [
1570
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1571
                                        'action' => 'index'
1572
                                    ]
1573
                                ],
1574
                                'may_terminate' => true,
1575
                                'child_routes' => [
1576
                                    'add' => [
1577
                                        'type' => Literal::class,
1578
                                        'options' => [
1579
                                            'route' => '/add',
1580
                                            'defaults' => [
1581
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1582
                                                'action' => 'add'
1583
                                            ]
1584
                                        ]
1585
                                    ],
1586
                                    'edit' => [
1587
                                        'type' => Segment::class,
1588
                                        'options' => [
1589
                                            'route' => '/edit/:id',
1590
                                            'constraints' => [
1591
                                                'id' => '[A-Za-z0-9\-]+\=*'
1592
                                            ],
1593
                                            'defaults' => [
1594
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1595
                                                'action' => 'edit'
1596
                                            ]
1597
                                        ]
1598
                                    ],
1599
                                    'delete' => [
1600
                                        'type' => Segment::class,
1601
                                        'options' => [
1602
                                            'route' => '/delete/:id',
1603
                                            'constraints' => [
1604
                                                'id' => '[A-Za-z0-9\-]+\=*'
1605
                                            ],
1606
                                            'defaults' => [
1607
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1608
                                                'action' => 'delete'
1609
                                            ]
1610
                                        ]
1611
                                    ]
1612
                                ]
1613
                            ],
1614
                            'functions' => [
1615
                                'type' => Literal::class,
1616
                                'options' => [
1617
                                    'route' => '/functions',
1618
                                    'defaults' => [
1619
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1620
                                        'action' => 'index'
1621
                                    ]
1622
                                ],
1623
                                'may_terminate' => true,
1624
                                'child_routes' => [
1625
                                    'add' => [
1626
                                        'type' => Literal::class,
1627
                                        'options' => [
1628
                                            'route' => '/add',
1629
                                            'defaults' => [
1630
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1631
                                                'action' => 'add'
1632
                                            ]
1633
                                        ]
1634
                                    ],
1635
                                    'edit' => [
1636
                                        'type' => Segment::class,
1637
                                        'options' => [
1638
                                            'route' => '/edit/:id',
1639
                                            'constraints' => [
1640
                                                'id' => '[A-Za-z0-9\-]+\=*'
1641
                                            ],
1642
                                            'defaults' => [
1643
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1644
                                                'action' => 'edit'
1645
                                            ]
1646
                                        ]
1647
                                    ],
1648
                                    'delete' => [
1649
                                        'type' => Segment::class,
1650
                                        'options' => [
1651
                                            'route' => '/delete/:id',
1652
                                            'constraints' => [
1653
                                                'id' => '[A-Za-z0-9\-]+\=*'
1654
                                            ],
1655
                                            'defaults' => [
1656
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1657
                                                'action' => 'delete'
1658
                                            ]
1659
                                        ]
1660
                                    ]
1661
                                ]
1662
                            ],
1663
                            'sectors' => [
1664
                                'type' => Literal::class,
1665
                                'options' => [
1666
                                    'route' => '/sectors',
1667
                                    'defaults' => [
1668
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1669
                                        'action' => 'index'
1670
                                    ]
1671
                                ],
1672
                                'may_terminate' => true,
1673
                                'child_routes' => [
1674
                                    'add' => [
1675
                                        'type' => Literal::class,
1676
                                        'options' => [
1677
                                            'route' => '/add',
1678
                                            'defaults' => [
1679
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1680
                                                'action' => 'add'
1681
                                            ]
1682
                                        ]
1683
                                    ],
1684
                                    'edit' => [
1685
                                        'type' => Segment::class,
1686
                                        'options' => [
1687
                                            'route' => '/edit/:id',
1688
                                            'constraints' => [
1689
                                                'id' => '[A-Za-z0-9\-]+\=*'
1690
                                            ],
1691
                                            'defaults' => [
1692
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1693
                                                'action' => 'edit'
1694
                                            ]
1695
                                        ]
1696
                                    ],
1697
                                    'delete' => [
1698
                                        'type' => Segment::class,
1699
                                        'options' => [
1700
                                            'route' => '/delete/:id',
1701
                                            'constraints' => [
1702
                                                'id' => '[A-Za-z0-9\-]+\=*'
1703
                                            ],
1704
                                            'defaults' => [
1705
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1706
                                                'action' => 'delete'
1707
                                            ]
1708
                                        ]
1709
                                    ]
1710
                                ]
1711
                            ],
1712
                            'programs' => [
1713
                                'type' => Literal::class,
1714
                                'options' => [
1715
                                    'route' => '/programs',
1716
                                    'defaults' => [
1717
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1718
                                        'action' => 'index'
1719
                                    ]
1720
                                ],
1721
                                'may_terminate' => true,
1722
                                'child_routes' => [
1723
                                    'add' => [
1724
                                        'type' => Literal::class,
1725
                                        'options' => [
1726
                                            'route' => '/add',
1727
                                            'defaults' => [
1728
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1729
                                                'action' => 'add'
1730
                                            ]
1731
                                        ]
1732
                                    ],
1733
                                    'edit' => [
1734
                                        'type' => Segment::class,
1735
                                        'options' => [
1736
                                            'route' => '/edit/:id',
1737
                                            'constraints' => [
1738
                                                'id' => '[A-Za-z0-9\-]+\=*'
1739
                                            ],
1740
                                            'defaults' => [
1741
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1742
                                                'action' => 'edit'
1743
                                            ]
1744
                                        ]
1745
                                    ],
1746
                                    'delete' => [
1747
                                        'type' => Segment::class,
1748
                                        'options' => [
1749
                                            'route' => '/delete/:id',
1750
                                            'constraints' => [
1751
                                                'id' => '[A-Za-z0-9\-]+\=*'
1752
                                            ],
1753
                                            'defaults' => [
1754
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1755
                                                'action' => 'delete'
1756
                                            ]
1757
                                        ]
1758
                                    ]
1759
                                ]
1760
                            ],
1761
                            'groups' => [
1762
                                'type' => Literal::class,
1763
                                'options' => [
1764
                                    'route' => '/groups',
1765
                                    'defaults' => [
1766
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1767
                                        'action' => 'index'
1768
                                    ]
1769
                                ],
1770
                                'may_terminate' => true,
1771
                                'child_routes' => [
1772
                                    'add' => [
1773
                                        'type' => Literal::class,
1774
                                        'options' => [
1775
                                            'route' => '/add',
1776
                                            'defaults' => [
1777
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1778
                                                'action' => 'add'
1779
                                            ]
1780
                                        ]
1781
                                    ],
1782
                                    'edit' => [
1783
                                        'type' => Segment::class,
1784
                                        'options' => [
1785
                                            'route' => '/edit/:id',
1786
                                            'constraints' => [
1787
                                                'id' => '[A-Za-z0-9\-]+\=*'
1788
                                            ],
1789
                                            'defaults' => [
1790
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1791
                                                'action' => 'edit'
1792
                                            ]
1793
                                        ]
1794
                                    ],
1795
                                    'delete' => [
1796
                                        'type' => Segment::class,
1797
                                        'options' => [
1798
                                            'route' => '/delete/:id',
1799
                                            'constraints' => [
1800
                                                'id' => '[A-Za-z0-9\-]+\=*'
1801
                                            ],
1802
                                            'defaults' => [
1803
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1804
                                                'action' => 'delete'
1805
                                            ]
1806
                                        ]
1807
                                    ]
1808
                                ]
1809
                            ],
1810
                            'companies' => [
1811
                                'type' => Literal::class,
1812
                                'options' => [
1813
                                    'route' => '/companies',
1814
                                    'defaults' => [
1815
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1816
                                        'action' => 'index'
1817
                                    ]
1818
                                ],
1819
                                'may_terminate' => true,
1820
                                'child_routes' => [
1821
                                    'add' => [
1822
                                        'type' => Literal::class,
1823
                                        'options' => [
1824
                                            'route' => '/add',
1825
                                            'defaults' => [
1826
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1827
                                                'action' => 'add'
1828
                                            ]
1829
                                        ]
1830
                                    ],
1831
                                    'edit' => [
1832
                                        'type' => Segment::class,
1833
                                        'options' => [
1834
                                            'route' => '/edit/:id',
1835
                                            'constraints' => [
1836
                                                'id' => '[A-Za-z0-9\-]+\=*'
1837
                                            ],
1838
                                            'defaults' => [
1839
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1840
                                                'action' => 'edit'
1841
                                            ]
1842
                                        ]
1843
                                    ],
1844
                                    'delete' => [
1845
                                        'type' => Segment::class,
1846
                                        'options' => [
1847
                                            'route' => '/delete/:id',
1848
                                            'constraints' => [
1849
                                                'id' => '[A-Za-z0-9\-]+\=*'
1850
                                            ],
1851
                                            'defaults' => [
1852
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1853
                                                'action' => 'delete'
1854
                                            ]
1855
                                        ]
1856
                                    ]
1857
                                ]
1858
                            ],
1859
                            'partners' => [
1860
                                'type' => Literal::class,
1861
                                'options' => [
1862
                                    'route' => '/partners',
1863
                                    'defaults' => [
1864
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1865
                                        'action' => 'index'
1866
                                    ]
1867
                                ],
1868
                                'may_terminate' => true,
1869
                                'child_routes' => [
1870
                                    'add' => [
1871
                                        'type' => Literal::class,
1872
                                        'options' => [
1873
                                            'route' => '/add',
1874
                                            'defaults' => [
1875
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1876
                                                'action' => 'add'
1877
                                            ]
1878
                                        ]
1879
                                    ],
1880
                                    'edit' => [
1881
                                        'type' => Segment::class,
1882
                                        'options' => [
1883
                                            'route' => '/edit/:id',
1884
                                            'constraints' => [
1885
                                                'id' => '[A-Za-z0-9\-]+\=*'
1886
                                            ],
1887
                                            'defaults' => [
1888
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1889
                                                'action' => 'edit'
1890
                                            ]
1891
                                        ]
1892
                                    ],
1893
                                    'delete' => [
1894
                                        'type' => Segment::class,
1895
                                        'options' => [
1896
                                            'route' => '/delete/:id',
1897
                                            'constraints' => [
1898
                                                'id' => '[A-Za-z0-9\-]+\=*'
1899
                                            ],
1900
                                            'defaults' => [
1901
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1902
                                                'action' => 'delete'
1903
                                            ]
1904
                                        ]
1905
                                    ]
1906
                                ]
1907
                            ],
1908
                            'institutions' => [
1909
                                'type' => Literal::class,
1910
                                'options' => [
1911
                                    'route' => '/institutions',
1912
                                    'defaults' => [
1913
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1914
                                        'action' => 'index'
1915
                                    ]
1916
                                ],
1917
                                'may_terminate' => true,
1918
                                'child_routes' => [
1919
                                    'add' => [
1920
                                        'type' => Literal::class,
1921
                                        'options' => [
1922
                                            'route' => '/add',
1923
                                            'defaults' => [
1924
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1925
                                                'action' => 'add'
1926
                                            ]
1927
                                        ]
1928
                                    ],
1929
                                    'edit' => [
1930
                                        'type' => Segment::class,
1931
                                        'options' => [
1932
                                            'route' => '/edit/:id',
1933
                                            'constraints' => [
1934
                                                'id' => '[A-Za-z0-9\-]+\=*'
1935
                                            ],
1936
                                            'defaults' => [
1937
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1938
                                                'action' => 'edit'
1939
                                            ]
1940
                                        ]
1941
                                    ],
1942
                                    'delete' => [
1943
                                        'type' => Segment::class,
1944
                                        'options' => [
1945
                                            'route' => '/delete/:id',
1946
                                            'constraints' => [
1947
                                                'id' => '[A-Za-z0-9\-]+\=*'
1948
                                            ],
1949
                                            'defaults' => [
1950
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1951
                                                'action' => 'delete'
1952
                                            ]
1953
                                        ]
1954
                                    ]
1955
                                ]
1956
                            ],
1957
                        ]
1089 geraldo 1958
                    ],
1 www 1959
                ],
1089 geraldo 1960
            ],
1961
            /*             * * START PUBLICATIONS ** */
1 www 1962
            'publications' => [
1963
                'type' => Literal::class,
1964
                'options' => [
1965
                    'route' => '/publications',
1966
                    'defaults' => [
1967
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1968
                        'action' => 'index'
1969
                    ]
1970
                ],
1971
                'may_terminate' => true,
1972
                'child_routes' => [
1973
                    'pages' => [
1974
                        'type' => Literal::class,
1975
                        'options' => [
1976
                            'route' => '/pages',
1977
                            'defaults' => [
1978
                                'controller' => '\LeadersLinked\Controller\PageController',
1979
                                'action' => 'index'
1980
                            ]
1981
                        ],
1982
                        'may_terminate' => true,
1983
                        'child_routes' => [
1984
                            'add' => [
1985
                                'type' => Literal::class,
1986
                                'options' => [
1987
                                    'route' => '/add',
1988
                                    'defaults' => [
1989
                                        'controller' => '\LeadersLinked\Controller\PageController',
1990
                                        'action' => 'add'
1991
                                    ]
1992
                                ]
1993
                            ],
1994
                            'edit' => [
1995
                                'type' => Segment::class,
1996
                                'options' => [
1997
                                    'route' => '/edit/:id',
1998
                                    'constraints' => [
1999
                                        'id' => '[A-Za-z0-9\-]+\=*'
2000
                                    ],
2001
                                    'defaults' => [
2002
                                        'controller' => '\LeadersLinked\Controller\PageController',
2003
                                        'action' => 'edit'
2004
                                    ]
2005
                                ]
2006
                            ],
2007
                            'delete' => [
2008
                                'type' => Segment::class,
2009
                                'options' => [
2010
                                    'route' => '/delete/:id',
2011
                                    'constraints' => [
2012
                                        'id' => '[A-Za-z0-9\-]+\=*'
2013
                                    ],
2014
                                    'defaults' => [
2015
                                        'controller' => '\LeadersLinked\Controller\PageController',
2016
                                        'action' => 'delete'
2017
                                    ]
2018
                                ]
2019
                            ]
2020
                        ]
2021
                    ],
2022
                    'posts' => [
2023
                        'type' => Literal::class,
2024
                        'options' => [
2025
                            'route' => '/posts',
2026
                            'defaults' => [
2027
                                'controller' => '\LeadersLinked\Controller\PostController',
2028
                                'action' => 'index'
2029
                            ]
2030
                        ],
2031
                        'may_terminate' => true,
2032
                        'child_routes' => [
2033
                            'add' => [
2034
                                'type' => Literal::class,
2035
                                'options' => [
2036
                                    'route' => '/add',
2037
                                    'defaults' => [
2038
                                        'controller' => '\LeadersLinked\Controller\PostController',
2039
                                        'action' => 'add'
2040
                                    ]
2041
                                ]
2042
                            ],
2043
                            'edit' => [
2044
                                'type' => Segment::class,
2045
                                'options' => [
2046
                                    'route' => '/edit/:id',
2047
                                    'constraints' => [
2048
                                        'id' => '[A-Za-z0-9\-]+\=*'
2049
                                    ],
2050
                                    'defaults' => [
2051
                                        'controller' => '\LeadersLinked\Controller\PostController',
2052
                                        'action' => 'edit'
2053
                                    ]
2054
                                ]
2055
                            ],
2056
                            'delete' => [
2057
                                'type' => Segment::class,
2058
                                'options' => [
2059
                                    'route' => '/delete/:id',
2060
                                    'constraints' => [
2061
                                        'id' => '[A-Za-z0-9\-]+\=*'
2062
                                    ],
2063
                                    'defaults' => [
2064
                                        'controller' => '\LeadersLinked\Controller\PostController',
2065
                                        'action' => 'delete'
2066
                                    ]
2067
                                ]
2068
                            ]
2069
                        ]
2070
                    ],
2071
                ]
1089 geraldo 2072
            ],
2073
            /*             * * START SELF EVALUATION ** */
114 efrain 2074
            'self-evaluation' => [
2075
                'type' => Literal::class,
2076
                'options' => [
2077
                    'route' => '/self-evaluation',
2078
                    'defaults' => [
115 efrain 2079
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
114 efrain 2080
                        'action' => 'index'
2081
                    ]
2082
                ],
2083
                'may_terminate' => true,
2084
                'child_routes' => [
2085
                    'forms' => [
2086
                        'type' => Literal::class,
2087
                        'options' => [
2088
                            'route' => '/forms',
2089
                            'defaults' => [
115 efrain 2090
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 2091
                                'action' => 'index'
2092
                            ]
2093
                        ],
2094
                        'may_terminate' => true,
2095
                        'child_routes' => [
2096
                            'add' => [
2097
                                'type' => Literal::class,
2098
                                'options' => [
2099
                                    'route' => '/add',
2100
                                    'defaults' => [
115 efrain 2101
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 2102
                                        'action' => 'add'
2103
                                    ]
2104
                                ]
2105
                            ],
2106
                            'edit' => [
2107
                                'type' => Segment::class,
2108
                                'options' => [
2109
                                    'route' => '/edit/:id',
2110
                                    'constraints' => [
2111
                                        'id' => '[A-Za-z0-9\-]+\=*'
2112
                                    ],
2113
                                    'defaults' => [
115 efrain 2114
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 2115
                                        'action' => 'edit'
2116
                                    ]
2117
                                ]
2118
                            ],
2119
                            'delete' => [
2120
                                'type' => Segment::class,
2121
                                'options' => [
2122
                                    'route' => '/delete/:id',
2123
                                    'constraints' => [
2124
                                        'id' => '[A-Za-z0-9\-]+\=*'
2125
                                    ],
2126
                                    'defaults' => [
115 efrain 2127
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 2128
                                        'action' => 'delete'
2129
                                    ]
2130
                                ]
2131
                            ]
2132
                        ]
2133
                    ],
115 efrain 2134
                    'users' => [
2135
                        'type' => Literal::class,
2136
                        'options' => [
2137
                            'route' => '/users',
2138
                            'defaults' => [
2139
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2140
                                'action' => 'index'
2141
                            ]
2142
                        ],
2143
                        'may_terminate' => true,
2144
                        'child_routes' => [
2145
                            'add' => [
2146
                                'type' => Segment::class,
2147
                                'options' => [
2148
                                    'route' => '/add/:form_id/:user_id',
2149
                                    'constraints' => [
2150
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2151
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2152
                                    ],
2153
                                    'defaults' => [
2154
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2155
                                        'action' => 'add'
2156
                                    ]
2157
                                ]
2158
                            ],
2159
                            'delete' => [
2160
                                'type' => Segment::class,
2161
                                'options' => [
2162
                                    'route' => '/delete/:form_id/:user_id',
2163
                                    'constraints' => [
2164
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2165
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2166
                                    ],
2167
                                    'defaults' => [
2168
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2169
                                        'action' => 'delete'
2170
                                    ]
2171
                                ]
2172
                            ]
2173
                        ]
2174
                    ],
114 efrain 2175
                    'reviews' => [
2176
                        'type' => Literal::class,
2177
                        'options' => [
2178
                            'route' => '/reviews',
2179
                            'defaults' => [
115 efrain 2180
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
114 efrain 2181
                                'action' => 'index'
2182
                            ]
2183
                        ],
2184
                        'may_terminate' => true,
2185
                        'child_routes' => [
2186
                            'edit' => [
2187
                                'type' => Segment::class,
2188
                                'options' => [
2189
                                    'route' => '/edit/:id',
2190
                                    'constraints' => [
2191
                                        'id' => '[A-Za-z0-9\-]+\=*'
2192
                                    ],
2193
                                    'defaults' => [
115 efrain 2194
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
486 geraldo 2195
                                        'action' => 'edit'
114 efrain 2196
                                    ]
2197
                                ]
2198
                            ],
469 geraldo 2199
                            'report' => [
2200
                                'type' => Segment::class,
2201
                                'options' => [
2202
                                    'route' => '/report/:id',
2203
                                    'constraints' => [
2204
                                        'id' => '[A-Za-z0-9\-]+\=*'
2205
                                    ],
2206
                                    'defaults' => [
2207
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
487 geraldo 2208
                                        'action' => 'report'
469 geraldo 2209
                                    ]
2210
                                ]
2211
                            ],
114 efrain 2212
                        ]
2213
                    ],
2214
                ]
1089 geraldo 2215
            ],
2216
            /*             * * END SELF EVALUATION ** */
946 geraldo 2217
 
1089 geraldo 2218
            /*             * * START PERFOMANCE EVALUATION ** */
946 geraldo 2219
            'performance-evaluation' => [
2220
                'type' => Literal::class,
2221
                'options' => [
2222
                    'route' => '/performance-evaluation',
2223
                    'defaults' => [
980 geraldo 2224
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
946 geraldo 2225
                        'action' => 'index'
2226
                    ]
2227
                ],
2228
                'may_terminate' => true,
2229
                'child_routes' => [
2230
                    'forms' => [
2231
                        'type' => Literal::class,
2232
                        'options' => [
2233
                            'route' => '/forms',
2234
                            'defaults' => [
977 geraldo 2235
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2236
                                'action' => 'index'
2237
                            ]
2238
                        ],
2239
                        'may_terminate' => true,
2240
                        'child_routes' => [
2241
                            'add' => [
2242
                                'type' => Literal::class,
2243
                                'options' => [
2244
                                    'route' => '/add',
2245
                                    'defaults' => [
977 geraldo 2246
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2247
                                        'action' => 'add'
2248
                                    ]
2249
                                ]
2250
                            ],
2251
                            'edit' => [
2252
                                'type' => Segment::class,
2253
                                'options' => [
2254
                                    'route' => '/edit/:id',
2255
                                    'constraints' => [
2256
                                        'id' => '[A-Za-z0-9\-]+\=*'
2257
                                    ],
2258
                                    'defaults' => [
986 geraldo 2259
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2260
                                        'action' => 'edit'
2261
                                    ]
2262
                                ]
2263
                            ],
2264
                            'delete' => [
2265
                                'type' => Segment::class,
2266
                                'options' => [
2267
                                    'route' => '/delete/:id',
2268
                                    'constraints' => [
2269
                                        'id' => '[A-Za-z0-9\-]+\=*'
2270
                                    ],
2271
                                    'defaults' => [
986 geraldo 2272
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2273
                                        'action' => 'delete'
2274
                                    ]
2275
                                ]
1263 geraldo 2276
                                    ],
2277
                            'report' => [
2278
                                'type' => Segment::class,
2279
                                'options' => [
2280
                                    'route' => '/report/:id',
2281
                                    'constraints' => [
2282
                                        'id' => '[A-Za-z0-9\-]+\=*'
2283
                                    ],
2284
                                    'defaults' => [
2285
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2286
                                        'action' => 'report'
2287
                                    ]
2288
                                ]
2289
                            ],
946 geraldo 2290
                        ]
2291
                    ],
2292
                    'users' => [
2293
                        'type' => Literal::class,
2294
                        'options' => [
2295
                            'route' => '/users',
2296
                            'defaults' => [
986 geraldo 2297
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
946 geraldo 2298
                                'action' => 'index'
2299
                            ]
2300
                        ],
2301
                        'may_terminate' => true,
2302
                        'child_routes' => [
1320 efrain 2303
                            'supervisors' => [
2304
                                'type' => Literal::class,
946 geraldo 2305
                                'options' => [
1320 efrain 2306
                                    'route' => 'supervisors',
946 geraldo 2307
                                    'defaults' => [
1320 efrain 2308
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2309
                                        'action' => 'index'
946 geraldo 2310
                                    ]
1320 efrain 2311
                                ],
2312
                                'may_terminate' => true,
2313
                                'child_routes' => [
2314
                                    'add' => [
2315
                                        'type' => Segment::class,
2316
                                        'options' => [
2317
                                            'route' => '/add/:form_id/:user_id',
2318
                                            'constraints' => [
2319
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2320
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2321
                                            ],
2322
                                            'defaults' => [
2323
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2324
                                                'action' => 'add'
2325
                                            ]
2326
                                        ]
2327
                                    ],
2328
                                    'delete' => [
2329
                                        'type' => Segment::class,
2330
                                        'options' => [
2331
                                            'route' => '/delete/:form_id/:user_id',
2332
                                            'constraints' => [
2333
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2334
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2335
                                            ],
2336
                                            'defaults' => [
2337
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2338
                                                'action' => 'delete'
2339
                                            ]
2340
                                        ]
2341
                                    ]
946 geraldo 2342
                                ]
1320 efrain 2343
                            ],
2344
                            'employees' => [
2345
                                'type' => Literal::class,
946 geraldo 2346
                                'options' => [
1320 efrain 2347
                                    'route' => 'employees',
946 geraldo 2348
                                    'defaults' => [
1320 efrain 2349
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2350
                                        'action' => 'index'
946 geraldo 2351
                                    ]
1320 efrain 2352
                                ],
2353
                                'may_terminate' => true,
2354
                                'child_routes' => [
2355
                                    'add' => [
2356
                                        'type' => Segment::class,
2357
                                        'options' => [
2358
                                            'route' => '/add/:form_id/:supervisor_id/:employee_id',
2359
                                            'constraints' => [
2360
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2361
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
2362
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
2363
                                            ],
2364
                                            'defaults' => [
2365
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2366
                                                'action' => 'add'
2367
                                            ]
2368
                                        ]
2369
                                    ],
2370
                                    'delete' => [
2371
                                        'type' => Segment::class,
2372
                                        'options' => [
2373
                                            'route' => '/delete/:form_id/:supervisor_id/:employee_id',
2374
                                            'constraints' => [
2375
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2376
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
2377
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
2378
                                            ],
2379
                                            'defaults' => [
2380
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2381
                                                'action' => 'delete'
2382
                                            ]
2383
                                        ]
2384
                                    ]
946 geraldo 2385
                                ]
1320 efrain 2386
                            ],
2387
 
946 geraldo 2388
                        ]
2389
                    ],
2390
                ]
1089 geraldo 2391
            ],
2392
            /*             * * END PERFORMANCE EVALUATION ** */
2393
 
2394
            /*             * * START SETTINGS ** */
1 www 2395
            'settings' => [
2396
                'type' => Literal::class,
2397
                'options' => [
2398
                    'route' => '/settings',
2399
                    'defaults' => [
2400
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2401
                        'action' => 'index'
2402
                    ]
2403
                ],
2404
                'may_terminate' => true,
2405
                'child_routes' => [
2406
                    'company-sizes' => [
2407
                        'type' => Literal::class,
2408
                        'options' => [
2409
                            'route' => '/company-sizes',
2410
                            'defaults' => [
2411
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2412
                                'action' => 'index'
2413
                            ]
2414
                        ],
2415
                        'may_terminate' => true,
2416
                        'child_routes' => [
2417
                            'add' => [
2418
                                'type' => Literal::class,
2419
                                'options' => [
2420
                                    'route' => '/add',
2421
                                    'defaults' => [
2422
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2423
                                        'action' => 'add'
2424
                                    ]
2425
                                ]
2426
                            ],
2427
                            'edit' => [
2428
                                'type' => Segment::class,
2429
                                'options' => [
2430
                                    'route' => '/edit/:id',
2431
                                    'constraints' => [
2432
                                        'id' => '[A-Za-z0-9\-]+\=*'
2433
                                    ],
2434
                                    'defaults' => [
2435
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2436
                                        'action' => 'edit'
2437
                                    ]
2438
                                ]
2439
                            ],
2440
                            'delete' => [
2441
                                'type' => Segment::class,
2442
                                'options' => [
2443
                                    'route' => '/delete/:id',
2444
                                    'constraints' => [
2445
                                        'id' => '[A-Za-z0-9\-]+\=*'
2446
                                    ],
2447
                                    'defaults' => [
2448
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2449
                                        'action' => 'delete'
2450
                                    ]
2451
                                ]
2452
                            ]
2453
                        ]
2454
                    ],
2455
                    'competency-types' => [
2456
                        'type' => Literal::class,
2457
                        'options' => [
2458
                            'route' => '/competency-types',
2459
                            'defaults' => [
2460
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2461
                                'action' => 'index'
2462
                            ]
2463
                        ],
2464
                        'may_terminate' => true,
2465
                        'child_routes' => [
2466
                            'add' => [
2467
                                'type' => Literal::class,
2468
                                'options' => [
2469
                                    'route' => '/add',
2470
                                    'defaults' => [
2471
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2472
                                        'action' => 'add'
2473
                                    ]
2474
                                ]
2475
                            ],
2476
                            'edit' => [
2477
                                'type' => Segment::class,
2478
                                'options' => [
2479
                                    'route' => '/edit/:id',
2480
                                    'constraints' => [
2481
                                        'id' => '[A-Za-z0-9\-]+\=*'
2482
                                    ],
2483
                                    'defaults' => [
2484
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2485
                                        'action' => 'edit'
2486
                                    ]
2487
                                ]
2488
                            ],
2489
                            'delete' => [
2490
                                'type' => Segment::class,
2491
                                'options' => [
2492
                                    'route' => '/delete/:id',
2493
                                    'constraints' => [
2494
                                        'id' => '[A-Za-z0-9\-]+\=*'
2495
                                    ],
2496
                                    'defaults' => [
2497
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2498
                                        'action' => 'delete'
2499
                                    ]
2500
                                ]
28 efrain 2501
                            ],
2502
                            'import' => [
2503
                                'type' => Literal::class,
2504
                                'options' => [
2505
                                    'route' => '/import',
2506
                                    'defaults' => [
2507
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2508
                                        'action' => 'import'
2509
                                    ]
2510
                                ]
2511
                            ],
1 www 2512
                        ]
2513
                    ],
1104 geraldo 2514
                    'behaviors' => [
2515
                        'type' => Literal::class,
2516
                        'options' => [
2517
                            'route' => '/behaviors',
2518
                            'defaults' => [
2519
                                'controller' => '\LeadersLinked\Controller\BehaviorsController',
2520
                                'action' => 'index'
2521
                            ]
2522
                        ],
2523
                        'may_terminate' => true,
2524
                        'child_routes' => [
2525
                            'add' => [
2526
                                'type' => Literal::class,
2527
                                'options' => [
2528
                                    'route' => '/add',
2529
                                    'defaults' => [
2530
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2531
                                        'action' => 'add'
2532
                                    ]
2533
                                ]
1115 geraldo 2534
                            ],
2535
                            'edit' => [
2536
                                'type' => Segment::class,
2537
                                'options' => [
2538
                                    'route' => '/edit/:id',
2539
                                    'constraints' => [
2540
                                        'id' => '[A-Za-z0-9\-]+\=*'
2541
                                    ],
2542
                                    'defaults' => [
2543
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2544
                                        'action' => 'edit'
2545
                                    ]
2546
                                ]
2547
                            ],
1104 geraldo 2548
                        ]
2549
                    ],
1 www 2550
                    'competencies' => [
2551
                        'type' => Literal::class,
2552
                        'options' => [
2553
                            'route' => '/competencies',
2554
                            'defaults' => [
2555
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2556
                                'action' => 'index'
2557
                            ]
2558
                        ],
2559
                        'may_terminate' => true,
2560
                        'child_routes' => [
2561
                            'add' => [
2562
                                'type' => Literal::class,
2563
                                'options' => [
2564
                                    'route' => '/add',
2565
                                    'defaults' => [
2566
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2567
                                        'action' => 'add'
2568
                                    ]
2569
                                ]
2570
                            ],
2571
                            'edit' => [
2572
                                'type' => Segment::class,
2573
                                'options' => [
2574
                                    'route' => '/edit/:id',
2575
                                    'constraints' => [
2576
                                        'id' => '[A-Za-z0-9\-]+\=*'
2577
                                    ],
2578
                                    'defaults' => [
2579
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2580
                                        'action' => 'edit'
2581
                                    ]
2582
                                ]
2583
                            ],
2584
                            'delete' => [
2585
                                'type' => Segment::class,
2586
                                'options' => [
2587
                                    'route' => '/delete/:id',
2588
                                    'constraints' => [
2589
                                        'id' => '[A-Za-z0-9\-]+\=*'
2590
                                    ],
2591
                                    'defaults' => [
2592
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2593
                                        'action' => 'delete'
2594
                                    ]
2595
                                ]
28 efrain 2596
                            ],
2597
                            'import' => [
2598
                                'type' => Literal::class,
2599
                                'options' => [
2600
                                    'route' => '/import',
2601
                                    'defaults' => [
2602
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2603
                                        'action' => 'import'
2604
                                    ]
2605
                                ]
2606
                            ],
1 www 2607
                        ]
2608
                    ],
2609
                    'degrees' => [
2610
                        'type' => Literal::class,
2611
                        'options' => [
2612
                            'route' => '/degrees',
2613
                            'defaults' => [
2614
                                'controller' => '\LeadersLinked\Controller\DegreeController',
2615
                                'action' => 'index'
2616
                            ]
2617
                        ],
2618
                        'may_terminate' => true,
2619
                        'child_routes' => [
2620
                            'add' => [
2621
                                'type' => Literal::class,
2622
                                'options' => [
2623
                                    'route' => '/add',
2624
                                    'defaults' => [
2625
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2626
                                        'action' => 'add'
2627
                                    ]
2628
                                ]
2629
                            ],
2630
                            'edit' => [
2631
                                'type' => Segment::class,
2632
                                'options' => [
2633
                                    'route' => '/edit/:id',
2634
                                    'constraints' => [
2635
                                        'id' => '[A-Za-z0-9\-]+\=*'
2636
                                    ],
2637
                                    'defaults' => [
2638
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2639
                                        'action' => 'edit'
2640
                                    ]
2641
                                ]
2642
                            ],
2643
                            'delete' => [
2644
                                'type' => Segment::class,
2645
                                'options' => [
2646
                                    'route' => '/delete/:id',
2647
                                    'constraints' => [
2648
                                        'id' => '[A-Za-z0-9\-]+\=*'
2649
                                    ],
2650
                                    'defaults' => [
2651
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2652
                                        'action' => 'delete'
2653
                                    ]
2654
                                ]
2655
                            ]
2656
                        ]
2657
                    ],
2658
                    'group-types' => [
2659
                        'type' => Literal::class,
2660
                        'options' => [
2661
                            'route' => '/competency-types',
2662
                            'defaults' => [
2663
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2664
                                'action' => 'index'
2665
                            ]
2666
                        ],
2667
                        'may_terminate' => true,
2668
                        'child_routes' => [
2669
                            'add' => [
2670
                                'type' => Literal::class,
2671
                                'options' => [
2672
                                    'route' => '/add',
2673
                                    'defaults' => [
2674
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2675
                                        'action' => 'add'
2676
                                    ]
2677
                                ]
2678
                            ],
2679
                            'edit' => [
2680
                                'type' => Segment::class,
2681
                                'options' => [
2682
                                    'route' => '/edit/:id',
2683
                                    'constraints' => [
2684
                                        'id' => '[A-Za-z0-9\-]+\=*'
2685
                                    ],
2686
                                    'defaults' => [
2687
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2688
                                        'action' => 'edit'
2689
                                    ]
2690
                                ]
2691
                            ],
2692
                            'delete' => [
2693
                                'type' => Segment::class,
2694
                                'options' => [
2695
                                    'route' => '/delete/:id',
2696
                                    'constraints' => [
2697
                                        'id' => '[A-Za-z0-9\-]+\=*'
2698
                                    ],
2699
                                    'defaults' => [
2700
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2701
                                        'action' => 'delete'
2702
                                    ]
2703
                                ]
2704
                            ]
2705
                        ]
2706
                    ],
2707
                    'industries' => [
2708
                        'type' => Literal::class,
2709
                        'options' => [
2710
                            'route' => '/industries',
2711
                            'defaults' => [
2712
                                'controller' => '\LeadersLinked\Controller\IndustryController',
2713
                                'action' => 'index'
2714
                            ]
2715
                        ],
2716
                        'may_terminate' => true,
2717
                        'child_routes' => [
2718
                            'add' => [
2719
                                'type' => Literal::class,
2720
                                'options' => [
2721
                                    'route' => '/add',
2722
                                    'defaults' => [
2723
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2724
                                        'action' => 'add'
2725
                                    ]
2726
                                ]
2727
                            ],
2728
                            'edit' => [
2729
                                'type' => Segment::class,
2730
                                'options' => [
2731
                                    'route' => '/edit/:id',
2732
                                    'constraints' => [
2733
                                        'id' => '[A-Za-z0-9\-]+\=*'
2734
                                    ],
2735
                                    'defaults' => [
2736
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2737
                                        'action' => 'edit'
2738
                                    ]
2739
                                ]
2740
                            ],
2741
                            'delete' => [
2742
                                'type' => Segment::class,
2743
                                'options' => [
2744
                                    'route' => '/delete/:id',
2745
                                    'constraints' => [
2746
                                        'id' => '[A-Za-z0-9\-]+\=*'
2747
                                    ],
2748
                                    'defaults' => [
2749
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2750
                                        'action' => 'delete'
2751
                                    ]
2752
                                ]
2753
                            ]
2754
                        ]
2755
                    ],
2756
                    'group-types' => [
2757
                        'type' => Literal::class,
2758
                        'options' => [
2759
                            'route' => '/group-types',
2760
                            'defaults' => [
2761
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2762
                                'action' => 'index'
2763
                            ]
2764
                        ],
2765
                        'may_terminate' => true,
2766
                        'child_routes' => [
2767
                            'add' => [
2768
                                'type' => Literal::class,
2769
                                'options' => [
2770
                                    'route' => '/add',
2771
                                    'defaults' => [
2772
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2773
                                        'action' => 'add'
2774
                                    ]
2775
                                ]
2776
                            ],
2777
                            'edit' => [
2778
                                'type' => Segment::class,
2779
                                'options' => [
2780
                                    'route' => '/edit/:id',
2781
                                    'constraints' => [
2782
                                        'id' => '[A-Za-z0-9\-]+\=*'
2783
                                    ],
2784
                                    'defaults' => [
2785
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2786
                                        'action' => 'edit'
2787
                                    ]
2788
                                ]
2789
                            ],
2790
                            'delete' => [
2791
                                'type' => Segment::class,
2792
                                'options' => [
2793
                                    'route' => '/delete/:id',
2794
                                    'constraints' => [
2795
                                        'id' => '[A-Za-z0-9\-]+\=*'
2796
                                    ],
2797
                                    'defaults' => [
2798
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2799
                                        'action' => 'delete'
2800
                                    ]
2801
                                ]
2802
                            ]
2803
                        ]
2804
                    ],
2805
                    'job-categories' => [
2806
                        'type' => Literal::class,
2807
                        'options' => [
2808
                            'route' => '/job-categories',
2809
                            'defaults' => [
2810
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2811
                                'action' => 'index'
2812
                            ]
2813
                        ],
2814
                        'may_terminate' => true,
2815
                        'child_routes' => [
2816
                            'add' => [
2817
                                'type' => Literal::class,
2818
                                'options' => [
2819
                                    'route' => '/add',
2820
                                    'defaults' => [
2821
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2822
                                        'action' => 'add'
2823
                                    ]
2824
                                ]
2825
                            ],
2826
                            'edit' => [
2827
                                'type' => Segment::class,
2828
                                'options' => [
2829
                                    'route' => '/edit/:id',
2830
                                    'constraints' => [
2831
                                        'id' => '[A-Za-z0-9\-]+\=*'
2832
                                    ],
2833
                                    'defaults' => [
2834
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2835
                                        'action' => 'edit'
2836
                                    ]
2837
                                ]
2838
                            ],
2839
                            'delete' => [
2840
                                'type' => Segment::class,
2841
                                'options' => [
2842
                                    'route' => '/delete/:id',
2843
                                    'constraints' => [
2844
                                        'id' => '[A-Za-z0-9\-]+\=*'
2845
                                    ],
2846
                                    'defaults' => [
2847
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2848
                                        'action' => 'delete'
2849
                                    ]
2850
                                ]
2851
                            ]
2852
                        ]
2853
                    ],
28 efrain 2854
                    'jobs-description' => [
2855
                        'type' => Literal::class,
2856
                        'options' => [
2857
                            'route' => '/jobs-description',
2858
                            'defaults' => [
2859
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2860
                                'action' => 'index'
2861
                            ]
2862
                        ],
2863
                        'may_terminate' => true,
2864
                        'child_routes' => [
2865
                            'add' => [
2866
                                'type' => Literal::class,
2867
                                'options' => [
2868
                                    'route' => '/add',
2869
                                    'defaults' => [
2870
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2871
                                        'action' => 'add'
2872
                                    ]
2873
                                ]
2874
                            ],
2875
                            'edit' => [
2876
                                'type' => Segment::class,
2877
                                'options' => [
2878
                                    'route' => '/edit/:id',
2879
                                    'constraints' => [
2880
                                        'id' => '[A-Za-z0-9\-]+\=*'
2881
                                    ],
2882
                                    'defaults' => [
2883
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2884
                                        'action' => 'edit'
2885
                                    ]
2886
                                ]
2887
                            ],
2888
                            'delete' => [
2889
                                'type' => Segment::class,
2890
                                'options' => [
2891
                                    'route' => '/delete/:id',
2892
                                    'constraints' => [
2893
                                        'id' => '[A-Za-z0-9\-]+\=*'
2894
                                    ],
2895
                                    'defaults' => [
2896
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2897
                                        'action' => 'delete'
2898
                                    ]
2899
                                ]
559 geraldo 2900
                            ],
2901
                            'report' => [
2902
                                'type' => Segment::class,
2903
                                'options' => [
2904
                                    'route' => '/report/:id',
2905
                                    'constraints' => [
2906
                                        'id' => '[A-Za-z0-9\-]+\=*'
2907
                                    ],
2908
                                    'defaults' => [
2909
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2910
                                        'action' => 'report'
2911
                                    ]
2912
                                ]
2913
                            ],
846 geraldo 2914
                            'import' => [
2915
                                'type' => Literal::class,
2916
                                'options' => [
2917
                                    'route' => '/import',
2918
                                    'defaults' => [
2919
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2920
                                        'action' => 'import'
2921
                                    ]
2922
                                ]
2923
                            ],
28 efrain 2924
                        ]
2925
                    ],
1 www 2926
                    'email-templates' => [
2927
                        'type' => Literal::class,
2928
                        'options' => [
2929
                            'route' => '/email-templates',
2930
                            'defaults' => [
2931
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2932
                                'action' => 'index'
2933
                            ]
2934
                        ],
2935
                        'may_terminate' => true,
2936
                        'child_routes' => [
2937
                            'edit' => [
2938
                                'type' => Segment::class,
2939
                                'options' => [
2940
                                    'route' => '/edit/:id',
2941
                                    'constraints' => [
2942
                                        'id' => '[A-Za-z0-9\-]+\=*'
2943
                                    ],
2944
                                    'defaults' => [
2945
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2946
                                        'action' => 'edit'
2947
                                    ]
2948
                                ]
2949
                            ],
2950
                        ]
2951
                    ],
67 efrain 2952
                    'positions' => [
2953
                        'type' => Literal::class,
2954
                        'options' => [
2955
                            'route' => '/positions',
2956
                            'defaults' => [
2957
                                'controller' => '\LeadersLinked\Controller\PositionController',
2958
                                'action' => 'index'
2959
                            ]
2960
                        ],
2961
                        'may_terminate' => true,
2962
                        'child_routes' => [
2963
                            'add' => [
2964
                                'type' => Literal::class,
2965
                                'options' => [
2966
                                    'route' => '/add',
2967
                                    'defaults' => [
2968
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2969
                                        'action' => 'add'
2970
                                    ]
2971
                                ]
2972
                            ],
2973
                            'edit' => [
2974
                                'type' => Segment::class,
2975
                                'options' => [
2976
                                    'route' => '/edit/:id',
2977
                                    'constraints' => [
2978
                                        'id' => '[A-Za-z0-9\-]+\=*'
2979
                                    ],
2980
                                    'defaults' => [
2981
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2982
                                        'action' => 'edit'
2983
                                    ]
2984
                                ]
2985
                            ],
2986
                            'delete' => [
2987
                                'type' => Segment::class,
2988
                                'options' => [
2989
                                    'route' => '/delete/:id',
2990
                                    'constraints' => [
2991
                                        'id' => '[A-Za-z0-9\-]+\=*'
2992
                                    ],
2993
                                    'defaults' => [
2994
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2995
                                        'action' => 'delete'
2996
                                    ]
2997
                                ]
2998
                            ],
1320 efrain 2999
                            'subordinates' => [
3000
                                'type' => Segment::class,
3001
                                'options' => [
3002
                                    'route' => '/subordinates/:job_description_id',
3003
                                    'constraints' => [
3004
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
3005
                                    ],
3006
                                    'defaults' => [
3007
                                        'controller' => '\LeadersLinked\Controller\PositionController',
3008
                                        'action' => 'subordinates'
3009
                                    ]
3010
                                ]
3011
                            ],
67 efrain 3012
                        ]
3013
                    ],
1 www 3014
                    'push-templates' => [
3015
                        'type' => Literal::class,
3016
                        'options' => [
3017
                            'route' => '/push-templates',
3018
                            'defaults' => [
3019
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
3020
                                'action' => 'index'
3021
                            ]
3022
                        ],
3023
                        'may_terminate' => true,
3024
                        'child_routes' => [
3025
                            'edit' => [
3026
                                'type' => Segment::class,
3027
                                'options' => [
3028
                                    'route' => '/edit/:id',
3029
                                    'constraints' => [
3030
                                        'id' => '[A-Za-z0-9\-]+\=*'
3031
                                    ],
3032
                                    'defaults' => [
3033
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
3034
                                        'action' => 'edit'
3035
                                    ]
3036
                                ]
3037
                            ],
3038
                        ]
3039
                    ],
3040
                    'skills' => [
3041
                        'type' => Literal::class,
3042
                        'options' => [
3043
                            'route' => '/skills',
3044
                            'defaults' => [
3045
                                'controller' => '\LeadersLinked\Controller\SkillController',
3046
                                'action' => 'index'
3047
                            ]
3048
                        ],
3049
                        'may_terminate' => true,
3050
                        'child_routes' => [
3051
                            'add' => [
3052
                                'type' => Literal::class,
3053
                                'options' => [
3054
                                    'route' => '/add',
3055
                                    'defaults' => [
3056
                                        'controller' => '\LeadersLinked\Controller\SkillController',
3057
                                        'action' => 'add'
3058
                                    ]
3059
                                ]
3060
                            ],
3061
                            'edit' => [
3062
                                'type' => Segment::class,
3063
                                'options' => [
3064
                                    'route' => '/edit/:id',
3065
                                    'constraints' => [
3066
                                        'id' => '[A-Za-z0-9\-]+\=*'
3067
                                    ],
3068
                                    'defaults' => [
3069
                                        'controller' => '\LeadersLinked\Controller\SkillController',
3070
                                        'action' => 'edit'
3071
                                    ]
3072
                                ]
3073
                            ],
3074
                            'delete' => [
3075
                                'type' => Segment::class,
3076
                                'options' => [
3077
                                    'route' => '/delete/:id',
3078
                                    'constraints' => [
3079
                                        'id' => '[A-Za-z0-9\-]+\=*'
3080
                                    ],
3081
                                    'defaults' => [
3082
                                        'controller' => '\LeadersLinked\Controller\SkillController',
3083
                                        'action' => 'delete'
3084
                                    ]
3085
                                ]
3086
                            ]
3087
                        ]
3088
                    ],
1089 geraldo 3089
                ]
1 www 3090
            ],
1089 geraldo 3091
        /*         * * FIN SETTINGS ** */
1333 efrain 3092
 
3093
            'own-professional-network' => [
3094
                'type' => Literal::class,
3095
                'options' => [
3096
                    'route' => '/own-professional-network',
3097
                    'defaults' => [
3098
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3099
                        'action' => 'index'
3100
                    ]
3101
                ],
3102
                'may_terminate' => true,
3103
                'child_routes' => [
3104
                ]
3105
            ],
3106
 
3107
            'organizational-design' => [
3108
                'type' => Literal::class,
3109
                'options' => [
3110
                    'route' => '/organizational-design',
3111
                    'defaults' => [
3112
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3113
                        'action' => 'index'
3114
                    ]
3115
                ],
3116
                'may_terminate' => true,
3117
                'child_routes' => [
3118
                ]
3119
            ],
3120
 
3121
            'planning-objectives-and-goals' => [
3122
                'type' => Literal::class,
3123
                'options' => [
3124
                    'route' => '/planning-objectives-and-goals',
3125
                    'defaults' => [
3126
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3127
                        'action' => 'index'
3128
                    ]
3129
                ],
3130
                'may_terminate' => true,
3131
                'child_routes' => [
3132
                ]
3133
            ],
3134
 
3135
            'development-and-training' => [
3136
                'type' => Literal::class,
3137
                'options' => [
3138
                    'route' => '/development-and-training',
3139
                    'defaults' => [
3140
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3141
                        'action' => 'index'
3142
                    ]
3143
                ],
3144
                'may_terminate' => true,
3145
                'child_routes' => [
3146
                ]
3147
            ],
3148
 
3149
            'recruitment-and-selection' => [
3150
                'type' => Literal::class,
3151
                'options' => [
3152
                    'route' => '/recruitment-and-selection',
3153
                    'defaults' => [
1340 eleazar 3154
                        'controller' => '\LeadersLinked\Controller\RecruitmentController',
1333 efrain 3155
                        'action' => 'index'
3156
                    ]
3157
                ],
3158
                'may_terminate' => true,
3159
                'child_routes' => [
3160
                ]
3161
            ],
3162
 
3163
            'induction' => [
3164
                'type' => Literal::class,
3165
                'options' => [
3166
                    'route' => '/induction',
3167
                    'defaults' => [
3168
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3169
                        'action' => 'index'
3170
                    ]
3171
                ],
3172
                'may_terminate' => true,
3173
                'child_routes' => [
3174
                ]
3175
            ],
3176
 
3177
            'organizational-climate' => [
3178
                'type' => Literal::class,
3179
                'options' => [
3180
                    'route' => '/organizational-climate',
3181
                    'defaults' => [
3182
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3183
                        'action' => 'index'
3184
                    ]
3185
                ],
3186
                'may_terminate' => true,
3187
                'child_routes' => [
3188
                ]
3189
            ],
3190
 
3191
            'culture' => [
3192
                'type' => Literal::class,
3193
                'options' => [
3194
                    'route' => '/culture',
3195
                    'defaults' => [
3196
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3197
                        'action' => 'index'
3198
                    ]
3199
                ],
3200
                'may_terminate' => true,
3201
                'child_routes' => [
3202
                ]
3203
            ],
3204
 
3205
            'communication' => [
3206
                'type' => Literal::class,
3207
                'options' => [
3208
                    'route' => '/communication',
3209
                    'defaults' => [
3210
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3211
                        'action' => 'index'
3212
                    ]
3213
                ],
3214
                'may_terminate' => true,
3215
                'child_routes' => [
3216
                ]
3217
            ],
3218
 
3219
            'career-development' => [
3220
                'type' => Literal::class,
3221
                'options' => [
3222
                    'route' => '/career-development',
3223
                    'defaults' => [
3224
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3225
                        'action' => 'index'
3226
                    ]
3227
                ],
3228
                'may_terminate' => true,
3229
                'child_routes' => [
3230
                ]
3231
            ],
3232
 
3233
            'surveys' => [
3234
                'type' => Literal::class,
3235
                'options' => [
3236
                    'route' => '/surveys',
3237
                    'defaults' => [
3238
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3239
                        'action' => 'index'
3240
                    ]
3241
                ],
3242
                'may_terminate' => true,
3243
                'child_routes' => [
3244
                ]
3245
            ],
3246
 
3247
            'building-my-future' => [
3248
                'type' => Literal::class,
3249
                'options' => [
3250
                    'route' => '/building-my-future',
3251
                    'defaults' => [
3252
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3253
                        'action' => 'index'
3254
                    ]
3255
                ],
3256
                'may_terminate' => true,
3257
                'child_routes' => [
3258
                ]
3259
            ],
3260
 
3261
            'high-performance-teams' => [
3262
                'type' => Literal::class,
3263
                'options' => [
3264
                    'route' => '/high-performance-teams',
3265
                    'defaults' => [
3266
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3267
                        'action' => 'index'
3268
                    ]
3269
                ],
3270
                'may_terminate' => true,
3271
                'child_routes' => [
3272
                ]
3273
            ],
3274
 
3275
            'my-trainer' => [
3276
                'type' => Literal::class,
3277
                'options' => [
3278
                    'route' => '/my-trainer',
3279
                    'defaults' => [
3280
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3281
                        'action' => 'index'
3282
                    ]
3283
                ],
3284
                'may_terminate' => true,
3285
                'child_routes' => [
3286
                ]
3287
            ],
3288
 
1 www 3289
        ]
3290
    ],
3291
    'controllers' => [
3292
        'factories' => [
3293
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
3294
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
3295
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
3296
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
1340 eleazar 3297
            \LeadersLinked\Controller\RecruitmentController::class => \LeadersLinked\Factory\Controller\RecruitmentControllerFactory::class,
1 www 3298
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3299
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
3300
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
1115 geraldo 3301
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
1 www 3302
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
3303
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
3304
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
3305
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
3306
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
3307
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
3308
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
3309
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 3310
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 3311
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 3312
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 3313
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
3314
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
3315
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
3316
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
115 efrain 3317
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
3318
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
1089 geraldo 3319
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
247 geraldo 3320
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
987 geraldo 3321
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
3322
            \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormUserControllerFactory::class,
1 www 3323
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 3324
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
3325
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
3326
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
1 www 3327
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
3328
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
3329
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
3330
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
3331
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
3332
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
3333
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
3334
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
3335
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
3336
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
3337
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
3338
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
3339
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
3340
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
3341
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
1333 efrain 3342
 
3343
 
3344
            \LeadersLinked\Controller\UnknownController::class => \LeadersLinked\Factory\Controller\UnknownControllerFactory::class,
66 efrain 3345
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 3346
        ],
3347
        'aliases' => [
3348
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
3349
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
3350
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
3351
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
1340 eleazar 3352
            '\LeadersLinked\Controller\RecruitmentController' => \LeadersLinked\Controller\RecruitmentController::class,
1 www 3353
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3354
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
3355
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
3356
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
1102 geraldo 3357
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,
1 www 3358
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
3359
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
3360
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
1089 geraldo 3361
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 3362
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
3363
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
3364
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 3365
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 3366
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 3367
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 3368
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
3369
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
3370
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
3371
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
115 efrain 3372
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
3373
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
3374
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
247 geraldo 3375
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
982 geraldo 3376
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
1089 geraldo 3377
            '\LeadersLinked\Controller\PerformanceEvaluationFormUserController' => \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class,
1 www 3378
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 3379
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
3380
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
3381
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 3382
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
3383
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
3384
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
3385
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
3386
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
3387
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
3388
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
3389
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
3390
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
3391
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
3392
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
3393
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
3394
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
3395
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
3396
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
1333 efrain 3397
 
66 efrain 3398
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1333 efrain 3399
            '\LeadersLinked\Controller\UnknownController' => \LeadersLinked\Controller\UnknownController::class,
1 www 3400
        ]
3401
    ],
3402
    'laminas-cli' => [
3403
        'commands' => [
1089 geraldo 3404
        ]
1 www 3405
    ],
3406
    'service_manager' => [
3407
        'abstract_factories' => [
3408
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
3409
        ],
3410
        'factories' => [
3411
            'RenderingStrategy' => function ($container) {
3412
                $translator = $container->get('MvcTranslator');
3413
                return new \LeadersLinked\View\RenderingStrategy($translator);
3414
            },
3415
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
3416
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
1089 geraldo 3417
        ],
3418
        'aliases' => [// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 3419
        ]
3420
    ],
3421
    'view_helpers' => [
3422
        'factories' => [
3423
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
3424
        ],
3425
        'invokables' => [
3426
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
3427
        ],
3428
        'aliases' => [
3429
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
3430
        ]
3431
    ],
3432
    'controller_plugins' => [
3433
        'invokables' => [],
3434
        'factories' => [
3435
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
3436
        ],
3437
        'aliases' => [
3438
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
3439
        ]
3440
    ],
3441
    'view_manager' => [
3442
        'display_not_found_reason' => true,
3443
        'display_exceptions' => true,
3444
        'doctype' => 'HTML5',
3445
        'not_found_template' => 'error/404',
3446
        'exception_template' => 'error/index',
3447
        'template_map' => [
3448
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
3449
            'error/404' => __DIR__ . '/../view/error/404.phtml',
3450
            'error/index' => __DIR__ . '/../view/error/index.phtml'
3451
        ],
3452
        'template_path_stack' => [
3453
            __DIR__ . '/../view'
3454
        ],
3455
        'strategies' => [
3456
            'ViewJsonStrategy',
3457
            'RenderingStrategy'
3458
        ]
3459
    ]
3460
];
3461