Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 8546 | Rev 8549 | 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' => [
8546 efrain 76
                    'route' => '/storage/type/:type[/code/:code][/code2/:code2][/filename/:filename][/]',
77
                    'constraints' => [
8548 efrain 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|recruitment',
1 www 79
                        'code' => '[A-Za-z0-9\-]+\=*',
8536 efrain 80
                        'code2' => '[A-Za-z0-9\-]+\=*',
1 www 81
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
8546 efrain 82
                    ],
1 www 83
                    'defaults' => [
84
                        'controller' => '\LeadersLinked\Controller\StorageController',
85
                        'action' => 'download'
86
                    ]
87
                ]
88
            ],
1089 geraldo 89
            /*             * *** START TEST **** */
66 efrain 90
            'test' => [
91
                'type' => Literal::class,
92
                'options' => [
93
                    'route' => '/test',
94
                    'defaults' => [
95
                        'controller' => '\LeadersLinked\Controller\TestController',
96
                        'action' => 'index'
97
                    ]
98
                ],
99
                'may_terminate' => true,
100
                'child_routes' => [
101
                    'method-one' => [
102
                        'type' => Literal::class,
103
                        'options' => [
104
                            'route' => '/method-one',
105
                            'defaults' => [
106
                                'controller' => '\LeadersLinked\Controller\TestController',
107
                                'action' => 'methodOne'
108
                            ]
109
                        ]
110
                    ],
111
                    'method-one' => [
112
                        'type' => Literal::class,
113
                        'options' => [
114
                            'route' => '/method-one',
115
                            'defaults' => [
116
                                'controller' => '\LeadersLinked\Controller\TestController',
117
                                'action' => 'methodOne'
118
                            ]
119
                        ]
120
                    ],
121
                    'method-two' => [
122
                        'type' => Literal::class,
123
                        'options' => [
124
                            'route' => '/method-two',
125
                            'defaults' => [
126
                                'controller' => '\LeadersLinked\Controller\TestController',
127
                                'action' => 'methodTwo'
128
                            ]
129
                        ]
130
                    ],
131
                    'method-three' => [
132
                        'type' => Literal::class,
133
                        'options' => [
134
                            'route' => '/method-three',
135
                            'defaults' => [
136
                                'controller' => '\LeadersLinked\Controller\TestController',
137
                                'action' => 'methodThree'
138
                            ]
139
                        ]
140
                    ],
141
                    'method-four' => [
142
                        'type' => Literal::class,
143
                        'options' => [
144
                            'route' => '/method-four',
145
                            'defaults' => [
146
                                'controller' => '\LeadersLinked\Controller\TestController',
147
                                'action' => 'methodFour'
148
                            ]
149
                        ]
150
                    ],
151
                ],
1089 geraldo 152
            ],
153
            /*             * *** END TEST **** */
154
 
155
            /*             * * START COMPANIES ** */
1 www 156
            'companies' => [
157
                'type' => Literal::class,
158
                'options' => [
159
                    'route' => '/companies',
160
                    'defaults' => [
161
                        'controller' => '\LeadersLinked\Controller\CompanyController',
162
                        'action' => 'index'
163
                    ]
164
                ],
165
                'may_terminate' => true,
166
                'child_routes' => [
167
                    'services' => [
168
                        'type' => Segment::class,
169
                        'options' => [
170
                            'route' => '/services/:id',
171
                            'constraints' => [
172
                                'id' => '[A-Za-z0-9\-]+\=*'
173
                            ],
174
                            'defaults' => [
175
                                'controller' => '\LeadersLinked\Controller\CompanyController',
176
                                'action' => 'services'
177
                            ]
178
                        ]
179
                    ],
180
                    'roles' => [
181
                        'type' => Segment::class,
182
                        'options' => [
183
                            'route' => '/roles/:id',
184
                            'constraints' => [
185
                                'id' => '[A-Za-z0-9\-]+\=*'
186
                            ],
187
                            'defaults' => [
188
                                'controller' => '\LeadersLinked\Controller\CompanyController',
189
                                'action' => 'roles'
190
                            ]
191
                        ]
192
                    ],
193
                    'edit' => [
194
                        'type' => Segment::class,
195
                        'options' => [
196
                            'route' => '/edit/:id',
197
                            'constraints' => [
198
                                'id' => '[A-Za-z0-9\-]+\=*'
199
                            ],
200
                            'defaults' => [
201
                                'controller' => '\LeadersLinked\Controller\CompanyController',
202
                                'action' => 'edit'
203
                            ]
204
                        ]
205
                    ],
206
                ],
1089 geraldo 207
            ],
208
            /*             * * START USERS ** */
1 www 209
            'users' => [
210
                'type' => Literal::class,
211
                'options' => [
212
                    'route' => '/users',
213
                    'defaults' => [
214
                        'controller' => '\LeadersLinked\Controller\UserController',
215
                        'action' => 'index'
216
                    ]
217
                ],
218
                'may_terminate' => true,
219
                'child_routes' => [
220
                    'change-password' => [
221
                        'type' => Segment::class,
222
                        'options' => [
223
                            'route' => '/change-password/:id',
224
                            'constraints' => [
225
                                'id' => '[A-Za-z0-9\-]+\=*'
226
                            ],
227
                            'defaults' => [
228
                                'controller' => '\LeadersLinked\Controller\UserController',
229
                                'action' => 'change-password'
230
                            ]
231
                        ]
232
                    ],
233
                    'unblock' => [
234
                        'type' => Segment::class,
235
                        'options' => [
236
                            'route' => '/unblock/:id',
237
                            'constraints' => [
238
                                'id' => '[A-Za-z0-9\-]+\=*'
239
                            ],
240
                            'defaults' => [
241
                                'controller' => '\LeadersLinked\Controller\UserController',
242
                                'action' => 'unblock'
243
                            ]
244
                        ]
245
                    ],
129 efrain 246
                    'email-verify' => [
247
                        'type' => Segment::class,
248
                        'options' => [
249
                            'route' => '/email-verify/:id',
250
                            'constraints' => [
251
                                'id' => '[A-Za-z0-9\-]+\=*'
252
                            ],
253
                            'defaults' => [
254
                                'controller' => '\LeadersLinked\Controller\UserController',
255
                                'action' => 'emailVerify'
256
                            ]
257
                        ]
258
                    ],
1 www 259
                    'invite' => [
260
                        'type' => Segment::class,
261
                        'options' => [
262
                            'route' => '/invite',
263
                            'defaults' => [
264
                                'controller' => '\LeadersLinked\Controller\UserController',
265
                                'action' => 'invite'
266
                            ]
267
                        ]
268
                    ],
269
                    'accept' => [
270
                        'type' => Segment::class,
271
                        'options' => [
272
                            'route' => '/accept/:id',
273
                            'constraints' => [
274
                                'id' => '[A-Za-z0-9\-]+\=*'
275
                            ],
276
                            'defaults' => [
277
                                'controller' => '\LeadersLinked\Controller\UserController',
278
                                'action' => 'accept'
279
                            ]
280
                        ]
281
                    ],
282
                    'cancel' => [
283
                        'type' => Segment::class,
284
                        'options' => [
285
                            'route' => '/cancel/:id',
286
                            'constraints' => [
287
                                'id' => '[A-Za-z0-9\-]+\=*'
288
                            ],
289
                            'defaults' => [
290
                                'controller' => '\LeadersLinked\Controller\UserController',
291
                                'action' => 'cancel'
292
                            ]
293
                        ]
294
                    ],
295
                    'reject' => [
296
                        'type' => Segment::class,
297
                        'options' => [
298
                            'route' => '/reject/:id',
299
                            'constraints' => [
300
                                'id' => '[A-Za-z0-9\-]+\=*'
301
                            ],
302
                            'defaults' => [
303
                                'controller' => '\LeadersLinked\Controller\UserController',
304
                                'action' => 'reject'
305
                            ]
306
                        ]
307
                    ],
308
                    'edit' => [
309
                        'type' => Segment::class,
310
                        'options' => [
311
                            'route' => '/edit/:id',
312
                            'constraints' => [
313
                                'id' => '[A-Za-z0-9\-]+\=*'
314
                            ],
315
                            'defaults' => [
316
                                'controller' => '\LeadersLinked\Controller\UserController',
317
                                'action' => 'edit'
318
                            ]
319
                        ]
320
                    ],
321
                    'upload' => [
322
                        'type' => Literal::class,
323
                        'options' => [
324
                            'route' => '/upload',
325
                            'defaults' => [
326
                                'controller' => '\LeadersLinked\Controller\UserController',
327
                                'action' => 'upload'
328
                            ]
329
                        ]
330
                    ],
331
                ]
1089 geraldo 332
            ],
333
            /** START FEEDS * */
1 www 334
            'feeds' => [
335
                'type' => Literal::class,
336
                'options' => [
337
                    'route' => '/feeds',
338
                    'defaults' => [
339
                        'controller' => '\LeadersLinked\Controller\FeedController',
340
                        'action' => 'index'
341
                    ]
342
                ],
343
                'may_terminate' => true,
344
                'child_routes' => [
345
                    'timeline' => [
7368 nelberth 346
                        'type' => Segment::class,
1 www 347
                        'options' => [
7838 nelberth 348
                            'route' => '/timeline/[:id]/[:type[/feed/:feed][:topic_uuid]]',
7346 nelberth 349
                            'constraints' => [
350
                                'id' => '[A-Za-z0-9\-]+\=*',
7407 nelberth 351
                                'type' => 'user|company|hptg',
7362 nelberth 352
                                'feed' => '[A-Za-z0-9\-]+\=*',
7641 nelberth 353
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
7346 nelberth 354
                            ],
1 www 355
                            'defaults' => [
356
                                'controller' => '\LeadersLinked\Controller\FeedController',
357
                                'action' => 'timeline'
358
                            ]
359
                        ]
360
                    ],
361
                    'delete' => [
362
                        'type' => Segment::class,
363
                        'options' => [
364
                            'route' => '/delete/:id',
365
                            'constraints' => [
366
                                'id' => '[A-Za-z0-9\-]+\=*',
367
                            ],
368
                            'defaults' => [
369
                                'controller' => '\LeadersLinked\Controller\FeedController',
370
                                'action' => 'delete'
371
                            ],
372
                        ]
373
                    ],
374
                    'comments' => [
375
                        'type' => Segment::class,
376
                        'options' => [
377
                            'route' => '/comments/:id',
378
                            'constraints' => [
379
                                'id' => '[A-Za-z0-9\-]+\=*',
380
                            ],
381
                            'defaults' => [
382
                                'controller' => '\LeadersLinked\Controller\FeedController',
383
                                'action' => 'comment'
384
                            ],
385
                        ],
386
                        'may_terminate' => true,
387
                        'child_routes' => [
388
                            'delete' => [
389
                                'type' => Segment::class,
390
                                'options' => [
391
                                    'route' => '/delete/:comment',
392
                                    'constraints' => [
393
                                        'comment' => '[A-Za-z0-9\-]+\=*',
394
                                    ],
395
                                    'defaults' => [
396
                                        'controller' => '\LeadersLinked\Controller\FeedController',
397
                                        'action' => 'commentDelete'
398
                                    ]
399
                                ]
400
                            ],
8384 nelberth 401
 
402
                            'answer' => [
403
                                'type' => Segment::class,
404
                                'options' => [
405
                                    'route' => '/answer/:comment',
406
                                    'constraints' => [
407
                                        'comment' => '[A-Za-z0-9\-]+\=*',
408
                                    ],
409
                                    'defaults' => [
410
                                        'controller' => '\LeadersLinked\Controller\FeedController',
8402 nelberth 411
                                        'action' => 'answer'
8384 nelberth 412
                                    ]
413
                                ]
414
                            ],
1 www 415
                        ]
416
                    ],
417
                    'add' => [
418
                        'type' => Segment::class,
419
                        'options' => [
7400 nelberth 420
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding][/type/:type[/feed/:feed]]',
1 www 421
                            'constraints' => [
422
                                'company_id' => '[A-Za-z0-9\-]+\=*',
423
                                'group_id' => '[A-Za-z0-9\-]+\=*',
7411 nelberth 424
                                'type' => 'group|company|hptg',
1 www 425
                                'encoding' => 'base64'
426
                            ],
427
                            'defaults' => [
428
                                'controller' => '\LeadersLinked\Controller\FeedController',
429
                                'action' => 'add'
430
                            ]
431
                        ]
432
                    ],
433
                ],
1089 geraldo 434
            ],
435
            /** START JOBS * */
1 www 436
            'jobs' => [
437
                'type' => Literal::class,
438
                'options' => [
439
                    'route' => '/jobs',
440
                    'defaults' => [
441
                        'controller' => '\LeadersLinked\Controller\JobController',
442
                        'action' => 'index'
443
                    ]
444
                ],
445
                'may_terminate' => true,
446
                'child_routes' => [
447
                    'add' => [
448
                        'type' => Literal::class,
449
                        'options' => [
450
                            'route' => '/add',
451
                            'defaults' => [
452
                                'controller' => '\LeadersLinked\Controller\JobController',
453
                                'action' => 'add'
454
                            ]
455
                        ],
456
                    ],
457
                    'delete' => [
458
                        'type' => Segment::class,
459
                        'options' => [
460
                            'route' => '/delete/:id',
461
                            'constraints' => [
462
                                'id' => '[A-Za-z0-9\-]+\=*'
463
                            ],
464
                            'defaults' => [
465
                                'controller' => '\LeadersLinked\Controller\JobController',
466
                                'action' => 'delete'
467
                            ]
468
                        ],
469
                    ],
470
                    'users-who-applied' => [
471
                        'type' => Segment::class,
472
                        'options' => [
473
                            'route' => '/users-who-applied/:id',
474
                            'constraints' => [
475
                                'id' => '[A-Za-z0-9\-]+\=*'
476
                            ],
477
                            'defaults' => [
478
                                'controller' => '\LeadersLinked\Controller\JobController',
479
                                'action' => 'usersWhoApplied'
480
                            ]
481
                        ],
482
                    ],
483
                    'edit' => [
484
                        'type' => Segment::class,
485
                        'options' => [
486
                            'route' => '/edit/:id',
487
                            'constraints' => [
488
                                'id' => '[A-Za-z0-9\-]+\=*'
489
                            ],
490
                            'defaults' => [
491
                                'controller' => '\LeadersLinked\Controller\JobController',
492
                                'action' => 'edit'
493
                            ]
494
                        ],
495
                        'may_terminate' => true,
496
                        'child_routes' => [
497
                            'status' => [
498
                                'type' => Literal::class,
499
                                'options' => [
500
                                    'route' => '/status',
501
                                    'defaults' => [
502
                                        'controller' => '\LeadersLinked\Controller\JobController',
503
                                        'action' => 'status'
504
                                    ]
505
                                ],
506
                            ],
507
                            'title' => [
508
                                'type' => Literal::class,
509
                                'options' => [
510
                                    'route' => '/title',
511
                                    'defaults' => [
512
                                        'controller' => '\LeadersLinked\Controller\JobController',
513
                                        'action' => 'title'
514
                                    ]
515
                                ],
516
                            ],
517
                            'last-date-of-application' => [
518
                                'type' => Literal::class,
519
                                'options' => [
520
                                    'route' => '/last-date-of-application',
521
                                    'defaults' => [
522
                                        'controller' => '\LeadersLinked\Controller\JobController',
523
                                        'action' => 'lastDateOfApplication'
524
                                    ]
525
                                ],
526
                            ],
527
                            'experience' => [
528
                                'type' => Literal::class,
529
                                'options' => [
530
                                    'route' => '/experience',
531
                                    'defaults' => [
532
                                        'controller' => '\LeadersLinked\Controller\JobController',
533
                                        'action' => 'experience'
534
                                    ]
535
                                ],
536
                            ],
537
                            'employment-type' => [
538
                                'type' => Literal::class,
539
                                'options' => [
540
                                    'route' => '/employment-type',
541
                                    'defaults' => [
542
                                        'controller' => '\LeadersLinked\Controller\JobController',
543
                                        'action' => 'employmentType'
544
                                    ]
545
                                ],
546
                            ],
547
                            'job-category' => [
548
                                'type' => Literal::class,
549
                                'options' => [
550
                                    'route' => '/job-category',
551
                                    'defaults' => [
552
                                        'controller' => '\LeadersLinked\Controller\JobController',
553
                                        'action' => 'jobCategory'
554
                                    ]
555
                                ],
556
                            ],
557
                            'extended' => [
558
                                'type' => Literal::class,
559
                                'options' => [
560
                                    'route' => '/extended',
561
                                    'defaults' => [
562
                                        'controller' => '\LeadersLinked\Controller\JobController',
563
                                        'action' => 'extended'
564
                                    ]
565
                                ],
566
                            ],
567
                            'location' => [
568
                                'type' => Literal::class,
569
                                'options' => [
570
                                    'route' => '/location',
571
                                    'defaults' => [
572
                                        'controller' => '\LeadersLinked\Controller\JobController',
573
                                        'action' => 'location'
574
                                    ]
575
                                ],
576
                            ],
577
                            'salary' => [
578
                                'type' => Literal::class,
579
                                'options' => [
580
                                    'route' => '/salary',
581
                                    'defaults' => [
582
                                        'controller' => '\LeadersLinked\Controller\JobController',
583
                                        'action' => 'salary'
584
                                    ]
585
                                ],
586
                            ],
587
                            'degrees' => [
588
                                'type' => Literal::class,
589
                                'options' => [
590
                                    'route' => '/degrees',
591
                                    'defaults' => [
592
                                        'controller' => '\LeadersLinked\Controller\JobController',
593
                                        'action' => 'degree'
594
                                    ]
595
                                ],
596
                            ],
597
                            'languages' => [
598
                                'type' => Literal::class,
599
                                'options' => [
600
                                    'route' => '/languages',
601
                                    'defaults' => [
602
                                        'controller' => '\LeadersLinked\Controller\JobController',
603
                                        'action' => 'language'
604
                                    ]
605
                                ],
606
                            ],
607
                            'skills' => [
608
                                'type' => Literal::class,
609
                                'options' => [
610
                                    'route' => '/skills',
611
                                    'defaults' => [
612
                                        'controller' => '\LeadersLinked\Controller\JobController',
613
                                        'action' => 'skill'
614
                                    ]
615
                                ],
616
                            ],
617
                            'how-apply' => [
618
                                'type' => Literal::class,
619
                                'options' => [
620
                                    'route' => '/how-apply',
621
                                    'defaults' => [
622
                                        'controller' => '\LeadersLinked\Controller\JobController',
623
                                        'action' => 'howApply'
624
                                    ]
625
                                ],
626
                            ],
627
                        ],
628
                    ]
629
                ],
630
            ],
1089 geraldo 631
            /*             * * END JOB * */
632
 
633
            /*             * *** START PROFILE *** */
1 www 634
            'profile' => [
635
                'type' => Literal::class,
636
                'options' => [
637
                    'route' => '/profile',
638
                    'defaults' => [
639
                        'controller' => '\LeadersLinked\Controller\ProfileController',
640
                        'action' => 'index'
641
                    ]
642
                ],
643
                'may_terminate' => true,
644
                'child_routes' => [
645
                    'extended' => [
646
                        'type' => Segment::class,
647
                        'options' => [
648
                            'route' => '/extended',
649
                            'defaults' => [
650
                                'controller' => '\LeadersLinked\Controller\ProfileController',
651
                                'action' => 'extended'
652
                            ]
653
                        ]
654
                    ],
655
                    'image' => [
656
                        'type' => Segment::class,
657
                        'options' => [
658
                            'route' => '/image/:operation',
659
                            'constraints' => [
660
                                'operation' => 'upload|delete'
661
                            ],
662
                            'defaults' => [
663
                                'controller' => '\LeadersLinked\Controller\ProfileController',
664
                                'action' => 'image'
665
                            ]
666
                        ]
667
                    ],
668
                    'cover' => [
669
                        'type' => Segment::class,
670
                        'options' => [
671
                            'route' => '/cover/:operation',
672
                            'constraints' => [
673
                                'operation' => 'upload|delete'
674
                            ],
675
                            'defaults' => [
676
                                'controller' => '\LeadersLinked\Controller\ProfileController',
677
                                'action' => 'cover'
678
                            ]
679
                        ]
680
                    ],
768 geraldo 681
                    'header' => [
682
                        'type' => Segment::class,
683
                        'options' => [
684
                            'route' => '/header/:operation',
685
                            'constraints' => [
686
                                'operation' => 'upload|delete'
687
                            ],
688
                            'defaults' => [
689
                                'controller' => '\LeadersLinked\Controller\ProfileController',
690
                                'action' => 'header'
691
                            ]
692
                        ]
693
                    ],
694
                    'footer' => [
695
                        'type' => Segment::class,
696
                        'options' => [
697
                            'route' => '/footer/:operation',
698
                            'constraints' => [
699
                                'operation' => 'upload|delete'
700
                            ],
701
                            'defaults' => [
702
                                'controller' => '\LeadersLinked\Controller\ProfileController',
703
                                'action' => 'footer'
704
                            ]
705
                        ]
706
                    ],
1 www 707
                    'website' => [
708
                        'type' => Segment::class,
709
                        'options' => [
710
                            'route' => '/website',
711
                            'defaults' => [
712
                                'controller' => '\LeadersLinked\Controller\ProfileController',
713
                                'action' => 'website'
714
                            ]
715
                        ]
716
                    ],
717
                    'foundation_year' => [
718
                        'type' => Segment::class,
719
                        'options' => [
720
                            'route' => '/foundation_year',
721
                            'defaults' => [
722
                                'controller' => '\LeadersLinked\Controller\ProfileController',
723
                                'action' => 'foundationYear'
724
                            ]
725
                        ]
726
                    ],
727
                    'location' => [
728
                        'type' => Segment::class,
729
                        'options' => [
730
                            'route' => '/location/:operation[/:id]',
731
                            'constraints' => [
732
                                'operation' => 'add|edit|delete',
733
                                'id' => '[A-Za-z0-9\-]+\=*'
734
                            ],
735
                            'defaults' => [
736
                                'controller' => '\LeadersLinked\Controller\ProfileController',
737
                                'action' => 'location'
738
                            ]
739
                        ]
740
                    ],
741
                    'social-network' => [
742
                        'type' => Segment::class,
743
                        'options' => [
744
                            'route' => '/social-network',
745
                            'defaults' => [
746
                                'controller' => '\LeadersLinked\Controller\ProfileController',
747
                                'action' => 'socialNetwork'
748
                            ]
749
                        ]
750
                    ],
751
                    'industry' => [
752
                        'type' => Segment::class,
753
                        'options' => [
754
                            'route' => '/industry',
755
                            'defaults' => [
756
                                'controller' => '\LeadersLinked\Controller\ProfileController',
757
                                'action' => 'industry'
758
                            ]
759
                        ]
760
                    ],
761
                    'company-size' => [
762
                        'type' => Segment::class,
763
                        'options' => [
764
                            'route' => '/company-size',
765
                            'defaults' => [
766
                                'controller' => '\LeadersLinked\Controller\ProfileController',
767
                                'action' => 'companySize'
768
                            ]
769
                        ]
770
                    ]
771
                ],
772
            ],
1089 geraldo 773
            /*             * * END PROFILE * */
774
 
775
            /*             * *** START FOLLOWERS *** */
1 www 776
            'followers' => [
777
                'type' => Literal::class,
778
                'options' => [
779
                    'route' => '/followers',
780
                    'defaults' => [
781
                        'controller' => '\LeadersLinked\Controller\FollowerController',
782
                        'action' => 'index'
783
                    ]
784
                ],
785
                'may_terminate' => true,
786
                'child_routes' => [
787
                    'delete' => [
788
                        'type' => Segment::class,
789
                        'options' => [
790
                            'route' => '/delete/:id',
791
                            'constraints' => [
792
                                'id' => '[A-Za-z0-9\-]+\=*'
793
                            ],
794
                            'defaults' => [
795
                                'controller' => '\LeadersLinked\Controller\FollowerController',
796
                                'action' => 'delete'
797
                            ]
798
                        ]
799
                    ],
1089 geraldo 800
                ],
801
            ],
802
            /*             * *** END FOLLOWERS *** */
803
 
804
            /*             * * START MICRO_LEARNING ** */
1 www 805
            'microlearning' => [
806
                'type' => Literal::class,
807
                'options' => [
808
                    'route' => '/microlearning',
809
                    'defaults' => [
810
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
811
                        'action' => 'index'
812
                    ]
813
                ],
814
                'may_terminate' => true,
815
                'child_routes' => [
816
                    'overview' => [
817
                        'type' => Literal::class,
818
                        'options' => [
819
                            'route' => '/overview',
820
                            'defaults' => [
821
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
822
                                'action' => 'overview'
823
                            ]
824
                        ],
1089 geraldo 825
                    ],
1 www 826
                    'reports' => [
827
                        'type' => Literal::class,
828
                        'options' => [
829
                            'route' => '/reports',
830
                            'defaults' => [
831
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
2 efrain 832
                                'action' => 'index'
1 www 833
                            ]
834
                        ],
2 efrain 835
                        'may_terminate' => true,
836
                        'child_routes' => [
837
                            'progress' => [
838
                                'type' => Literal::class,
839
                                'options' => [
840
                                    'route' => '/progress',
841
                                    'defaults' => [
842
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
843
                                        'action' => 'progress'
844
                                    ]
845
                                ]
846
                            ],
187 efrain 847
                            'comments-for-capsule' => [
848
                                'type' => Literal::class,
849
                                'options' => [
850
                                    'route' => '/comments-for-capsule',
851
                                    'defaults' => [
852
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
853
                                        'action' => 'commentsForCapsule'
854
                                    ]
855
                                ]
856
                            ],
2 efrain 857
                            'devices' => [
858
                                'type' => Literal::class,
859
                                'options' => [
860
                                    'route' => '/devices',
861
                                    'defaults' => [
862
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
863
                                        'action' => 'devices'
864
                                    ]
865
                                ]
866
                            ],
1089 geraldo 867
                        ]
868
                    ],
1 www 869
                    'content' => [
870
                        'type' => Literal::class,
871
                        'options' => [
872
                            'route' => '/content',
873
                            'defaults' => [
874
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
875
                                'action' => 'index'
876
                            ]
877
                        ],
878
                        'may_terminate' => true,
879
                        'child_routes' => [
66 efrain 880
                            'quizzes' => [
881
                                'type' => Segment::class,
882
                                'options' => [
883
                                    'route' => '/quizzes',
884
                                    'defaults' => [
885
                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
886
                                        'action' => 'index'
887
                                    ]
888
                                ],
889
                                'may_terminate' => true,
890
                                'child_routes' => [
891
                                    'add' => [
892
                                        'type' => Literal::class,
893
                                        'options' => [
894
                                            'route' => '/add',
895
                                            'defaults' => [
896
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
897
                                                'action' => 'add'
898
                                            ]
899
                                        ]
900
                                    ],
901
                                    'edit' => [
902
                                        'type' => Segment::class,
903
                                        'options' => [
904
                                            'route' => '/:quiz_id/edit',
905
                                            'constraints' => [
906
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
907
                                            ],
908
                                            'defaults' => [
909
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
910
                                                'action' => 'edit'
911
                                            ]
912
                                        ]
913
                                    ],
914
                                    'delete' => [
915
                                        'type' => Segment::class,
916
                                        'options' => [
917
                                            'route' => '/:quiz_id/delete',
918
                                            'constraints' => [
919
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
920
                                            ],
921
                                            'defaults' => [
922
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
923
                                                'action' => 'delete'
924
                                            ]
925
                                        ]
926
                                    ],
927
                                    'check' => [
928
                                        'type' => Segment::class,
929
                                        'options' => [
930
                                            'route' => '/:quiz_id/check',
931
                                            'constraints' => [
932
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
933
                                            ],
934
                                            'defaults' => [
935
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
936
                                                'action' => 'check'
937
                                            ]
938
                                        ]
939
                                    ],
940
                                    'publish' => [
941
                                        'type' => Segment::class,
942
                                        'options' => [
943
                                            'route' => '/:quiz_id/publish',
944
                                            'constraints' => [
945
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
946
                                            ],
947
                                            'defaults' => [
948
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
949
                                                'action' => 'publish'
950
                                            ]
951
                                        ]
952
                                    ],
953
                                    'copy' => [
954
                                        'type' => Segment::class,
955
                                        'options' => [
956
                                            'route' => '/:quiz_id/copy',
957
                                            'constraints' => [
958
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
959
                                            ],
960
                                            'defaults' => [
961
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
962
                                                'action' => 'copy'
963
                                            ]
964
                                        ]
965
                                    ],
966
                                    'questions' => [
967
                                        'type' => Segment::class,
968
                                        'options' => [
969
                                            'route' => '/:quiz_id/questions',
970
                                            'constraints' => [
971
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
972
                                            ],
973
                                            'defaults' => [
974
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
975
                                                'action' => 'index'
976
                                            ]
977
                                        ],
978
                                        'may_terminate' => true,
979
                                        'child_routes' => [
980
                                            'add' => [
981
                                                'type' => Literal::class,
982
                                                'options' => [
983
                                                    'route' => '/add',
984
                                                    'defaults' => [
985
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
986
                                                        'action' => 'add'
987
                                                    ]
988
                                                ]
989
                                            ],
990
                                            'edit' => [
991
                                                'type' => Segment::class,
992
                                                'options' => [
993
                                                    'route' => '/:question_id/edit',
994
                                                    'constraints' => [
995
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
996
                                                    ],
997
                                                    'defaults' => [
998
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
999
                                                        'action' => 'edit'
1000
                                                    ]
1001
                                                ]
1002
                                            ],
1003
                                            'delete' => [
1004
                                                'type' => Segment::class,
1005
                                                'options' => [
1006
                                                    'route' => '/:question_id/delete',
1007
                                                    'constraints' => [
1008
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1009
                                                    ],
1010
                                                    'defaults' => [
1011
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1012
                                                        'action' => 'delete'
1013
                                                    ]
1014
                                                ]
1015
                                            ],
1016
                                            'answers' => [
1017
                                                'type' => Segment::class,
1018
                                                'options' => [
1019
                                                    'route' => '/:question_id/answers',
1020
                                                    'constraints' => [
1021
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1022
                                                    ],
1023
                                                    'defaults' => [
1024
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1025
                                                        'action' => 'index'
1026
                                                    ]
1027
                                                ],
1028
                                                'may_terminate' => true,
1029
                                                'child_routes' => [
1030
                                                    'add' => [
1031
                                                        'type' => Literal::class,
1032
                                                        'options' => [
1033
                                                            'route' => '/add',
1034
                                                            'defaults' => [
1035
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1036
                                                                'action' => 'add'
1037
                                                            ]
1038
                                                        ]
1039
                                                    ],
1040
                                                    'edit' => [
1041
                                                        'type' => Segment::class,
1042
                                                        'options' => [
1043
                                                            'route' => '/:answer_id/edit',
1044
                                                            'constraints' => [
1045
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1046
                                                            ],
1047
                                                            'defaults' => [
1048
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1049
                                                                'action' => 'edit'
1050
                                                            ]
1051
                                                        ]
1052
                                                    ],
1053
                                                    'delete' => [
1054
                                                        'type' => Segment::class,
1055
                                                        'options' => [
1056
                                                            'route' => '/:answer_id/delete',
1057
                                                            'constraints' => [
1058
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1059
                                                            ],
1060
                                                            'defaults' => [
1061
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1062
                                                                'action' => 'delete'
1063
                                                            ]
1064
                                                        ]
1065
                                                    ],
1066
                                                ]
1067
                                            ],
1068
                                        ]
1069
                                    ],
1070
                                ]
1089 geraldo 1071
                            ],
1 www 1072
                            'topics' => [
1073
                                'type' => Literal::class,
1074
                                'options' => [
1075
                                    'route' => '/topics',
1076
                                    'defaults' => [
1077
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1078
                                        'action' => 'index'
1079
                                    ]
1080
                                ],
1081
                                'may_terminate' => true,
1082
                                'child_routes' => [
1083
                                    'add' => [
1084
                                        'type' => Literal::class,
1085
                                        'options' => [
1086
                                            'route' => '/add',
1087
                                            'defaults' => [
1088
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1089
                                                'action' => 'add'
1090
                                            ]
1091
                                        ]
1092
                                    ],
1093
                                    'edit' => [
1094
                                        'type' => Segment::class,
1095
                                        'options' => [
1096
                                            'route' => '/edit/:id',
1097
                                            'constraints' => [
1098
                                                'id' => '[A-Za-z0-9\-]+\=*'
1099
                                            ],
1100
                                            'defaults' => [
1101
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1102
                                                'action' => 'edit'
1103
                                            ]
1104
                                        ]
1105
                                    ],
1106
                                    'delete' => [
1107
                                        'type' => Segment::class,
1108
                                        'options' => [
1109
                                            'route' => '/delete/:id',
1110
                                            'constraints' => [
1111
                                                'id' => '[A-Za-z0-9\-]+\=*'
1112
                                            ],
1113
                                            'defaults' => [
1114
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1115
                                                'action' => 'delete'
1116
                                            ]
1117
                                        ]
1118
                                    ]
1119
                                ]
1120
                            ],
1121
                            'capsules' => [
1122
                                'type' => Literal::class,
1123
                                'options' => [
1124
                                    'route' => '/capsules',
1125
                                    'defaults' => [
1126
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1127
                                        'action' => 'index'
1128
                                    ]
1129
                                ],
1130
                                'may_terminate' => true,
1131
                                'child_routes' => [
1132
                                    'add' => [
1133
                                        'type' => Segment::class,
1134
                                        'options' => [
1135
                                            'route' => '/add/topic/:topic_uuid',
1136
                                            'constraints' => [
1137
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1138
                                            ],
1139
                                            'defaults' => [
1140
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1141
                                                'action' => 'add'
1142
                                            ]
1143
                                        ]
1144
                                    ],
1145
                                    'edit' => [
1146
                                        'type' => Segment::class,
1147
                                        'options' => [
1148
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
1149
                                            'constraints' => [
1150
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1151
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1152
                                            ],
1153
                                            'defaults' => [
1154
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1155
                                                'action' => 'edit'
1156
                                            ]
1157
                                        ]
1158
                                    ],
1159
                                    'delete' => [
1160
                                        'type' => Segment::class,
1161
                                        'options' => [
1162
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
1163
                                            'constraints' => [
1164
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1165
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1166
                                            ],
1167
                                            'defaults' => [
1168
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1169
                                                'action' => 'delete'
1170
                                            ]
1171
                                        ]
1172
                                    ],
1173
                                    'users' => [
1174
                                        'type' => Segment::class,
1175
                                        'options' => [
1176
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
1177
                                            'constraints' => [
1178
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1179
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1180
                                                'type' => 'all|active',
1181
                                            ],
1182
                                            'defaults' => [
1183
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1184
                                                'action' => 'users'
1185
                                            ]
1186
                                        ]
1187
                                    ],
1188
                                ]
1189
                            ],
1190
                            'slides' => [
1191
                                'type' => Literal::class,
1192
                                'options' => [
1193
                                    'route' => '/slides',
1194
                                    'defaults' => [
1195
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1196
                                        'action' => 'index'
1197
                                    ]
1198
                                ],
1199
                                'may_terminate' => true,
1200
                                'child_routes' => [
1201
                                    'add' => [
1202
                                        'type' => Segment::class,
1203
                                        'options' => [
1204
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
1205
                                            'constraints' => [
1206
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1207
                                            ],
1208
                                            'defaults' => [
1209
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1210
                                                'action' => 'add'
1211
                                            ]
1212
                                        ]
1213
                                    ],
1214
                                    'edit' => [
1215
                                        'type' => Segment::class,
1216
                                        'options' => [
1217
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1218
                                            'constraints' => [
1219
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1220
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1221
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1222
                                            ],
1223
                                            'defaults' => [
1224
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1225
                                                'action' => 'edit'
1226
                                            ]
1227
                                        ]
1228
                                    ],
1229
                                    'delete' => [
1230
                                        'type' => Segment::class,
1231
                                        'options' => [
1232
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1233
                                            'constraints' => [
1234
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1235
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1236
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1237
                                            ],
1238
                                            'defaults' => [
1239
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1240
                                                'action' => 'delete'
1241
                                            ]
1242
                                        ]
1243
                                    ],
1244
                                    'text' => [
1245
                                        'type' => Segment::class,
1246
                                        'options' => [
1247
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1248
                                            'constraints' => [
1249
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1250
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1251
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1252
                                            ],
1253
                                            'defaults' => [
1254
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1255
                                                'action' => 'text'
1256
                                            ]
1257
                                        ]
1258
                                    ],
1259
                                ]
1260
                            ],
1089 geraldo 1261
                        ],
1262
                    ],
1 www 1263
                    'students' => [
1264
                        'type' => Literal::class,
1265
                        'options' => [
1266
                            'route' => '/students',
1267
                            'defaults' => [
1268
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1269
                                'action' => 'index'
1270
                            ]
1271
                        ],
1272
                        'may_terminate' => true,
1273
                        'child_routes' => [
1274
                            'edit' => [
1275
                                'type' => Segment::class,
1276
                                'options' => [
1277
                                    'route' => '/edit/:id',
1278
                                    'constraints' => [
1279
                                        'id' => '[A-Za-z0-9\-]+\=*',
1280
                                    ],
1281
                                    'defaults' => [
1282
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1283
                                        'action' => 'edit'
1284
                                    ]
1285
                                ]
1286
                            ],
1287
                            'timeline' => [
1288
                                'type' => Segment::class,
1289
                                'options' => [
1290
                                    'route' => '/timeline/:id',
1291
                                    'constraints' => [
1292
                                        'id' => '[A-Za-z0-9\-]+\=*',
1293
                                    ],
1294
                                    'defaults' => [
1295
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1296
                                        'action' => 'timeline'
1297
                                    ]
1298
                                ]
1299
                            ],
1300
                            'change-password' => [
1301
                                'type' => Segment::class,
1302
                                'options' => [
1303
                                    'route' => '/change-password/:id',
1304
                                    'constraints' => [
1305
                                        'id' => '[A-Za-z0-9\-]+\=*'
1306
                                    ],
1307
                                    'defaults' => [
1308
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1309
                                        'action' => 'change-password'
1310
                                    ]
1311
                                ]
1312
                            ],
1313
                            'unblock' => [
1314
                                'type' => Segment::class,
1315
                                'options' => [
1316
                                    'route' => '/unblock/:id',
1317
                                    'constraints' => [
1318
                                        'id' => '[A-Za-z0-9\-]+\=*'
1319
                                    ],
1320
                                    'defaults' => [
1321
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1322
                                        'action' => 'unblock'
1323
                                    ]
1324
                                ]
1325
                            ],
1089 geraldo 1326
                        ]
1327
                    ],
1 www 1328
                    'access-for-students' => [
1329
                        'type' => Literal::class,
1330
                        'options' => [
1331
                            'route' => '/access-for-students',
1332
                            'defaults' => [
1333
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1334
                                'action' => 'index'
1335
                            ]
1336
                        ],
1337
                        'may_terminate' => true,
1338
                        'child_routes' => [
1339
                            'revoke' => [
1340
                                'type' => Segment::class,
1341
                                'options' => [
1342
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1343
                                    'constraints' => [
1344
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1345
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1346
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1347
                                    ],
1348
                                    'defaults' => [
1349
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1350
                                        'action' => 'revoke'
1351
                                    ]
1352
                                ]
1353
                            ],
1354
                            'unlimit' => [
1355
                                'type' => Segment::class,
1356
                                'options' => [
1357
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1358
                                    'constraints' => [
1359
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1360
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1361
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1362
                                    ],
1363
                                    'defaults' => [
1364
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1365
                                        'action' => 'unlimit'
1366
                                    ]
1367
                                ]
1368
                            ],
1369
                            'upload' => [
1370
                                'type' => Segment::class,
1371
                                'options' => [
1372
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1373
                                    'constraints' => [
1374
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1375
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1376
                                    ],
1377
                                    'defaults' => [
1378
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1379
                                        'action' => 'upload'
1380
                                    ]
1381
                                ]
1382
                            ],
1383
                            'notification' => [
1384
                                'type' => Segment::class,
1385
                                'options' => [
1386
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1387
                                    'constraints' => [
1388
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1389
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1390
                                    ],
1391
                                    'defaults' => [
1392
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1393
                                        'action' => 'notification'
1394
                                    ]
1395
                                ]
1396
                            ],
1397
                        ],
1089 geraldo 1398
                    ],
1 www 1399
                    'settings' => [
1400
                        'type' => Literal::class,
1401
                        'options' => [
1402
                            'route' => '/settings',
1403
                            'defaults' => [
1404
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1405
                                'action' => 'index'
1406
                            ]
1407
                        ],
1408
                        'may_terminate' => true,
1409
                        'child_routes' => [
1410
                            'student-types' => [
1411
                                'type' => Literal::class,
1412
                                'options' => [
1413
                                    'route' => '/student-types',
1414
                                    'defaults' => [
1415
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1416
                                        'action' => 'index'
1417
                                    ]
1418
                                ],
1419
                                'may_terminate' => true,
1420
                                'child_routes' => [
1421
                                    'add' => [
1422
                                        'type' => Literal::class,
1423
                                        'options' => [
1424
                                            'route' => '/add',
1425
                                            'defaults' => [
1426
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1427
                                                'action' => 'add'
1428
                                            ]
1429
                                        ]
1430
                                    ],
1431
                                    'edit' => [
1432
                                        'type' => Segment::class,
1433
                                        'options' => [
1434
                                            'route' => '/edit/:id',
1435
                                            'constraints' => [
1436
                                                'id' => '[A-Za-z0-9\-]+\=*'
1437
                                            ],
1438
                                            'defaults' => [
1439
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1440
                                                'action' => 'edit'
1441
                                            ]
1442
                                        ]
1443
                                    ],
1444
                                    'delete' => [
1445
                                        'type' => Segment::class,
1446
                                        'options' => [
1447
                                            'route' => '/delete/:id',
1448
                                            'constraints' => [
1449
                                                'id' => '[A-Za-z0-9\-]+\=*'
1450
                                            ],
1451
                                            'defaults' => [
1452
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1453
                                                'action' => 'delete'
1454
                                            ]
1455
                                        ]
1456
                                    ]
1457
                                ]
1458
                            ],
1459
                            'functions' => [
1460
                                'type' => Literal::class,
1461
                                'options' => [
1462
                                    'route' => '/functions',
1463
                                    'defaults' => [
1464
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1465
                                        'action' => 'index'
1466
                                    ]
1467
                                ],
1468
                                'may_terminate' => true,
1469
                                'child_routes' => [
1470
                                    'add' => [
1471
                                        'type' => Literal::class,
1472
                                        'options' => [
1473
                                            'route' => '/add',
1474
                                            'defaults' => [
1475
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1476
                                                'action' => 'add'
1477
                                            ]
1478
                                        ]
1479
                                    ],
1480
                                    'edit' => [
1481
                                        'type' => Segment::class,
1482
                                        'options' => [
1483
                                            'route' => '/edit/:id',
1484
                                            'constraints' => [
1485
                                                'id' => '[A-Za-z0-9\-]+\=*'
1486
                                            ],
1487
                                            'defaults' => [
1488
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1489
                                                'action' => 'edit'
1490
                                            ]
1491
                                        ]
1492
                                    ],
1493
                                    'delete' => [
1494
                                        'type' => Segment::class,
1495
                                        'options' => [
1496
                                            'route' => '/delete/:id',
1497
                                            'constraints' => [
1498
                                                'id' => '[A-Za-z0-9\-]+\=*'
1499
                                            ],
1500
                                            'defaults' => [
1501
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1502
                                                'action' => 'delete'
1503
                                            ]
1504
                                        ]
1505
                                    ]
1506
                                ]
1507
                            ],
1508
                            'sectors' => [
1509
                                'type' => Literal::class,
1510
                                'options' => [
1511
                                    'route' => '/sectors',
1512
                                    'defaults' => [
1513
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1514
                                        'action' => 'index'
1515
                                    ]
1516
                                ],
1517
                                'may_terminate' => true,
1518
                                'child_routes' => [
1519
                                    'add' => [
1520
                                        'type' => Literal::class,
1521
                                        'options' => [
1522
                                            'route' => '/add',
1523
                                            'defaults' => [
1524
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1525
                                                'action' => 'add'
1526
                                            ]
1527
                                        ]
1528
                                    ],
1529
                                    'edit' => [
1530
                                        'type' => Segment::class,
1531
                                        'options' => [
1532
                                            'route' => '/edit/:id',
1533
                                            'constraints' => [
1534
                                                'id' => '[A-Za-z0-9\-]+\=*'
1535
                                            ],
1536
                                            'defaults' => [
1537
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1538
                                                'action' => 'edit'
1539
                                            ]
1540
                                        ]
1541
                                    ],
1542
                                    'delete' => [
1543
                                        'type' => Segment::class,
1544
                                        'options' => [
1545
                                            'route' => '/delete/:id',
1546
                                            'constraints' => [
1547
                                                'id' => '[A-Za-z0-9\-]+\=*'
1548
                                            ],
1549
                                            'defaults' => [
1550
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1551
                                                'action' => 'delete'
1552
                                            ]
1553
                                        ]
1554
                                    ]
1555
                                ]
1556
                            ],
1557
                            'programs' => [
1558
                                'type' => Literal::class,
1559
                                'options' => [
1560
                                    'route' => '/programs',
1561
                                    'defaults' => [
1562
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1563
                                        'action' => 'index'
1564
                                    ]
1565
                                ],
1566
                                'may_terminate' => true,
1567
                                'child_routes' => [
1568
                                    'add' => [
1569
                                        'type' => Literal::class,
1570
                                        'options' => [
1571
                                            'route' => '/add',
1572
                                            'defaults' => [
1573
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1574
                                                'action' => 'add'
1575
                                            ]
1576
                                        ]
1577
                                    ],
1578
                                    'edit' => [
1579
                                        'type' => Segment::class,
1580
                                        'options' => [
1581
                                            'route' => '/edit/:id',
1582
                                            'constraints' => [
1583
                                                'id' => '[A-Za-z0-9\-]+\=*'
1584
                                            ],
1585
                                            'defaults' => [
1586
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1587
                                                'action' => 'edit'
1588
                                            ]
1589
                                        ]
1590
                                    ],
1591
                                    'delete' => [
1592
                                        'type' => Segment::class,
1593
                                        'options' => [
1594
                                            'route' => '/delete/:id',
1595
                                            'constraints' => [
1596
                                                'id' => '[A-Za-z0-9\-]+\=*'
1597
                                            ],
1598
                                            'defaults' => [
1599
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1600
                                                'action' => 'delete'
1601
                                            ]
1602
                                        ]
1603
                                    ]
1604
                                ]
1605
                            ],
1606
                            'groups' => [
1607
                                'type' => Literal::class,
1608
                                'options' => [
1609
                                    'route' => '/groups',
1610
                                    'defaults' => [
1611
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1612
                                        'action' => 'index'
1613
                                    ]
1614
                                ],
1615
                                'may_terminate' => true,
1616
                                'child_routes' => [
1617
                                    'add' => [
1618
                                        'type' => Literal::class,
1619
                                        'options' => [
1620
                                            'route' => '/add',
1621
                                            'defaults' => [
1622
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1623
                                                'action' => 'add'
1624
                                            ]
1625
                                        ]
1626
                                    ],
1627
                                    'edit' => [
1628
                                        'type' => Segment::class,
1629
                                        'options' => [
1630
                                            'route' => '/edit/:id',
1631
                                            'constraints' => [
1632
                                                'id' => '[A-Za-z0-9\-]+\=*'
1633
                                            ],
1634
                                            'defaults' => [
1635
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1636
                                                'action' => 'edit'
1637
                                            ]
1638
                                        ]
1639
                                    ],
1640
                                    'delete' => [
1641
                                        'type' => Segment::class,
1642
                                        'options' => [
1643
                                            'route' => '/delete/:id',
1644
                                            'constraints' => [
1645
                                                'id' => '[A-Za-z0-9\-]+\=*'
1646
                                            ],
1647
                                            'defaults' => [
1648
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1649
                                                'action' => 'delete'
1650
                                            ]
1651
                                        ]
1652
                                    ]
1653
                                ]
1654
                            ],
1655
                            'companies' => [
1656
                                'type' => Literal::class,
1657
                                'options' => [
1658
                                    'route' => '/companies',
1659
                                    'defaults' => [
1660
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1661
                                        'action' => 'index'
1662
                                    ]
1663
                                ],
1664
                                'may_terminate' => true,
1665
                                'child_routes' => [
1666
                                    'add' => [
1667
                                        'type' => Literal::class,
1668
                                        'options' => [
1669
                                            'route' => '/add',
1670
                                            'defaults' => [
1671
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1672
                                                'action' => 'add'
1673
                                            ]
1674
                                        ]
1675
                                    ],
1676
                                    'edit' => [
1677
                                        'type' => Segment::class,
1678
                                        'options' => [
1679
                                            'route' => '/edit/:id',
1680
                                            'constraints' => [
1681
                                                'id' => '[A-Za-z0-9\-]+\=*'
1682
                                            ],
1683
                                            'defaults' => [
1684
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1685
                                                'action' => 'edit'
1686
                                            ]
1687
                                        ]
1688
                                    ],
1689
                                    'delete' => [
1690
                                        'type' => Segment::class,
1691
                                        'options' => [
1692
                                            'route' => '/delete/:id',
1693
                                            'constraints' => [
1694
                                                'id' => '[A-Za-z0-9\-]+\=*'
1695
                                            ],
1696
                                            'defaults' => [
1697
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1698
                                                'action' => 'delete'
1699
                                            ]
1700
                                        ]
1701
                                    ]
1702
                                ]
1703
                            ],
1704
                            'partners' => [
1705
                                'type' => Literal::class,
1706
                                'options' => [
1707
                                    'route' => '/partners',
1708
                                    'defaults' => [
1709
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1710
                                        'action' => 'index'
1711
                                    ]
1712
                                ],
1713
                                'may_terminate' => true,
1714
                                'child_routes' => [
1715
                                    'add' => [
1716
                                        'type' => Literal::class,
1717
                                        'options' => [
1718
                                            'route' => '/add',
1719
                                            'defaults' => [
1720
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1721
                                                'action' => 'add'
1722
                                            ]
1723
                                        ]
1724
                                    ],
1725
                                    'edit' => [
1726
                                        'type' => Segment::class,
1727
                                        'options' => [
1728
                                            'route' => '/edit/:id',
1729
                                            'constraints' => [
1730
                                                'id' => '[A-Za-z0-9\-]+\=*'
1731
                                            ],
1732
                                            'defaults' => [
1733
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1734
                                                'action' => 'edit'
1735
                                            ]
1736
                                        ]
1737
                                    ],
1738
                                    'delete' => [
1739
                                        'type' => Segment::class,
1740
                                        'options' => [
1741
                                            'route' => '/delete/:id',
1742
                                            'constraints' => [
1743
                                                'id' => '[A-Za-z0-9\-]+\=*'
1744
                                            ],
1745
                                            'defaults' => [
1746
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1747
                                                'action' => 'delete'
1748
                                            ]
1749
                                        ]
1750
                                    ]
1751
                                ]
1752
                            ],
1753
                            'institutions' => [
1754
                                'type' => Literal::class,
1755
                                'options' => [
1756
                                    'route' => '/institutions',
1757
                                    'defaults' => [
1758
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1759
                                        'action' => 'index'
1760
                                    ]
1761
                                ],
1762
                                'may_terminate' => true,
1763
                                'child_routes' => [
1764
                                    'add' => [
1765
                                        'type' => Literal::class,
1766
                                        'options' => [
1767
                                            'route' => '/add',
1768
                                            'defaults' => [
1769
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1770
                                                'action' => 'add'
1771
                                            ]
1772
                                        ]
1773
                                    ],
1774
                                    'edit' => [
1775
                                        'type' => Segment::class,
1776
                                        'options' => [
1777
                                            'route' => '/edit/:id',
1778
                                            'constraints' => [
1779
                                                'id' => '[A-Za-z0-9\-]+\=*'
1780
                                            ],
1781
                                            'defaults' => [
1782
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1783
                                                'action' => 'edit'
1784
                                            ]
1785
                                        ]
1786
                                    ],
1787
                                    'delete' => [
1788
                                        'type' => Segment::class,
1789
                                        'options' => [
1790
                                            'route' => '/delete/:id',
1791
                                            'constraints' => [
1792
                                                'id' => '[A-Za-z0-9\-]+\=*'
1793
                                            ],
1794
                                            'defaults' => [
1795
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1796
                                                'action' => 'delete'
1797
                                            ]
1798
                                        ]
1799
                                    ]
1800
                                ]
1801
                            ],
1802
                        ]
1089 geraldo 1803
                    ],
1 www 1804
                ],
1089 geraldo 1805
            ],
1806
            /*             * * START PUBLICATIONS ** */
1 www 1807
            'publications' => [
1808
                'type' => Literal::class,
1809
                'options' => [
1810
                    'route' => '/publications',
1811
                    'defaults' => [
1812
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1813
                        'action' => 'index'
1814
                    ]
1815
                ],
1816
                'may_terminate' => true,
1817
                'child_routes' => [
1818
                    'pages' => [
1819
                        'type' => Literal::class,
1820
                        'options' => [
1821
                            'route' => '/pages',
1822
                            'defaults' => [
1823
                                'controller' => '\LeadersLinked\Controller\PageController',
1824
                                'action' => 'index'
1825
                            ]
1826
                        ],
1827
                        'may_terminate' => true,
1828
                        'child_routes' => [
1829
                            'add' => [
1830
                                'type' => Literal::class,
1831
                                'options' => [
1832
                                    'route' => '/add',
1833
                                    'defaults' => [
1834
                                        'controller' => '\LeadersLinked\Controller\PageController',
1835
                                        'action' => 'add'
1836
                                    ]
1837
                                ]
1838
                            ],
1839
                            'edit' => [
1840
                                'type' => Segment::class,
1841
                                'options' => [
1842
                                    'route' => '/edit/:id',
1843
                                    'constraints' => [
1844
                                        'id' => '[A-Za-z0-9\-]+\=*'
1845
                                    ],
1846
                                    'defaults' => [
1847
                                        'controller' => '\LeadersLinked\Controller\PageController',
1848
                                        'action' => 'edit'
1849
                                    ]
1850
                                ]
1851
                            ],
1852
                            'delete' => [
1853
                                'type' => Segment::class,
1854
                                'options' => [
1855
                                    'route' => '/delete/:id',
1856
                                    'constraints' => [
1857
                                        'id' => '[A-Za-z0-9\-]+\=*'
1858
                                    ],
1859
                                    'defaults' => [
1860
                                        'controller' => '\LeadersLinked\Controller\PageController',
1861
                                        'action' => 'delete'
1862
                                    ]
1863
                                ]
1864
                            ]
1865
                        ]
1866
                    ],
1867
                    'posts' => [
1868
                        'type' => Literal::class,
1869
                        'options' => [
1870
                            'route' => '/posts',
1871
                            'defaults' => [
1872
                                'controller' => '\LeadersLinked\Controller\PostController',
1873
                                'action' => 'index'
1874
                            ]
1875
                        ],
1876
                        'may_terminate' => true,
1877
                        'child_routes' => [
1878
                            'add' => [
1879
                                'type' => Literal::class,
1880
                                'options' => [
1881
                                    'route' => '/add',
1882
                                    'defaults' => [
1883
                                        'controller' => '\LeadersLinked\Controller\PostController',
1884
                                        'action' => 'add'
1885
                                    ]
1886
                                ]
1887
                            ],
1888
                            'edit' => [
1889
                                'type' => Segment::class,
1890
                                'options' => [
1891
                                    'route' => '/edit/:id',
1892
                                    'constraints' => [
1893
                                        'id' => '[A-Za-z0-9\-]+\=*'
1894
                                    ],
1895
                                    'defaults' => [
1896
                                        'controller' => '\LeadersLinked\Controller\PostController',
1897
                                        'action' => 'edit'
1898
                                    ]
1899
                                ]
1900
                            ],
1901
                            'delete' => [
1902
                                'type' => Segment::class,
1903
                                'options' => [
1904
                                    'route' => '/delete/:id',
1905
                                    'constraints' => [
1906
                                        'id' => '[A-Za-z0-9\-]+\=*'
1907
                                    ],
1908
                                    'defaults' => [
1909
                                        'controller' => '\LeadersLinked\Controller\PostController',
1910
                                        'action' => 'delete'
1911
                                    ]
1912
                                ]
1913
                            ]
1914
                        ]
1915
                    ],
1916
                ]
1089 geraldo 1917
            ],
1918
            /*             * * START SELF EVALUATION ** */
114 efrain 1919
            'self-evaluation' => [
1920
                'type' => Literal::class,
1921
                'options' => [
1922
                    'route' => '/self-evaluation',
1923
                    'defaults' => [
115 efrain 1924
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
114 efrain 1925
                        'action' => 'index'
1926
                    ]
1927
                ],
1928
                'may_terminate' => true,
1929
                'child_routes' => [
1930
                    'forms' => [
1931
                        'type' => Literal::class,
1932
                        'options' => [
1933
                            'route' => '/forms',
1934
                            'defaults' => [
115 efrain 1935
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1936
                                'action' => 'index'
1937
                            ]
1938
                        ],
1939
                        'may_terminate' => true,
1940
                        'child_routes' => [
1941
                            'add' => [
1942
                                'type' => Literal::class,
1943
                                'options' => [
1944
                                    'route' => '/add',
1945
                                    'defaults' => [
115 efrain 1946
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1947
                                        'action' => 'add'
1948
                                    ]
1949
                                ]
1950
                            ],
1951
                            'edit' => [
1952
                                'type' => Segment::class,
1953
                                'options' => [
1954
                                    'route' => '/edit/:id',
1955
                                    'constraints' => [
1956
                                        'id' => '[A-Za-z0-9\-]+\=*'
1957
                                    ],
1958
                                    'defaults' => [
115 efrain 1959
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1960
                                        'action' => 'edit'
1961
                                    ]
1962
                                ]
1963
                            ],
1964
                            'delete' => [
1965
                                'type' => Segment::class,
1966
                                'options' => [
1967
                                    'route' => '/delete/:id',
1968
                                    'constraints' => [
1969
                                        'id' => '[A-Za-z0-9\-]+\=*'
1970
                                    ],
1971
                                    'defaults' => [
115 efrain 1972
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1973
                                        'action' => 'delete'
1974
                                    ]
1975
                                ]
1976
                            ]
1977
                        ]
1978
                    ],
115 efrain 1979
                    'users' => [
1980
                        'type' => Literal::class,
1981
                        'options' => [
1982
                            'route' => '/users',
1983
                            'defaults' => [
1984
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
1985
                                'action' => 'index'
1986
                            ]
1987
                        ],
1988
                        'may_terminate' => true,
1989
                        'child_routes' => [
1990
                            'add' => [
1991
                                'type' => Segment::class,
1992
                                'options' => [
1993
                                    'route' => '/add/:form_id/:user_id',
1994
                                    'constraints' => [
1995
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
1996
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
1997
                                    ],
1998
                                    'defaults' => [
1999
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2000
                                        'action' => 'add'
2001
                                    ]
2002
                                ]
2003
                            ],
2004
                            'delete' => [
2005
                                'type' => Segment::class,
2006
                                'options' => [
2007
                                    'route' => '/delete/:form_id/:user_id',
2008
                                    'constraints' => [
2009
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2010
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2011
                                    ],
2012
                                    'defaults' => [
2013
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2014
                                        'action' => 'delete'
2015
                                    ]
2016
                                ]
2017
                            ]
2018
                        ]
2019
                    ],
114 efrain 2020
                    'reviews' => [
2021
                        'type' => Literal::class,
2022
                        'options' => [
2023
                            'route' => '/reviews',
2024
                            'defaults' => [
115 efrain 2025
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
114 efrain 2026
                                'action' => 'index'
2027
                            ]
2028
                        ],
2029
                        'may_terminate' => true,
2030
                        'child_routes' => [
2031
                            'edit' => [
2032
                                'type' => Segment::class,
2033
                                'options' => [
2034
                                    'route' => '/edit/:id',
2035
                                    'constraints' => [
2036
                                        'id' => '[A-Za-z0-9\-]+\=*'
2037
                                    ],
2038
                                    'defaults' => [
115 efrain 2039
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
486 geraldo 2040
                                        'action' => 'edit'
114 efrain 2041
                                    ]
2042
                                ]
2043
                            ],
469 geraldo 2044
                            'report' => [
2045
                                'type' => Segment::class,
2046
                                'options' => [
2047
                                    'route' => '/report/:id',
2048
                                    'constraints' => [
2049
                                        'id' => '[A-Za-z0-9\-]+\=*'
2050
                                    ],
2051
                                    'defaults' => [
2052
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
487 geraldo 2053
                                        'action' => 'report'
469 geraldo 2054
                                    ]
2055
                                ]
2056
                            ],
114 efrain 2057
                        ]
2058
                    ],
2059
                ]
1089 geraldo 2060
            ],
2061
            /*             * * END SELF EVALUATION ** */
946 geraldo 2062
 
1089 geraldo 2063
            /*             * * START PERFOMANCE EVALUATION ** */
946 geraldo 2064
            'performance-evaluation' => [
2065
                'type' => Literal::class,
2066
                'options' => [
2067
                    'route' => '/performance-evaluation',
2068
                    'defaults' => [
980 geraldo 2069
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
946 geraldo 2070
                        'action' => 'index'
2071
                    ]
2072
                ],
2073
                'may_terminate' => true,
2074
                'child_routes' => [
2075
                    'forms' => [
2076
                        'type' => Literal::class,
2077
                        'options' => [
2078
                            'route' => '/forms',
2079
                            'defaults' => [
977 geraldo 2080
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2081
                                'action' => 'index'
2082
                            ]
2083
                        ],
2084
                        'may_terminate' => true,
2085
                        'child_routes' => [
2086
                            'add' => [
2087
                                'type' => Literal::class,
2088
                                'options' => [
2089
                                    'route' => '/add',
2090
                                    'defaults' => [
977 geraldo 2091
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2092
                                        'action' => 'add'
2093
                                    ]
2094
                                ]
2095
                            ],
2096
                            'edit' => [
2097
                                'type' => Segment::class,
2098
                                'options' => [
2099
                                    'route' => '/edit/:id',
2100
                                    'constraints' => [
2101
                                        'id' => '[A-Za-z0-9\-]+\=*'
2102
                                    ],
2103
                                    'defaults' => [
986 geraldo 2104
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2105
                                        'action' => 'edit'
2106
                                    ]
2107
                                ]
2108
                            ],
2109
                            'delete' => [
2110
                                'type' => Segment::class,
2111
                                'options' => [
2112
                                    'route' => '/delete/:id',
2113
                                    'constraints' => [
2114
                                        'id' => '[A-Za-z0-9\-]+\=*'
2115
                                    ],
2116
                                    'defaults' => [
986 geraldo 2117
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2118
                                        'action' => 'delete'
2119
                                    ]
2120
                                ]
1263 geraldo 2121
                                    ],
2122
                            'report' => [
2123
                                'type' => Segment::class,
2124
                                'options' => [
2125
                                    'route' => '/report/:id',
2126
                                    'constraints' => [
2127
                                        'id' => '[A-Za-z0-9\-]+\=*'
2128
                                    ],
2129
                                    'defaults' => [
2130
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2131
                                        'action' => 'report'
2132
                                    ]
2133
                                ]
2134
                            ],
946 geraldo 2135
                        ]
2136
                    ],
1383 efrain 2137
                    'evaluations' => [
946 geraldo 2138
                        'type' => Literal::class,
2139
                        'options' => [
1383 efrain 2140
                            'route' => '/evaluations',
946 geraldo 2141
                            'defaults' => [
1383 efrain 2142
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
946 geraldo 2143
                                'action' => 'index'
2144
                            ]
2145
                        ],
2146
                        'may_terminate' => true,
2147
                        'child_routes' => [
1383 efrain 2148
                            'add' => [
1320 efrain 2149
                                'type' => Literal::class,
946 geraldo 2150
                                'options' => [
1383 efrain 2151
                                    'route' => '/add',
946 geraldo 2152
                                    'defaults' => [
1383 efrain 2153
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2154
                                        'action' => 'add'
946 geraldo 2155
                                    ]
1383 efrain 2156
                                ]
2157
                            ],
7902 eleazar 2158
                            'delete' => [
1383 efrain 2159
                                'type' => Segment::class,
2160
                                'options' => [
7902 eleazar 2161
                                    'route' => '/delete/:id',
1383 efrain 2162
                                    'constraints' => [
2163
                                        'id' => '[A-Za-z0-9\-]+\=*',
1320 efrain 2164
                                    ],
1383 efrain 2165
                                    'defaults' => [
2166
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2167
                                        'action' => 'delete'
1320 efrain 2168
                                    ]
946 geraldo 2169
                                ]
1383 efrain 2170
                            ],
7902 eleazar 2171
                            'self' => [
7947 eleazar 2172
                                'type' => Segment::class,
1383 efrain 2173
                                'options' => [
7907 eleazar 2174
                                    'route' => '/self/:id',
2175
                                    'constraints' => [
2176
                                        'id' => '[A-Za-z0-9\-]+\=*',
2177
                                    ],
1383 efrain 2178
                                    'defaults' => [
2179
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2180
                                        'action' => 'self'
1383 efrain 2181
                                    ]
2182
                                ]
2183
                            ],
7902 eleazar 2184
                            'both' => [
7947 eleazar 2185
                                'type' => Segment::class,
946 geraldo 2186
                                'options' => [
7907 eleazar 2187
                                    'route' => '/both/:id',
2188
                                    'constraints' => [
2189
                                        'id' => '[A-Za-z0-9\-]+\=*',
2190
                                    ],
946 geraldo 2191
                                    'defaults' => [
1383 efrain 2192
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2193
                                        'action' => 'both'
946 geraldo 2194
                                    ]
2195
                                ]
1383 efrain 2196
                            ],
7902 eleazar 2197
                            'superviser' => [
7947 eleazar 2198
                                'type' => Segment::class,
7902 eleazar 2199
                                'options' => [
7907 eleazar 2200
                                    'route' => '/superviser/:id',
2201
                                    'constraints' => [
2202
                                        'id' => '[A-Za-z0-9\-]+\=*',
2203
                                    ],
7902 eleazar 2204
                                    'defaults' => [
2205
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2206
                                        'action' => 'superviser'
2207
                                    ]
2208
                                ]
2209
                            ],
8220 eleazar 2210
                            'report-self' =>[
8176 eleazar 2211
                                'type' => Segment::class,
2212
                                'options' => [
8220 eleazar 2213
                                    'route' => '/report-self/:id',
8176 eleazar 2214
                                    'constraints' => [
2215
                                        'id' => '[A-Za-z0-9\-]+\=*'
2216
                                    ],
2217
                                    'defaults' => [
2218
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
8177 eleazar 2219
                                        'action' => 'reportSelf',
8176 eleazar 2220
                                    ],
2221
                                ],
2222
                            ],
8220 eleazar 2223
                            'report-both' =>[
8177 eleazar 2224
                                'type' => Segment::class,
2225
                                'options' => [
8220 eleazar 2226
                                    'route' => '/report-both/:id',
8177 eleazar 2227
                                    'constraints' => [
2228
                                        'id' => '[A-Za-z0-9\-]+\=*'
2229
                                    ],
2230
                                    'defaults' => [
2231
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2232
                                        'action' => 'reportBoth',
2233
                                    ],
2234
                                ],
2235
                            ],
8249 eleazar 2236
                            'report-superviser' =>[
8177 eleazar 2237
                                'type' => Segment::class,
2238
                                'options' => [
8249 eleazar 2239
                                    'route' => '/report-superviser/:id',
8177 eleazar 2240
                                    'constraints' => [
2241
                                        'id' => '[A-Za-z0-9\-]+\=*'
2242
                                    ],
2243
                                    'defaults' => [
2244
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2245
                                        'action' => 'reportSupervisor',
2246
                                    ],
2247
                                ],
2248
                            ],
8068 eleazar 2249
                            'user-by-email' => [
2250
                                'type' => Literal::class,
2251
                                'options' => [
2252
                                    'route' => '/user-by-email',
2253
                                    'defaults' => [
2254
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
2255
                                        'action' => 'email'
2256
                                    ]
2257
                                ]
2258
                            ],
946 geraldo 2259
                        ]
2260
                    ],
2261
                ]
1089 geraldo 2262
            ],
2263
            /*             * * END PERFORMANCE EVALUATION ** */
2264
 
2265
            /*             * * START SETTINGS ** */
1 www 2266
            'settings' => [
2267
                'type' => Literal::class,
2268
                'options' => [
2269
                    'route' => '/settings',
2270
                    'defaults' => [
2271
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2272
                        'action' => 'index'
2273
                    ]
2274
                ],
2275
                'may_terminate' => true,
2276
                'child_routes' => [
2277
                    'company-sizes' => [
2278
                        'type' => Literal::class,
2279
                        'options' => [
2280
                            'route' => '/company-sizes',
2281
                            'defaults' => [
2282
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2283
                                'action' => 'index'
2284
                            ]
2285
                        ],
2286
                        'may_terminate' => true,
2287
                        'child_routes' => [
2288
                            'add' => [
2289
                                'type' => Literal::class,
2290
                                'options' => [
2291
                                    'route' => '/add',
2292
                                    'defaults' => [
2293
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2294
                                        'action' => 'add'
2295
                                    ]
2296
                                ]
2297
                            ],
2298
                            'edit' => [
2299
                                'type' => Segment::class,
2300
                                'options' => [
2301
                                    'route' => '/edit/:id',
2302
                                    'constraints' => [
2303
                                        'id' => '[A-Za-z0-9\-]+\=*'
2304
                                    ],
2305
                                    'defaults' => [
2306
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2307
                                        'action' => 'edit'
2308
                                    ]
2309
                                ]
2310
                            ],
2311
                            'delete' => [
2312
                                'type' => Segment::class,
2313
                                'options' => [
2314
                                    'route' => '/delete/:id',
2315
                                    'constraints' => [
2316
                                        'id' => '[A-Za-z0-9\-]+\=*'
2317
                                    ],
2318
                                    'defaults' => [
2319
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2320
                                        'action' => 'delete'
2321
                                    ]
2322
                                ]
2323
                            ]
2324
                        ]
2325
                    ],
2326
                    'competency-types' => [
2327
                        'type' => Literal::class,
2328
                        'options' => [
2329
                            'route' => '/competency-types',
2330
                            'defaults' => [
2331
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2332
                                'action' => 'index'
2333
                            ]
2334
                        ],
2335
                        'may_terminate' => true,
2336
                        'child_routes' => [
2337
                            'add' => [
2338
                                'type' => Literal::class,
2339
                                'options' => [
2340
                                    'route' => '/add',
2341
                                    'defaults' => [
2342
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2343
                                        'action' => 'add'
2344
                                    ]
2345
                                ]
2346
                            ],
2347
                            'edit' => [
2348
                                'type' => Segment::class,
2349
                                'options' => [
2350
                                    'route' => '/edit/:id',
2351
                                    'constraints' => [
2352
                                        'id' => '[A-Za-z0-9\-]+\=*'
2353
                                    ],
2354
                                    'defaults' => [
2355
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2356
                                        'action' => 'edit'
2357
                                    ]
2358
                                ]
2359
                            ],
2360
                            'delete' => [
2361
                                'type' => Segment::class,
2362
                                'options' => [
2363
                                    'route' => '/delete/:id',
2364
                                    'constraints' => [
2365
                                        'id' => '[A-Za-z0-9\-]+\=*'
2366
                                    ],
2367
                                    'defaults' => [
2368
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2369
                                        'action' => 'delete'
2370
                                    ]
2371
                                ]
28 efrain 2372
                            ],
2373
                            'import' => [
2374
                                'type' => Literal::class,
2375
                                'options' => [
2376
                                    'route' => '/import',
2377
                                    'defaults' => [
2378
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2379
                                        'action' => 'import'
2380
                                    ]
2381
                                ]
2382
                            ],
1 www 2383
                        ]
2384
                    ],
1104 geraldo 2385
                    'behaviors' => [
2386
                        'type' => Literal::class,
2387
                        'options' => [
2388
                            'route' => '/behaviors',
2389
                            'defaults' => [
2390
                                'controller' => '\LeadersLinked\Controller\BehaviorsController',
2391
                                'action' => 'index'
2392
                            ]
2393
                        ],
2394
                        'may_terminate' => true,
2395
                        'child_routes' => [
2396
                            'add' => [
2397
                                'type' => Literal::class,
2398
                                'options' => [
2399
                                    'route' => '/add',
2400
                                    'defaults' => [
2401
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2402
                                        'action' => 'add'
2403
                                    ]
2404
                                ]
1115 geraldo 2405
                            ],
2406
                            'edit' => [
2407
                                'type' => Segment::class,
2408
                                'options' => [
2409
                                    'route' => '/edit/:id',
2410
                                    'constraints' => [
2411
                                        'id' => '[A-Za-z0-9\-]+\=*'
2412
                                    ],
2413
                                    'defaults' => [
2414
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2415
                                        'action' => 'edit'
2416
                                    ]
2417
                                ]
2418
                            ],
1104 geraldo 2419
                        ]
2420
                    ],
1 www 2421
                    'competencies' => [
2422
                        'type' => Literal::class,
2423
                        'options' => [
2424
                            'route' => '/competencies',
2425
                            'defaults' => [
2426
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2427
                                'action' => 'index'
2428
                            ]
2429
                        ],
2430
                        'may_terminate' => true,
2431
                        'child_routes' => [
2432
                            'add' => [
2433
                                'type' => Literal::class,
2434
                                'options' => [
2435
                                    'route' => '/add',
2436
                                    'defaults' => [
2437
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2438
                                        'action' => 'add'
2439
                                    ]
2440
                                ]
2441
                            ],
2442
                            'edit' => [
2443
                                'type' => Segment::class,
2444
                                'options' => [
2445
                                    'route' => '/edit/:id',
2446
                                    'constraints' => [
2447
                                        'id' => '[A-Za-z0-9\-]+\=*'
2448
                                    ],
2449
                                    'defaults' => [
2450
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2451
                                        'action' => 'edit'
2452
                                    ]
2453
                                ]
2454
                            ],
2455
                            'delete' => [
2456
                                'type' => Segment::class,
2457
                                'options' => [
2458
                                    'route' => '/delete/:id',
2459
                                    'constraints' => [
2460
                                        'id' => '[A-Za-z0-9\-]+\=*'
2461
                                    ],
2462
                                    'defaults' => [
2463
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2464
                                        'action' => 'delete'
2465
                                    ]
2466
                                ]
28 efrain 2467
                            ],
2468
                            'import' => [
2469
                                'type' => Literal::class,
2470
                                'options' => [
2471
                                    'route' => '/import',
2472
                                    'defaults' => [
2473
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2474
                                        'action' => 'import'
2475
                                    ]
2476
                                ]
2477
                            ],
1 www 2478
                        ]
2479
                    ],
2480
                    'degrees' => [
2481
                        'type' => Literal::class,
2482
                        'options' => [
2483
                            'route' => '/degrees',
2484
                            'defaults' => [
2485
                                'controller' => '\LeadersLinked\Controller\DegreeController',
2486
                                'action' => 'index'
2487
                            ]
2488
                        ],
2489
                        'may_terminate' => true,
2490
                        'child_routes' => [
2491
                            'add' => [
2492
                                'type' => Literal::class,
2493
                                'options' => [
2494
                                    'route' => '/add',
2495
                                    'defaults' => [
2496
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2497
                                        'action' => 'add'
2498
                                    ]
2499
                                ]
2500
                            ],
2501
                            'edit' => [
2502
                                'type' => Segment::class,
2503
                                'options' => [
2504
                                    'route' => '/edit/:id',
2505
                                    'constraints' => [
2506
                                        'id' => '[A-Za-z0-9\-]+\=*'
2507
                                    ],
2508
                                    'defaults' => [
2509
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2510
                                        'action' => 'edit'
2511
                                    ]
2512
                                ]
2513
                            ],
2514
                            'delete' => [
2515
                                'type' => Segment::class,
2516
                                'options' => [
2517
                                    'route' => '/delete/:id',
2518
                                    'constraints' => [
2519
                                        'id' => '[A-Za-z0-9\-]+\=*'
2520
                                    ],
2521
                                    'defaults' => [
2522
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2523
                                        'action' => 'delete'
2524
                                    ]
2525
                                ]
2526
                            ]
2527
                        ]
2528
                    ],
2529
                    'group-types' => [
2530
                        'type' => Literal::class,
2531
                        'options' => [
2532
                            'route' => '/competency-types',
2533
                            'defaults' => [
2534
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2535
                                'action' => 'index'
2536
                            ]
2537
                        ],
2538
                        'may_terminate' => true,
2539
                        'child_routes' => [
2540
                            'add' => [
2541
                                'type' => Literal::class,
2542
                                'options' => [
2543
                                    'route' => '/add',
2544
                                    'defaults' => [
2545
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2546
                                        'action' => 'add'
2547
                                    ]
2548
                                ]
2549
                            ],
2550
                            'edit' => [
2551
                                'type' => Segment::class,
2552
                                'options' => [
2553
                                    'route' => '/edit/:id',
2554
                                    'constraints' => [
2555
                                        'id' => '[A-Za-z0-9\-]+\=*'
2556
                                    ],
2557
                                    'defaults' => [
2558
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2559
                                        'action' => 'edit'
2560
                                    ]
2561
                                ]
2562
                            ],
2563
                            'delete' => [
2564
                                'type' => Segment::class,
2565
                                'options' => [
2566
                                    'route' => '/delete/:id',
2567
                                    'constraints' => [
2568
                                        'id' => '[A-Za-z0-9\-]+\=*'
2569
                                    ],
2570
                                    'defaults' => [
2571
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2572
                                        'action' => 'delete'
2573
                                    ]
2574
                                ]
2575
                            ]
2576
                        ]
2577
                    ],
2578
                    'industries' => [
2579
                        'type' => Literal::class,
2580
                        'options' => [
2581
                            'route' => '/industries',
2582
                            'defaults' => [
2583
                                'controller' => '\LeadersLinked\Controller\IndustryController',
2584
                                'action' => 'index'
2585
                            ]
2586
                        ],
2587
                        'may_terminate' => true,
2588
                        'child_routes' => [
2589
                            'add' => [
2590
                                'type' => Literal::class,
2591
                                'options' => [
2592
                                    'route' => '/add',
2593
                                    'defaults' => [
2594
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2595
                                        'action' => 'add'
2596
                                    ]
2597
                                ]
2598
                            ],
2599
                            'edit' => [
2600
                                'type' => Segment::class,
2601
                                'options' => [
2602
                                    'route' => '/edit/:id',
2603
                                    'constraints' => [
2604
                                        'id' => '[A-Za-z0-9\-]+\=*'
2605
                                    ],
2606
                                    'defaults' => [
2607
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2608
                                        'action' => 'edit'
2609
                                    ]
2610
                                ]
2611
                            ],
2612
                            'delete' => [
2613
                                'type' => Segment::class,
2614
                                'options' => [
2615
                                    'route' => '/delete/:id',
2616
                                    'constraints' => [
2617
                                        'id' => '[A-Za-z0-9\-]+\=*'
2618
                                    ],
2619
                                    'defaults' => [
2620
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2621
                                        'action' => 'delete'
2622
                                    ]
2623
                                ]
2624
                            ]
2625
                        ]
2626
                    ],
2627
                    'group-types' => [
2628
                        'type' => Literal::class,
2629
                        'options' => [
2630
                            'route' => '/group-types',
2631
                            'defaults' => [
2632
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2633
                                'action' => 'index'
2634
                            ]
2635
                        ],
2636
                        'may_terminate' => true,
2637
                        'child_routes' => [
2638
                            'add' => [
2639
                                'type' => Literal::class,
2640
                                'options' => [
2641
                                    'route' => '/add',
2642
                                    'defaults' => [
2643
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2644
                                        'action' => 'add'
2645
                                    ]
2646
                                ]
2647
                            ],
2648
                            'edit' => [
2649
                                'type' => Segment::class,
2650
                                'options' => [
2651
                                    'route' => '/edit/:id',
2652
                                    'constraints' => [
2653
                                        'id' => '[A-Za-z0-9\-]+\=*'
2654
                                    ],
2655
                                    'defaults' => [
2656
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2657
                                        'action' => 'edit'
2658
                                    ]
2659
                                ]
2660
                            ],
2661
                            'delete' => [
2662
                                'type' => Segment::class,
2663
                                'options' => [
2664
                                    'route' => '/delete/:id',
2665
                                    'constraints' => [
2666
                                        'id' => '[A-Za-z0-9\-]+\=*'
2667
                                    ],
2668
                                    'defaults' => [
2669
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2670
                                        'action' => 'delete'
2671
                                    ]
2672
                                ]
2673
                            ]
2674
                        ]
2675
                    ],
2676
                    'job-categories' => [
2677
                        'type' => Literal::class,
2678
                        'options' => [
2679
                            'route' => '/job-categories',
2680
                            'defaults' => [
2681
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2682
                                'action' => 'index'
2683
                            ]
2684
                        ],
2685
                        'may_terminate' => true,
2686
                        'child_routes' => [
2687
                            'add' => [
2688
                                'type' => Literal::class,
2689
                                'options' => [
2690
                                    'route' => '/add',
2691
                                    'defaults' => [
2692
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2693
                                        'action' => 'add'
2694
                                    ]
2695
                                ]
2696
                            ],
2697
                            'edit' => [
2698
                                'type' => Segment::class,
2699
                                'options' => [
2700
                                    'route' => '/edit/:id',
2701
                                    'constraints' => [
2702
                                        'id' => '[A-Za-z0-9\-]+\=*'
2703
                                    ],
2704
                                    'defaults' => [
2705
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2706
                                        'action' => 'edit'
2707
                                    ]
2708
                                ]
2709
                            ],
2710
                            'delete' => [
2711
                                'type' => Segment::class,
2712
                                'options' => [
2713
                                    'route' => '/delete/:id',
2714
                                    'constraints' => [
2715
                                        'id' => '[A-Za-z0-9\-]+\=*'
2716
                                    ],
2717
                                    'defaults' => [
2718
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2719
                                        'action' => 'delete'
2720
                                    ]
2721
                                ]
2722
                            ]
2723
                        ]
2724
                    ],
28 efrain 2725
                    'jobs-description' => [
2726
                        'type' => Literal::class,
2727
                        'options' => [
2728
                            'route' => '/jobs-description',
2729
                            'defaults' => [
2730
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2731
                                'action' => 'index'
2732
                            ]
2733
                        ],
2734
                        'may_terminate' => true,
2735
                        'child_routes' => [
2736
                            'add' => [
2737
                                'type' => Literal::class,
2738
                                'options' => [
2739
                                    'route' => '/add',
2740
                                    'defaults' => [
2741
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2742
                                        'action' => 'add'
2743
                                    ]
2744
                                ]
2745
                            ],
2746
                            'edit' => [
2747
                                'type' => Segment::class,
2748
                                'options' => [
2749
                                    'route' => '/edit/:id',
2750
                                    'constraints' => [
2751
                                        'id' => '[A-Za-z0-9\-]+\=*'
2752
                                    ],
2753
                                    'defaults' => [
2754
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2755
                                        'action' => 'edit'
2756
                                    ]
2757
                                ]
2758
                            ],
2759
                            'delete' => [
2760
                                'type' => Segment::class,
2761
                                'options' => [
2762
                                    'route' => '/delete/:id',
2763
                                    'constraints' => [
2764
                                        'id' => '[A-Za-z0-9\-]+\=*'
2765
                                    ],
2766
                                    'defaults' => [
2767
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2768
                                        'action' => 'delete'
2769
                                    ]
2770
                                ]
559 geraldo 2771
                            ],
2772
                            'report' => [
2773
                                'type' => Segment::class,
2774
                                'options' => [
2775
                                    'route' => '/report/:id',
2776
                                    'constraints' => [
2777
                                        'id' => '[A-Za-z0-9\-]+\=*'
2778
                                    ],
2779
                                    'defaults' => [
2780
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2781
                                        'action' => 'report'
2782
                                    ]
2783
                                ]
2784
                            ],
846 geraldo 2785
                            'import' => [
2786
                                'type' => Literal::class,
2787
                                'options' => [
2788
                                    'route' => '/import',
2789
                                    'defaults' => [
2790
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2791
                                        'action' => 'import'
2792
                                    ]
2793
                                ]
2794
                            ],
28 efrain 2795
                        ]
2796
                    ],
1 www 2797
                    'email-templates' => [
2798
                        'type' => Literal::class,
2799
                        'options' => [
2800
                            'route' => '/email-templates',
2801
                            'defaults' => [
2802
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2803
                                'action' => 'index'
2804
                            ]
2805
                        ],
2806
                        'may_terminate' => true,
2807
                        'child_routes' => [
2808
                            'edit' => [
2809
                                'type' => Segment::class,
2810
                                'options' => [
2811
                                    'route' => '/edit/:id',
2812
                                    'constraints' => [
2813
                                        'id' => '[A-Za-z0-9\-]+\=*'
2814
                                    ],
2815
                                    'defaults' => [
2816
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2817
                                        'action' => 'edit'
2818
                                    ]
2819
                                ]
2820
                            ],
2821
                        ]
2822
                    ],
67 efrain 2823
                    'positions' => [
2824
                        'type' => Literal::class,
2825
                        'options' => [
2826
                            'route' => '/positions',
2827
                            'defaults' => [
2828
                                'controller' => '\LeadersLinked\Controller\PositionController',
2829
                                'action' => 'index'
2830
                            ]
2831
                        ],
2832
                        'may_terminate' => true,
2833
                        'child_routes' => [
2834
                            'add' => [
2835
                                'type' => Literal::class,
2836
                                'options' => [
2837
                                    'route' => '/add',
2838
                                    'defaults' => [
2839
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2840
                                        'action' => 'add'
2841
                                    ]
2842
                                ]
2843
                            ],
2844
                            'edit' => [
2845
                                'type' => Segment::class,
2846
                                'options' => [
2847
                                    'route' => '/edit/:id',
2848
                                    'constraints' => [
2849
                                        'id' => '[A-Za-z0-9\-]+\=*'
2850
                                    ],
2851
                                    'defaults' => [
2852
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2853
                                        'action' => 'edit'
2854
                                    ]
2855
                                ]
2856
                            ],
2857
                            'delete' => [
2858
                                'type' => Segment::class,
2859
                                'options' => [
2860
                                    'route' => '/delete/:id',
2861
                                    'constraints' => [
2862
                                        'id' => '[A-Za-z0-9\-]+\=*'
2863
                                    ],
2864
                                    'defaults' => [
2865
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2866
                                        'action' => 'delete'
2867
                                    ]
2868
                                ]
2869
                            ],
1320 efrain 2870
                            'subordinates' => [
2871
                                'type' => Segment::class,
2872
                                'options' => [
2873
                                    'route' => '/subordinates/:job_description_id',
2874
                                    'constraints' => [
2875
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
2876
                                    ],
2877
                                    'defaults' => [
2878
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2879
                                        'action' => 'subordinates'
2880
                                    ]
2881
                                ]
2882
                            ],
67 efrain 2883
                        ]
2884
                    ],
1 www 2885
                    'push-templates' => [
2886
                        'type' => Literal::class,
2887
                        'options' => [
2888
                            'route' => '/push-templates',
2889
                            'defaults' => [
2890
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2891
                                'action' => 'index'
2892
                            ]
2893
                        ],
2894
                        'may_terminate' => true,
2895
                        'child_routes' => [
2896
                            'edit' => [
2897
                                'type' => Segment::class,
2898
                                'options' => [
2899
                                    'route' => '/edit/:id',
2900
                                    'constraints' => [
2901
                                        'id' => '[A-Za-z0-9\-]+\=*'
2902
                                    ],
2903
                                    'defaults' => [
2904
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2905
                                        'action' => 'edit'
2906
                                    ]
2907
                                ]
2908
                            ],
2909
                        ]
2910
                    ],
2911
                    'skills' => [
2912
                        'type' => Literal::class,
2913
                        'options' => [
2914
                            'route' => '/skills',
2915
                            'defaults' => [
2916
                                'controller' => '\LeadersLinked\Controller\SkillController',
2917
                                'action' => 'index'
2918
                            ]
2919
                        ],
2920
                        'may_terminate' => true,
2921
                        'child_routes' => [
2922
                            'add' => [
2923
                                'type' => Literal::class,
2924
                                'options' => [
2925
                                    'route' => '/add',
2926
                                    'defaults' => [
2927
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2928
                                        'action' => 'add'
2929
                                    ]
2930
                                ]
2931
                            ],
2932
                            'edit' => [
2933
                                'type' => Segment::class,
2934
                                'options' => [
2935
                                    'route' => '/edit/:id',
2936
                                    'constraints' => [
2937
                                        'id' => '[A-Za-z0-9\-]+\=*'
2938
                                    ],
2939
                                    'defaults' => [
2940
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2941
                                        'action' => 'edit'
2942
                                    ]
2943
                                ]
2944
                            ],
2945
                            'delete' => [
2946
                                'type' => Segment::class,
2947
                                'options' => [
2948
                                    'route' => '/delete/:id',
2949
                                    'constraints' => [
2950
                                        'id' => '[A-Za-z0-9\-]+\=*'
2951
                                    ],
2952
                                    'defaults' => [
2953
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2954
                                        'action' => 'delete'
2955
                                    ]
2956
                                ]
2957
                            ]
2958
                        ]
2959
                    ],
1089 geraldo 2960
                ]
1 www 2961
            ],
1089 geraldo 2962
        /*         * * FIN SETTINGS ** */
1333 efrain 2963
 
2964
            'own-professional-network' => [
2965
                'type' => Literal::class,
2966
                'options' => [
2967
                    'route' => '/own-professional-network',
2968
                    'defaults' => [
2969
                        'controller' => '\LeadersLinked\Controller\UnknownController',
2970
                        'action' => 'index'
2971
                    ]
2972
                ],
2973
                'may_terminate' => true,
2974
                'child_routes' => [
2975
                ]
2976
            ],
2977
 
2978
            'organizational-design' => [
2979
                'type' => Literal::class,
2980
                'options' => [
2981
                    'route' => '/organizational-design',
2982
                    'defaults' => [
2983
                        'controller' => '\LeadersLinked\Controller\UnknownController',
2984
                        'action' => 'index'
2985
                    ]
2986
                ],
2987
                'may_terminate' => true,
2988
                'child_routes' => [
2989
                ]
2990
            ],
2991
 
2992
            'planning-objectives-and-goals' => [
2993
                'type' => Literal::class,
2994
                'options' => [
2995
                    'route' => '/planning-objectives-and-goals',
2996
                    'defaults' => [
2235 nelberth 2997
                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsController',
1951 nelberth 2998
                        'action' => 'index'
1333 efrain 2999
                    ]
3000
                ],
3001
                'may_terminate' => true,
3002
                'child_routes' => [
2238 nelberth 3003
                    'objectives' => [
2250 nelberth 3004
                        'type' => Literal::class,
1914 nelberth 3005
                        'options' => [
2248 nelberth 3006
                            'route' => '/objectives',
1914 nelberth 3007
                            'defaults' => [
2228 nelberth 3008
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2238 nelberth 3009
                                'action' => 'index'
1914 nelberth 3010
                            ]
2251 nelberth 3011
                        ],
3012
 
3013
                        'may_terminate' => true,
3014
                        'child_routes' => [
2324 nelberth 3015
 
2251 nelberth 3016
                            'add' => [
3017
                                'type' => Literal::class,
3018
                                'options' => [
3019
                                    'route' => '/add',
3020
                                    'defaults' => [
3021
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3022
                                        'action' => 'add'
3023
                                    ]
3024
                                ]
3025
                            ],
3026
                            'edit' => [
3027
                                'type' => Segment::class,
3028
                                'options' => [
3029
                                    'route' => '/edit/:id',
3030
                                    'constraints' => [
3031
                                        'id' => '[A-Za-z0-9\-]+\=*'
3032
                                    ],
3033
                                    'defaults' => [
3034
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3035
                                        'action' => 'edit'
3036
                                    ]
3037
                                ]
3038
                            ],
3039
                            'delete' => [
3040
                                'type' => Segment::class,
3041
                                'options' => [
3042
                                    'route' => '/delete/:id',
3043
                                    'constraints' => [
3044
                                        'id' => '[A-Za-z0-9\-]+\=*'
3045
                                    ],
3046
                                    'defaults' => [
3047
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3048
                                        'action' => 'delete'
3049
                                    ]
3050
                                ]
2324 nelberth 3051
                            ],
3462 nelberth 3052
                            'report' => [
3053
                                'type' => Segment::class,
3054
                                'options' => [
3055
                                    'route' => '/report/:id',
3056
                                    'constraints' => [
3057
                                        'id' => '[A-Za-z0-9\-]+\=*'
3058
                                    ],
3059
                                    'defaults' => [
3060
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3061
                                        'action' => 'report'
3062
                                    ]
3063
                                ]
3986 nelberth 3064
                            ],
3065
                            'reportall' => [
3066
                                'type' => Literal::class,
3067
                                'options' => [
3068
                                    'route' => '/reportall',
3069
                                    'defaults' => [
3070
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3071
                                        'action' => 'reportall'
3072
                                    ]
3073
                                ]
3462 nelberth 3074
                            ],
4041 nelberth 3075
 
3076
                            'matriz' => [
3077
                                'type' => Literal::class,
3078
                                'options' => [
3079
                                    'route' => '/matriz',
3080
                                    'defaults' => [
3081
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3082
                                        'action' => 'matriz'
3083
                                    ]
3084
                                ]
3085
                            ],
2324 nelberth 3086
                            'goals' => [
2336 nelberth 3087
                                'type' => Segment::class,
2324 nelberth 3088
                                'options' => [
2426 nelberth 3089
                                    'route' => '/:uuid_objective/goals',
2324 nelberth 3090
                                    'constraints' => [
8536 efrain 3091
                                        'uuid_objective' => '[A-Za-z0-9\-]+\=*'
2324 nelberth 3092
                                    ],
3093
                                    'defaults' => [
3094
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3095
                                        'action' => 'index'
3096
                                    ]
2369 nelberth 3097
                                ],
2370 nelberth 3098
 
3099
                                'may_terminate' => true,
3100
                                'child_routes' => [
3101
                                    'add' => [
3102
                                        'type' => Literal::class,
3103
                                        'options' => [
3104
                                            'route' => '/add',
3105
                                            'defaults' => [
3106
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3107
                                                'action' => 'add'
3108
                                            ]
2369 nelberth 3109
                                        ]
2370 nelberth 3110
                                    ],
3111
                                    'edit' => [
3112
                                        'type' => Segment::class,
3113
                                        'options' => [
3114
                                            'route' => '/edit/:id',
3115
                                            'constraints' => [
3116
                                                'id' => '[A-Za-z0-9\-]+\=*'
3117
                                            ],
3118
                                            'defaults' => [
3119
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3120
                                                'action' => 'edit'
3121
                                            ]
2369 nelberth 3122
                                        ]
2370 nelberth 3123
                                    ],
3124
                                    'delete' => [
3125
                                        'type' => Segment::class,
3126
                                        'options' => [
3127
                                            'route' => '/delete/:id',
3128
                                            'constraints' => [
3129
                                                'id' => '[A-Za-z0-9\-]+\=*'
3130
                                            ],
3131
                                            'defaults' => [
3132
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3133
                                                'action' => 'delete'
3134
                                            ]
3135
                                        ]
3136
                                    ],
2517 nelberth 3137
                                    'task' => [
3138
                                        'type' => Segment::class,
3139
                                        'options' => [
8536 efrain 3140
                                            'route' => '/:uuid_goal/task',
2517 nelberth 3141
                                            'constraints' => [
8536 efrain 3142
                                                'uuid_goal' => '[A-Za-z0-9\-]+\=*'
2517 nelberth 3143
                                            ],
3144
                                            'defaults' => [
3145
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3146
                                                'action' => 'index'
3147
                                            ]
3148
                                        ],
3149
 
3150
                                        'may_terminate' => true,
3151
                                        'child_routes' => [
3152
                                            'add' => [
3153
                                                'type' => Literal::class,
3154
                                                'options' => [
3155
                                                    'route' => '/add',
3156
                                                    'defaults' => [
3157
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3158
                                                        'action' => 'add'
3159
                                                    ]
3160
                                                ]
3161
                                            ],
3162
                                            'edit' => [
3163
                                                'type' => Segment::class,
3164
                                                'options' => [
3165
                                                    'route' => '/edit/:id',
3166
                                                    'constraints' => [
3167
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3168
                                                    ],
3169
                                                    'defaults' => [
3170
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3171
                                                        'action' => 'edit'
3172
                                                    ]
3173
                                                ]
3174
                                            ],
3175
                                            'delete' => [
3176
                                                'type' => Segment::class,
3177
                                                'options' => [
3178
                                                    'route' => '/delete/:id',
3179
                                                    'constraints' => [
3180
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3181
                                                    ],
3182
                                                    'defaults' => [
3183
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3184
                                                        'action' => 'delete'
3185
                                                    ]
3186
                                                ]
3187
                                            ],
2822 nelberth 3188
                                            'view' => [
3189
                                                'type' => Segment::class,
3190
                                                'options' => [
3191
                                                    'route' => '/view/:id',
3192
                                                    'constraints' => [
3193
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3194
                                                    ],
3195
                                                    'defaults' => [
3196
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3197
                                                        'action' => 'view'
3198
                                                    ]
3199
                                                ]
3200
                                            ],
2517 nelberth 3201
                                    ]
3202
                                ],
2369 nelberth 3203
                            ]
2370 nelberth 3204
                        ],
1914 nelberth 3205
                        ]
2246 nelberth 3206
                    ]
2238 nelberth 3207
 
1333 efrain 3208
                ]
3209
            ],
3210
 
3211
            'development-and-training' => [
3212
                'type' => Literal::class,
3213
                'options' => [
3214
                    'route' => '/development-and-training',
3215
                    'defaults' => [
3216
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3217
                        'action' => 'index'
3218
                    ]
3219
                ],
3220
                'may_terminate' => true,
3221
                'child_routes' => [
3222
                ]
3223
            ],
1477 efrain 3224
 
1333 efrain 3225
 
1477 efrain 3226
            'recruitment-and-selection' => [
1333 efrain 3227
                'type' => Literal::class,
3228
                'options' => [
1477 efrain 3229
                    'route' => '/recruitment-and-selection',
1333 efrain 3230
                    'defaults' => [
1477 efrain 3231
                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionController',
1333 efrain 3232
                        'action' => 'index'
3233
                    ]
3234
                ],
3235
                'may_terminate' => true,
3236
                'child_routes' => [
1477 efrain 3237
                    'vacancies' => [
1345 eleazar 3238
                        'type' => Literal::class,
3239
                        'options' => [
1477 efrain 3240
                            'route' => '/vacancies',
1345 eleazar 3241
                            'defaults' => [
1385 eleazar 3242
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3243
                                'action' => 'index'
3244
                            ]
3245
                        ],
3246
                        'may_terminate' => true,
3247
                        'child_routes' => [
3248
                            'add' => [
3249
                                'type' => Literal::class,
3250
                                'options' => [
3251
                                    'route' => '/add',
3252
                                    'defaults' => [
1385 eleazar 3253
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3254
                                        'action' => 'add'
3255
                                    ]
3256
                                ]
3257
                            ],
3258
                            'edit' => [
3259
                                'type' => Segment::class,
3260
                                'options' => [
3261
                                    'route' => '/edit/:id',
3262
                                    'constraints' => [
3263
                                        'id' => '[A-Za-z0-9\-]+\=*'
3264
                                    ],
3265
                                    'defaults' => [
1385 eleazar 3266
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3267
                                        'action' => 'edit'
3268
                                    ]
3269
                                ]
3270
                            ],
3271
                            'delete' => [
3272
                                'type' => Segment::class,
3273
                                'options' => [
3274
                                    'route' => '/delete/:id',
3275
                                    'constraints' => [
3276
                                        'id' => '[A-Za-z0-9\-]+\=*'
3277
                                    ],
3278
                                    'defaults' => [
1385 eleazar 3279
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3280
                                        'action' => 'delete'
3281
                                    ]
3282
                                ]
3283
                            ]
3284
                        ]
3285
                    ],
1459 eleazar 3286
                    'candidates' => [
3287
                        'type' => Segment::class,
3288
                        'options' => [
1501 eleazar 3289
                            'route' => '/candidates[/:vacancy_uuid]',
1459 eleazar 3290
                            'constraints' => [
1508 eleazar 3291
                                'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
1459 eleazar 3292
                            ],
3293
                            'defaults' => [
3294
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
1502 eleazar 3295
                                'action' => 'index',
1503 eleazar 3296
                                'vacancy_uuid' => '',
1459 eleazar 3297
                            ]
3298
                        ],
3299
                        'may_terminate' => true,
3300
                        'child_routes' => [
3301
                            'add' => [
3302
                                'type' => Literal::class,
3303
                                'options' => [
1506 eleazar 3304
                                    'route' => '/add',
1459 eleazar 3305
                                    'defaults' => [
3306
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3307
                                        'action' => 'add'
3308
                                    ]
3309
                                ]
3310
                            ],
3311
                            'edit' => [
3312
                                'type' => Segment::class,
3313
                                'options' => [
3314
                                    'route' => '/edit/:id',
3315
                                    'constraints' => [
3316
                                        'id' => '[A-Za-z0-9\-]+\=*'
3317
                                    ],
3318
                                    'defaults' => [
3319
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3320
                                        'action' => 'edit'
3321
                                    ]
3322
                                ]
3323
                            ],
3324
                            'delete' => [
3325
                                'type' => Segment::class,
3326
                                'options' => [
3327
                                    'route' => '/delete/:id',
3328
                                    'constraints' => [
3329
                                        'id' => '[A-Za-z0-9\-]+\=*'
3330
                                    ],
3331
                                    'defaults' => [
3332
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3333
                                        'action' => 'delete'
3334
                                    ]
3335
                                ]
1630 eleazar 3336
                            ],
3337
                            'email' => [
3338
                                'type' => Literal::class,
3339
                                'options' => [
3340
                                    'route' => '/email',
3341
                                    'defaults' => [
3342
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3343
                                        'action' => 'email'
3344
                                    ]
3345
                                ]
3346
                            ],
1459 eleazar 3347
                        ]
3348
                    ],
1635 eleazar 3349
                    'user-by-email' => [
3350
                        'type' => Literal::class,
3351
                        'options' => [
3352
                            'route' => '/user-by-email',
3353
                            'defaults' => [
3354
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3355
                                'action' => 'email'
3356
                            ]
3357
                        ]
1709 eleazar 3358
                    ],
3359
                    'interview' => [
3360
                        'type' => Segment::class,
3361
                        'options' => [
3362
                            'route' => '/interview',
3363
                            'defaults' => [
3364
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewController',
3365
                                'action' => 'index',
3366
                            ],
3367
                        ],
3368
                        'may_terminate' => true,
3369
                        'child_routes' => [
3370
                            'form' => [
4351 eleazar 3371
                                'type' => Segment::class,
1709 eleazar 3372
                                'options' => [
4349 eleazar 3373
                                    'route' => '/form[/:vacancy_uuid]',
3374
                                    'constraints' => [
3375
                                        'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
3376
                                    ],
1709 eleazar 3377
                                    'defaults' => [
1711 eleazar 3378
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
2029 eleazar 3379
                                        'action' => 'index',
4352 eleazar 3380
                                        'vacancy_uuid' => '',
1709 eleazar 3381
                                    ],
3382
                                ],
3383
                                'may_terminate' => true,
3384
                                'child_routes' => [
3385
                                    'add' => [
2059 eleazar 3386
                                        'type' => Segment::class,
1709 eleazar 3387
                                        'options' => [
3563 eleazar 3388
                                            'route' => '/add',
1709 eleazar 3389
                                            'defaults' => [
1899 eleazar 3390
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3391
                                                'action' => 'add'
3392
                                            ],
3393
                                        ],
3394
                                    ],
3395
                                    'edit' => [
2775 eleazar 3396
                                        'type' => Segment::class,
1709 eleazar 3397
                                        'options' => [
2764 eleazar 3398
                                            'route' => '/edit/:interview_uuid',
2765 eleazar 3399
                                            'constraints' => [
3400
                                                'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3401
                                            ],
1709 eleazar 3402
                                            'defaults' => [
1944 eleazar 3403
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3404
                                                'action' => 'edit'
3405
                                            ],
3406
                                        ],
3407
                                    ],
3408
                                    'delete' => [
2775 eleazar 3409
                                        'type' => Segment::class,
1709 eleazar 3410
                                        'options' => [
2764 eleazar 3411
                                            'route' => '/delete/:interview_uuid',
2765 eleazar 3412
                                            'constraints' => [
3413
                                                'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3414
                                            ],
1709 eleazar 3415
                                            'defaults' => [
2766 eleazar 3416
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3417
                                                'action' => 'delete'
3418
                                            ],
3419
                                        ],
3420
                                    ],
3421
                                ],
3422
                            ],
3423
                            'report' =>[
3424
                                'type' => Segment::class,
3425
                                'options' => [
2864 eleazar 3426
                                    'route' => '/report/:interview_uuid',
3427
                                    'constraints' => [
3428
                                        'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3429
                                    ],
1709 eleazar 3430
                                    'defaults' => [
2864 eleazar 3431
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
3432
                                        'action' => 'report',
1709 eleazar 3433
                                    ],
3434
                                ],
3435
                            ],
3571 eleazar 3436
                            'vacancy' =>[
3437
                                'type' => Segment::class,
3438
                                'options' => [
3439
                                    'route' => '/vacancy/:vacancy_uuid',
3440
                                    'constraints' => [
3441
                                        'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
3442
                                    ],
3443
                                    'defaults' => [
3444
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
3445
                                        'action' => 'vacancy',
3446
                                    ],
3447
                                ],
3448
                            ],
4367 eleazar 3449
                            'type' =>[
4365 eleazar 3450
                                'type' => Segment::class,
3451
                                'options' => [
4367 eleazar 3452
                                    'route' => '/type/:candidate_uuid',
4365 eleazar 3453
                                    'constraints' => [
3454
                                        'candidate_uuid' => '[A-Za-z0-9\-]+\=*'
3455
                                    ],
3456
                                    'defaults' => [
3457
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
4367 eleazar 3458
                                        'action' => 'type',
4365 eleazar 3459
                                    ],
3460
                                ],
3461
                            ],
1709 eleazar 3462
                        ],
3463
                    ],
1459 eleazar 3464
                ],
1333 efrain 3465
            ],
3466
 
3467
            'induction' => [
3468
                'type' => Literal::class,
3469
                'options' => [
3470
                    'route' => '/induction',
3471
                    'defaults' => [
3472
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3473
                        'action' => 'index'
3474
                    ]
3475
                ],
3476
                'may_terminate' => true,
3477
                'child_routes' => [
3478
                ]
3479
            ],
3480
 
3481
            'organizational-climate' => [
3482
                'type' => Literal::class,
3483
                'options' => [
3484
                    'route' => '/organizational-climate',
3485
                    'defaults' => [
7218 eleazar 3486
                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
1333 efrain 3487
                        'action' => 'index'
3488
                    ]
3489
                ],
3490
                'may_terminate' => true,
3491
                'child_routes' => [
7218 eleazar 3492
                    'add' => [
3493
                        'type' => Segment::class,
3494
                        'options' => [
3495
                            'route' => '/add',
3496
                            'defaults' => [
7295 eleazar 3497
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3498
                                'action' => 'add'
3499
                            ],
3500
                        ],
3501
                    ],
3502
                    'edit' => [
3503
                        'type' => Segment::class,
3504
                        'options' => [
3505
                            'route' => '/edit/:id',
3506
                            'defaults' => [
7295 eleazar 3507
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3508
                                'action' => 'edit'
3509
                            ],
3510
                        ],
3511
                    ],
3512
                    'delete' => [
3513
                        'type' => Segment::class,
3514
                        'options' => [
3515
                            'route' => '/delete/:id',
3516
                            'defaults' => [
7295 eleazar 3517
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3518
                                'action' => 'delete'
3519
                            ],
3520
                        ],
3521
                    ],
3522
                    'segment' => [
3523
                        'type' => Segment::class,
3524
                        'options' => [
3525
                            'route' => '/segment/:id',
8536 efrain 3526
                            'constraints' => [
3527
                                'id' => '[A-Za-z0-9\-]+\=*'
3528
                            ],
7218 eleazar 3529
                            'defaults' => [
7295 eleazar 3530
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3531
                                'action' => 'segment'
3532
                            ],
3533
                        ],
3534
                    ],
3535
                    'form' => [
3536
                        'type' => Segment::class,
3537
                        'options' => [
3538
                            'route' => '/form',
3539
                            'defaults' => [
7295 eleazar 3540
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3541
                                'action' => 'index',
3542
                            ],
3543
                        ],
3544
                        'may_terminate' => true,
3545
                        'child_routes' => [
3546
                            'add' => [
3547
                                'type' => Segment::class,
3548
                                'options' => [
3549
                                    'route' => '/add',
3550
                                    'defaults' => [
7295 eleazar 3551
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3552
                                        'action' => 'add'
3553
                                    ],
3554
                                ],
3555
                            ],
3556
                            'edit' => [
3557
                                'type' => Segment::class,
3558
                                'options' => [
3559
                                    'route' => '/edit/:id',
3560
                                    'constraints' => [
3561
                                        'id' => '[A-Za-z0-9\-]+\=*'
3562
                                    ],
3563
                                    'defaults' => [
7295 eleazar 3564
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3565
                                        'action' => 'edit'
3566
                                    ]
3567
                                ]
3568
                            ],
3569
                            'delete' => [
3570
                                'type' => Segment::class,
3571
                                'options' => [
3572
                                    'route' => '/delete/:id',
3573
                                    'constraints' => [
3574
                                        'id' => '[A-Za-z0-9\-]+\=*'
3575
                                    ],
3576
                                    'defaults' => [
7295 eleazar 3577
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3578
                                        'action' => 'delete'
3579
                                    ]
3580
                                ]
3581
                            ]
3582
                        ],
3583
                    ],
3584
                    'test' => [
3585
                        'type' => Segment::class,
3586
                        'options' => [
7307 eleazar 3587
                            'route' => '/test[/:organizationalClimate_id]',
7218 eleazar 3588
                            'constraints' => [
7307 eleazar 3589
                                'organizationalClimate_id' => '[A-Za-z0-9\-]+\=*'
7218 eleazar 3590
                            ],
3591
                            'defaults' => [
7295 eleazar 3592
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3593
                                'action' => 'index',
7307 eleazar 3594
                                'organizationalClimate_id' => '',
7218 eleazar 3595
                            ],
3596
                        ],
3597
                        'may_terminate' => true,
3598
                        'child_routes' => [
3599
                            'add' => [
3600
                                'type' => Segment::class,
3601
                                'options' => [
3602
                                    'route' => '/add',
3603
                                    'defaults' => [
7295 eleazar 3604
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3605
                                        'action' => 'add',
3606
                                    ],
3607
                                ],
3608
                            ],
3609
                            'report' => [
3610
                                'type' => Segment::class,
3611
                                'options' => [
3612
                                    'route' => '/report/:uuid',
3613
                                    'defaults' => [
7295 eleazar 3614
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3615
                                        'action' => 'report',
3616
                                    ],
3617
                                ],
3618
                            ],
3619
                            'delete' => [
3620
                                'type' => Segment::class,
3621
                                'options' => [
3622
                                    'route' => '/delete/:id',
3623
                                    'defaults' => [
7295 eleazar 3624
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3625
                                        'action' => 'delete'
3626
                                    ]
3627
                                ]
3628
                            ]
3629
                        ],
3630
                    ],
3631
                    'report' => [
3632
                        'type' => Segment::class,
3633
                        'options' => [
7447 eleazar 3634
                            'route' => '/report[/:organizationalClimate_id]',
7218 eleazar 3635
                            'constraints' => [
7447 eleazar 3636
                                'organizationalClimate_id' => '[A-Za-z0-9\-]+\=*'
7218 eleazar 3637
                            ],
3638
                            'defaults' => [
7295 eleazar 3639
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3640
                                'action' => 'index',
7447 eleazar 3641
                                'organizationalClimate_id' => '',
7218 eleazar 3642
                            ],
3643
                        ],
3644
                        'may_terminate' => true,
3645
                        'child_routes' => [
3646
                            'all' => [
3647
                                'type' => Segment::class,
3648
                                'options' => [
3649
                                    'route' => '/all',
3650
                                    'defaults' => [
7295 eleazar 3651
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3652
                                        'action' => 'all',
3653
                                    ]
3654
                                ]
3655
                            ],
3656
                            'overview' => [
3657
                                'type' => Segment::class,
3658
                                'options' => [
3659
                                    'route' => '/overview',
3660
                                    'defaults' => [
7295 eleazar 3661
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3662
                                        'action' => 'overview',
3663
                                    ]
3664
                                ]
3665
                            ],
3666
                            'csv' => [
3667
                                'type' => Segment::class,
3668
                                'options' => [
3669
                                    'route' => '/csv',
3670
                                    'defaults' => [
7295 eleazar 3671
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3672
                                        'action' => 'csv',
3673
                                    ]
3674
                                ]
3675
                            ],
3676
                        ],
3677
                    ],
3678
                ],
1333 efrain 3679
            ],
3680
 
3681
            'culture' => [
3682
                'type' => Literal::class,
3683
                'options' => [
3684
                    'route' => '/culture',
3685
                    'defaults' => [
3686
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3687
                        'action' => 'index'
3688
                    ]
3689
                ],
3690
                'may_terminate' => true,
3691
                'child_routes' => [
3692
                ]
3693
            ],
3694
 
3695
            'communication' => [
3696
                'type' => Literal::class,
3697
                'options' => [
3698
                    'route' => '/communication',
3699
                    'defaults' => [
3700
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3701
                        'action' => 'index'
3702
                    ]
3703
                ],
3704
                'may_terminate' => true,
3705
                'child_routes' => [
3706
                ]
3707
            ],
3708
 
3709
            'career-development' => [
3710
                'type' => Literal::class,
3711
                'options' => [
3712
                    'route' => '/career-development',
3713
                    'defaults' => [
3714
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3715
                        'action' => 'index'
3716
                    ]
3717
                ],
3718
                'may_terminate' => true,
3719
                'child_routes' => [
3720
                ]
3721
            ],
3722
 
4386 eleazar 3723
            'survey' => [
1333 efrain 3724
                'type' => Literal::class,
3725
                'options' => [
4397 eleazar 3726
                    'route' => '/survey',
1333 efrain 3727
                    'defaults' => [
4375 eleazar 3728
                        'controller' => '\LeadersLinked\Controller\SurveyController',
1333 efrain 3729
                        'action' => 'index'
3730
                    ]
3731
                ],
3732
                'may_terminate' => true,
3733
                'child_routes' => [
4579 eleazar 3734
                    'add' => [
3735
                        'type' => Segment::class,
3736
                        'options' => [
3737
                            'route' => '/add',
3738
                            'defaults' => [
3739
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3740
                                'action' => 'add'
3741
                            ],
3742
                        ],
3743
                    ],
3744
                    'edit' => [
3745
                        'type' => Segment::class,
3746
                        'options' => [
3747
                            'route' => '/edit/:id',
3748
                            'defaults' => [
3749
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3750
                                'action' => 'edit'
3751
                            ],
3752
                        ],
3753
                    ],
3754
                    'delete' => [
3755
                        'type' => Segment::class,
3756
                        'options' => [
3757
                            'route' => '/delete/:id',
3758
                            'defaults' => [
3759
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3760
                                'action' => 'delete'
3761
                            ],
3762
                        ],
3763
                    ],
3764
                    'segment' => [
3765
                        'type' => Segment::class,
3766
                        'options' => [
3767
                            'route' => '/segment/:id',
3768
                            'defaults' => [
3769
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3770
                                'action' => 'segment'
3771
                            ],
3772
                        ],
3773
                    ],
4374 eleazar 3774
                    'form' => [
3775
                        'type' => Segment::class,
3776
                        'options' => [
3777
                            'route' => '/form',
3778
                            'defaults' => [
4375 eleazar 3779
                                'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3780
                                'action' => 'index',
3781
                            ],
3782
                        ],
3783
                        'may_terminate' => true,
3784
                        'child_routes' => [
3785
                            'add' => [
3786
                                'type' => Segment::class,
3787
                                'options' => [
3788
                                    'route' => '/add',
3789
                                    'defaults' => [
4375 eleazar 3790
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3791
                                        'action' => 'add'
3792
                                    ],
3793
                                ],
3794
                            ],
3795
                            'edit' => [
3796
                                'type' => Segment::class,
3797
                                'options' => [
3798
                                    'route' => '/edit/:id',
3799
                                    'constraints' => [
3800
                                        'id' => '[A-Za-z0-9\-]+\=*'
3801
                                    ],
3802
                                    'defaults' => [
4375 eleazar 3803
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3804
                                        'action' => 'edit'
3805
                                    ]
3806
                                ]
3807
                            ],
3808
                            'delete' => [
3809
                                'type' => Segment::class,
3810
                                'options' => [
3811
                                    'route' => '/delete/:id',
3812
                                    'constraints' => [
3813
                                        'id' => '[A-Za-z0-9\-]+\=*'
3814
                                    ],
3815
                                    'defaults' => [
4375 eleazar 3816
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3817
                                        'action' => 'delete'
3818
                                    ]
3819
                                ]
3820
                            ]
3821
                        ],
3822
                    ],
5287 eleazar 3823
                    'test' => [
3824
                        'type' => Segment::class,
3825
                        'options' => [
5884 eleazar 3826
                            'route' => '/test[/:survey_id]',
3827
                            'constraints' => [
3828
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3829
                            ],
5287 eleazar 3830
                            'defaults' => [
3831
                                'controller' => '\LeadersLinked\Controller\SurveyTestController',
3832
                                'action' => 'index',
5884 eleazar 3833
                                'survey_id' => '',
5287 eleazar 3834
                            ],
3835
                        ],
3836
                        'may_terminate' => true,
3837
                        'child_routes' => [
3838
                            'add' => [
3839
                                'type' => Segment::class,
3840
                                'options' => [
6036 eleazar 3841
                                    'route' => '/add',
5287 eleazar 3842
                                    'defaults' => [
3843
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
5732 eleazar 3844
                                        'action' => 'add',
5287 eleazar 3845
                                    ],
3846
                                ],
3847
                            ],
6662 eleazar 3848
                            'report' => [
3849
                                'type' => Segment::class,
3850
                                'options' => [
6882 eleazar 3851
                                    'route' => '/report/:uuid',
6662 eleazar 3852
                                    'defaults' => [
3853
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
3854
                                        'action' => 'report',
3855
                                    ],
3856
                                ],
3857
                            ],
5287 eleazar 3858
                            'delete' => [
3859
                                'type' => Segment::class,
3860
                                'options' => [
6882 eleazar 3861
                                    'route' => '/delete/:id',
5287 eleazar 3862
                                    'defaults' => [
3863
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
3864
                                        'action' => 'delete'
3865
                                    ]
3866
                                ]
3867
                            ]
3868
                        ],
3869
                    ],
5823 eleazar 3870
                    'report' => [
3871
                        'type' => Segment::class,
3872
                        'options' => [
5911 eleazar 3873
                            'route' => '/report[/:survey_id]',
3874
                            'constraints' => [
3875
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3876
                            ],
5823 eleazar 3877
                            'defaults' => [
3878
                                'controller' => '\LeadersLinked\Controller\SurveyReportController',
3879
                                'action' => 'index',
5911 eleazar 3880
                                'survey_id' => '',
5823 eleazar 3881
                            ],
3882
                        ],
3883
                        'may_terminate' => true,
3884
                        'child_routes' => [
3885
                            'all' => [
3886
                                'type' => Segment::class,
3887
                                'options' => [
5868 eleazar 3888
                                    'route' => '/all',
5823 eleazar 3889
                                    'defaults' => [
3890
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
5868 eleazar 3891
                                        'action' => 'all',
5823 eleazar 3892
                                    ]
3893
                                ]
3894
                            ],
6496 eleazar 3895
                            'overview' => [
3896
                                'type' => Segment::class,
3897
                                'options' => [
3898
                                    'route' => '/overview',
3899
                                    'defaults' => [
3900
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
3901
                                        'action' => 'overview',
3902
                                    ]
3903
                                ]
3904
                            ],
7024 eleazar 3905
                            'csv' => [
3906
                                'type' => Segment::class,
3907
                                'options' => [
3908
                                    'route' => '/csv',
3909
                                    'defaults' => [
3910
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
3911
                                        'action' => 'csv',
3912
                                    ]
3913
                                ]
3914
                            ],
5823 eleazar 3915
                        ],
3916
                    ],
1333 efrain 3917
                ]
3918
            ],
3919
 
3920
            'building-my-future' => [
3921
                'type' => Literal::class,
3922
                'options' => [
3923
                    'route' => '/building-my-future',
3924
                    'defaults' => [
3925
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3926
                        'action' => 'index'
3927
                    ]
3928
                ],
3929
                'may_terminate' => true,
3930
                'child_routes' => [
3931
                ]
3932
            ],
3933
 
4588 nelberth 3934
            /* copy */
7184 nelberth 3935
 
7224 nelberth 3936
 
1333 efrain 3937
            'high-performance-teams' => [
3938
                'type' => Literal::class,
3939
                'options' => [
4591 nelberth 3940
                    'route' => '/high-performance-teams',
4588 nelberth 3941
                    'defaults' => [
4376 nelberth 3942
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsController',
1333 efrain 3943
                        'action' => 'index'
3944
                    ]
3945
                ],
3946
                'may_terminate' => true,
3947
                'child_routes' => [
7240 nelberth 3948
                    'groups' => [
4388 nelberth 3949
                        'type' => Literal::class,
3950
                        'options' => [
7224 nelberth 3951
                            'route' => '/groups',
4388 nelberth 3952
                            'defaults' => [
7224 nelberth 3953
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4388 nelberth 3954
                                'action' => 'index'
3955
                            ]
4411 nelberth 3956
                        ],'may_terminate' => true,
3957
                        'child_routes' => [
3958
 
3959
                            'add' => [
3960
                                'type' => Literal::class,
3961
                                'options' => [
3962
                                    'route' => '/add',
3963
                                    'defaults' => [
7224 nelberth 3964
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 3965
                                        'action' => 'add'
3966
                                    ]
3967
                                ]
3968
                            ],
3969
                            'edit' => [
3970
                                'type' => Segment::class,
3971
                                'options' => [
7834 nelberth 3972
                                    'route' => '/edit/:group_uuid',
4411 nelberth 3973
                                    'constraints' => [
7834 nelberth 3974
                                        'group_uuid' => '[A-Za-z0-9\-]+\=*'
4411 nelberth 3975
                                    ],
3976
                                    'defaults' => [
7224 nelberth 3977
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 3978
                                        'action' => 'edit'
3979
                                    ]
3980
                                ]
3981
                            ],
3982
                            'delete' => [
3983
                                'type' => Segment::class,
3984
                                'options' => [
7834 nelberth 3985
                                    'route' => '/delete/:group_uuid',
4411 nelberth 3986
                                    'constraints' => [
7834 nelberth 3987
                                        'group_uuid' => '[A-Za-z0-9\-]+\=*'
4411 nelberth 3988
                                    ],
3989
                                    'defaults' => [
7224 nelberth 3990
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 3991
                                        'action' => 'delete'
3992
                                    ]
3993
                                ]
7261 nelberth 3994
                            ],'view' => [
4509 nelberth 3995
                                'type' => Segment::class,
3996
                                'options' => [
7834 nelberth 3997
                                    'route' => '/view/:group_uuid',
4509 nelberth 3998
                                    'constraints' => [
7834 nelberth 3999
                                        'group_uuid' => '[A-Za-z0-9\-]+\=*',
4509 nelberth 4000
                                    ],
4001
                                    'defaults' => [
7308 nelberth 4002
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController',
4571 nelberth 4003
                                        'action' => 'index'
4509 nelberth 4004
                                    ]
7483 nelberth 4005
                                ],
4006
                                    'may_terminate' => true,
4007
                                    'child_routes' => [
7811 nelberth 4008
                                        'members' => [
7823 nelberth 4009
                                            'type' => Literal::class,
7811 nelberth 4010
                                            'options' => [
4011
                                                'route' => '/members',
4012
                                                'defaults' => [
4013
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4014
                                                    'action' => 'index'
4015
                                                ]
8012 nelberth 4016
                                            ],'may_terminate' => true,
4017
                                            'child_routes' => [
4018
                                                'invite' => [
4019
                                                    'type' => Segment::class,
4020
                                                    'options' => [
4021
                                                        'route' => '/invite/:user_uuid',
8054 nelberth 4022
                                                        'constraints' => [
4023
                                                            'user_uuid' => '[A-Za-z0-9\-]+\=*'
4024
                                                        ],
8012 nelberth 4025
                                                        'defaults' => [
4026
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4027
                                                            'action' => 'invite'
4028
                                                        ]
4029
                                                    ]
4030
                                                ],
4031
                                                'edit' => [
4032
                                                    'type' => Segment::class,
4033
                                                    'options' => [
8054 nelberth 4034
                                                        'route' => '/edit/:user_uuid',
8012 nelberth 4035
                                                        'constraints' => [
8054 nelberth 4036
                                                            'user_uuid' => '[A-Za-z0-9\-]+\=*'
8012 nelberth 4037
                                                        ],
4038
                                                        'defaults' => [
4039
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4040
                                                            'action' => 'edit'
4041
                                                        ]
4042
                                                    ]
4043
                                                ],
8054 nelberth 4044
                                                'delete' => [
8012 nelberth 4045
                                                    'type' => Segment::class,
4046
                                                    'options' => [
8054 nelberth 4047
                                                        'route' => '/delete[/:user_uuid]',
8012 nelberth 4048
                                                        'constraints' => [
8054 nelberth 4049
                                                            'user_uuid' => '[A-Za-z0-9\-]+\=*'
8012 nelberth 4050
                                                        ],
4051
                                                        'defaults' => [
4052
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
8054 nelberth 4053
                                                            'action' => 'delete'
8012 nelberth 4054
                                                        ]
4055
                                                    ]
4056
                                                ],
4057
                                            ]
7811 nelberth 4058
                                        ],
7483 nelberth 4059
                                        'topic' => [
4060
                                            'type' => Literal::class,
4061
                                            'options' => [
4062
                                                'route' => '/topic',
4063
                                                'defaults' => [
7491 nelberth 4064
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4065
                                                    'action' => 'index'
4066
                                                ]
4067
                                            ],'may_terminate' => true,
4068
                                            'child_routes' => [
4069
                                                'add' => [
4070
                                                    'type' => Literal::class,
4071
                                                    'options' => [
4072
                                                        'route' => '/add',
4073
                                                        'defaults' => [
7506 nelberth 4074
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4075
                                                            'action' => 'add'
4076
                                                        ]
4077
                                                    ]
4078
                                                ],
4079
                                                'edit' => [
4080
                                                    'type' => Segment::class,
4081
                                                    'options' => [
7834 nelberth 4082
                                                        'route' => '/edit/:topic_uuid',
7483 nelberth 4083
                                                        'constraints' => [
7834 nelberth 4084
                                                            'topic_uuid' => '[A-Za-z0-9\-]+\=*'
7483 nelberth 4085
                                                        ],
4086
                                                        'defaults' => [
7491 nelberth 4087
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4088
                                                            'action' => 'edit'
4089
                                                        ]
4090
                                                    ]
4091
                                                ],
7636 nelberth 4092
                                                'view' => [
7629 nelberth 4093
                                                    'type' => Segment::class,
4094
                                                    'options' => [
7834 nelberth 4095
                                                        'route' => '/view[/:topic_uuid]',
7629 nelberth 4096
                                                        'constraints' => [
7834 nelberth 4097
                                                            'topic_uuid' => '[A-Za-z0-9\-]+\=*'
7629 nelberth 4098
                                                        ],
4099
                                                        'defaults' => [
7635 nelberth 4100
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController',
7629 nelberth 4101
                                                            'action' => 'index'
4102
                                                        ]
4103
                                                    ]
4104
                                                ],
7483 nelberth 4105
                                                'delete' => [
4106
                                                    'type' => Segment::class,
4107
                                                    'options' => [
7834 nelberth 4108
                                                        'route' => '/delete/:topic_uuid',
7483 nelberth 4109
                                                        'constraints' => [
7834 nelberth 4110
                                                            'topic_uuid' => '[A-Za-z0-9\-]+\=*'
7483 nelberth 4111
                                                        ],
4112
                                                        'defaults' => [
7491 nelberth 4113
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4114
                                                            'action' => 'delete'
4115
                                                        ]
4116
                                                    ]
4117
                                                ]
4118
                                            ],
4119
                                        ],
4120
 
4121
                                    ],
4122
 
4411 nelberth 4123
                            ],
4124
                        ]
4388 nelberth 4125
                    ],
1333 efrain 4126
                ]
4127
            ],
7224 nelberth 4128
 
4588 nelberth 4129
 
1333 efrain 4130
            'my-trainer' => [
4131
                'type' => Literal::class,
4132
                'options' => [
4133
                    'route' => '/my-trainer',
4134
                    'defaults' => [
4135
                        'controller' => '\LeadersLinked\Controller\UnknownController',
4136
                        'action' => 'index'
4137
                    ]
4138
                ],
4139
                'may_terminate' => true,
4140
                'child_routes' => [
8462 eleazar 4141
                    'category' => [
4142
                        'type' => Literal::class,
4143
                        'options' => [
4144
                            'route' => '/category',
4145
                            'defaults' => [
8529 eleazar 4146
                                'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 4147
                                'action' => 'index'
4148
                            ]
4149
                        ],
4150
                        'may_terminate' => true,
4151
                        'child_routes' => [
4152
                            'add' => [
4153
                                'type' => Literal::class,
4154
                                'options' => [
4155
                                    'route' => '/add',
4156
                                    'defaults' => [
8529 eleazar 4157
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 4158
                                        'action' => 'add'
4159
                                    ]
4160
                                ]
4161
                            ],
4162
                            'edit' => [
4163
                                'type' => Segment::class,
4164
                                'options' => [
4165
                                    'route' => '/edit/:id',
4166
                                    'constraints' => [
4167
                                        'id' => '[A-Za-z0-9\-]+\=*'
4168
                                    ],
4169
                                    'defaults' => [
8529 eleazar 4170
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 4171
                                        'action' => 'edit'
4172
                                    ]
4173
                                ]
4174
                            ],
4175
                            'delete' => [
4176
                                'type' => Segment::class,
4177
                                'options' => [
4178
                                    'route' => '/delete/:id',
4179
                                    'constraints' => [
4180
                                        'id' => '[A-Za-z0-9\-]+\=*'
4181
                                    ],
4182
                                    'defaults' => [
8529 eleazar 4183
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 4184
                                        'action' => 'delete'
4185
                                    ]
4186
                                ]
4187
                            ]
4188
                        ]
4189
                    ],
4190
                    'question' => [
4191
                        'type' => Literal::class,
4192
                        'options' => [
4193
                            'route' => '/question',
4194
                            'defaults' => [
4195
                                'controller' => '\LeadersLinked\Controller\UnknownController',
4196
                                'action' => 'index'
4197
                            ]
4198
                        ],
4199
                        'may_terminate' => true,
4200
                        'child_routes' => [
4201
                            'add' => [
4202
                                'type' => Literal::class,
4203
                                'options' => [
4204
                                    'route' => '/add',
4205
                                    'defaults' => [
4206
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4207
                                        'action' => 'add'
4208
                                    ]
4209
                                ]
4210
                            ],
4211
                            'edit' => [
4212
                                'type' => Segment::class,
4213
                                'options' => [
4214
                                    'route' => '/edit/:id',
4215
                                    'constraints' => [
4216
                                        'id' => '[A-Za-z0-9\-]+\=*'
4217
                                    ],
4218
                                    'defaults' => [
4219
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4220
                                        'action' => 'edit'
4221
                                    ]
4222
                                ]
4223
                            ],
4224
                            'delete' => [
4225
                                'type' => Segment::class,
4226
                                'options' => [
4227
                                    'route' => '/delete/:id',
4228
                                    'constraints' => [
4229
                                        'id' => '[A-Za-z0-9\-]+\=*'
4230
                                    ],
4231
                                    'defaults' => [
4232
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4233
                                        'action' => 'delete'
4234
                                    ]
4235
                                ]
4236
                            ]
4237
                        ]
4238
                    ],
4239
                    'answer' => [
4240
                        'type' => Literal::class,
4241
                        'options' => [
4242
                            'route' => '/answer',
4243
                            'defaults' => [
4244
                                'controller' => '\LeadersLinked\Controller\UnknownController',
4245
                                'action' => 'index'
4246
                            ]
4247
                        ],
4248
                        'may_terminate' => true,
4249
                        'child_routes' => [
4250
                            'add' => [
4251
                                'type' => Literal::class,
4252
                                'options' => [
4253
                                    'route' => '/add',
4254
                                    'defaults' => [
4255
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4256
                                        'action' => 'add'
4257
                                    ]
4258
                                ]
4259
                            ],
4260
                            'edit' => [
4261
                                'type' => Segment::class,
4262
                                'options' => [
4263
                                    'route' => '/edit/:id',
4264
                                    'constraints' => [
4265
                                        'id' => '[A-Za-z0-9\-]+\=*'
4266
                                    ],
4267
                                    'defaults' => [
4268
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4269
                                        'action' => 'edit'
4270
                                    ]
4271
                                ]
4272
                            ],
4273
                            'delete' => [
4274
                                'type' => Segment::class,
4275
                                'options' => [
4276
                                    'route' => '/delete/:id',
4277
                                    'constraints' => [
4278
                                        'id' => '[A-Za-z0-9\-]+\=*'
4279
                                    ],
4280
                                    'defaults' => [
4281
                                        'controller' => '\LeadersLinked\Controller\UnknownController',
4282
                                        'action' => 'delete'
4283
                                    ]
4284
                                ]
4285
                            ]
4286
                        ]
4287
                    ],
1333 efrain 4288
                ]
4289
            ],
4290
 
1 www 4291
        ]
4292
    ],
4293
    'controllers' => [
4294
        'factories' => [
4295
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
4296
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
4297
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
4298
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
1469 eleazar 4299
            \LeadersLinked\Controller\RecruitmentSelectionController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionFactory::class,
1709 eleazar 4300
            \LeadersLinked\Controller\RecruitmentSelectionInterviewController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionInterviewFactory::class,
1712 eleazar 4301
            \LeadersLinked\Controller\RecruitmentSelectionInterviewFormController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionInterviewFormFactory::class,
1385 eleazar 4302
            \LeadersLinked\Controller\RecruitmentSelectionVacancyController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionVacancyFactory::class,
1459 eleazar 4303
            \LeadersLinked\Controller\RecruitmentSelectionCandidateController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionCandidateFactory::class,
1 www 4304
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
4305
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
4306
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
1115 geraldo 4307
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
1 www 4308
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
4309
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
4310
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
4311
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
4312
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
4313
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
4314
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
4315
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 4316
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 4317
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 4318
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 4319
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
4320
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
4321
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
4322
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
115 efrain 4323
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
4324
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
1089 geraldo 4325
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
247 geraldo 4326
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
4375 eleazar 4327
            \LeadersLinked\Controller\SurveyController::class => \LeadersLinked\Factory\Controller\SurveyControllerFactory::class,
4328
            \LeadersLinked\Controller\SurveyFormController::class => \LeadersLinked\Factory\Controller\SurveyFormControllerFactory::class,
5868 eleazar 4329
            \LeadersLinked\Controller\SurveyReportController::class => \LeadersLinked\Factory\Controller\SurveyReportControllerFactory::class,
5287 eleazar 4330
            \LeadersLinked\Controller\SurveyTestController::class => \LeadersLinked\Factory\Controller\SurveyTestControllerFactory::class,
7218 eleazar 4331
            \LeadersLinked\Controller\OrganizationalClimateController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateControllerFactory::class,
4332
            \LeadersLinked\Controller\OrganizationalClimateFormController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateFormControllerFactory::class,
4333
            \LeadersLinked\Controller\OrganizationalClimateReportController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateReportControllerFactory::class,
4334
            \LeadersLinked\Controller\OrganizationalClimateTestController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateTestControllerFactory::class,
987 geraldo 4335
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
1383 efrain 4336
            \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationEvaluationControllerFactory::class,
1 www 4337
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 4338
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
4339
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
4340
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
1 www 4341
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
4342
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
4343
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
4344
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
4345
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
4346
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
4347
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
4348
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
4349
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
4350
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
4351
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
4352
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
4353
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
4354
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
4355
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
2232 nelberth 4356
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsControllerFactory::class,
2228 nelberth 4357
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsObjectivesControllerFactory::class,
2327 nelberth 4358
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsGoalsControllerFactory::class,
2517 nelberth 4359
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsTaskControllerFactory::class,
4377 nelberth 4360
            \LeadersLinked\Controller\HighPerformanceTeamsController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsControllerFactory::class,
7224 nelberth 4361
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsControllerFactory::class,
7308 nelberth 4362
 
4363
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewControllerFactory::class,
7494 nelberth 4364
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewTopicControllerFactory::class,
7811 nelberth 4365
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsMembersControllerFactory::class,
1333 efrain 4366
 
4367
 
1666 nelberth 4368
 
1333 efrain 4369
            \LeadersLinked\Controller\UnknownController::class => \LeadersLinked\Factory\Controller\UnknownControllerFactory::class,
66 efrain 4370
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 4371
        ],
4372
        'aliases' => [
4373
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
4374
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
4375
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
4376
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
1343 eleazar 4377
            '\LeadersLinked\Controller\RecruitmentSelectionController' => \LeadersLinked\Controller\RecruitmentSelectionController::class,
1385 eleazar 4378
            '\LeadersLinked\Controller\RecruitmentSelectionVacancyController' => \LeadersLinked\Controller\RecruitmentSelectionVacancyController::class,
1459 eleazar 4379
            '\LeadersLinked\Controller\RecruitmentSelectionCandidateController' => \LeadersLinked\Controller\RecruitmentSelectionCandidateController::class,
1712 eleazar 4380
            '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController' => \LeadersLinked\Controller\RecruitmentSelectionInterviewFormController::class,
1 www 4381
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
4382
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
4383
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
4384
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
1102 geraldo 4385
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,
1 www 4386
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
4387
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
4388
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
1089 geraldo 4389
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 4390
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
4391
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
4392
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 4393
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 4394
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 4395
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 4396
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
4397
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
4398
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
4399
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
115 efrain 4400
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4401
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
4402
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
247 geraldo 4403
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
4375 eleazar 4404
            '\LeadersLinked\Controller\SurveyController' => \LeadersLinked\Controller\SurveyController::class,
4405
            '\LeadersLinked\Controller\SurveyFormController' => \LeadersLinked\Controller\SurveyFormController::class,
5868 eleazar 4406
            '\LeadersLinked\Controller\SurveyReportController' => \LeadersLinked\Controller\SurveyReportController::class,
5287 eleazar 4407
            '\LeadersLinked\Controller\SurveyTestController' => \LeadersLinked\Controller\SurveyTestController::class,
7218 eleazar 4408
            '\LeadersLinked\Controller\OrganizationalClimateController' => \LeadersLinked\Controller\OrganizationalClimateController::class,
4409
            '\LeadersLinked\Controller\OrganizationalClimateFormController' => \LeadersLinked\Controller\OrganizationalClimateFormController::class,
4410
            '\LeadersLinked\Controller\OrganizationalClimateReportController' => \LeadersLinked\Controller\OrganizationalClimateReportController::class,
4411
            '\LeadersLinked\Controller\OrganizationalClimateTestController' => \LeadersLinked\Controller\OrganizationalClimateTestController::class,
982 geraldo 4412
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
1383 efrain 4413
            '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController' => \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class,
1 www 4414
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 4415
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
4416
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
4417
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 4418
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
4419
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
4420
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
4421
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
4422
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
4423
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
4424
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
4425
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
4426
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
4427
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
4428
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
4429
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
4430
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
4431
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
4432
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
2232 nelberth 4433
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsController::class,
2228 nelberth 4434
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController::class,
2517 nelberth 4435
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController::class,
4377 nelberth 4436
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController::class,
4437
 
4438
            '\LeadersLinked\Controller\HighPerformanceTeamsController' => \LeadersLinked\Controller\HighPerformanceTeamsController::class,
7224 nelberth 4439
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsController::class,
7308 nelberth 4440
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController::class,
7494 nelberth 4441
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController::class,
7811 nelberth 4442
 
4443
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController::class,
66 efrain 4444
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1333 efrain 4445
            '\LeadersLinked\Controller\UnknownController' => \LeadersLinked\Controller\UnknownController::class,
1 www 4446
        ]
4447
    ],
4448
    'laminas-cli' => [
4449
        'commands' => [
1089 geraldo 4450
        ]
1 www 4451
    ],
4452
    'service_manager' => [
4453
        'abstract_factories' => [
4454
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
4455
        ],
4456
        'factories' => [
4457
            'RenderingStrategy' => function ($container) {
4458
                $translator = $container->get('MvcTranslator');
4459
                return new \LeadersLinked\View\RenderingStrategy($translator);
4460
            },
4461
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
4462
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
1089 geraldo 4463
        ],
4464
        'aliases' => [// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 4465
        ]
4466
    ],
4467
    'view_helpers' => [
4468
        'factories' => [
4469
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
4600 nelberth 4470
 
1 www 4471
        ],
4472
        'invokables' => [
4473
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
4474
        ],
4475
        'aliases' => [
4476
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
4600 nelberth 4477
 
1 www 4478
        ]
4479
    ],
4480
    'controller_plugins' => [
4481
        'invokables' => [],
4482
        'factories' => [
4483
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
4484
        ],
4485
        'aliases' => [
4486
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
4487
        ]
4488
    ],
4489
    'view_manager' => [
4490
        'display_not_found_reason' => true,
4491
        'display_exceptions' => true,
4492
        'doctype' => 'HTML5',
4493
        'not_found_template' => 'error/404',
4494
        'exception_template' => 'error/index',
4495
        'template_map' => [
4496
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
4497
            'error/404' => __DIR__ . '/../view/error/404.phtml',
4498
            'error/index' => __DIR__ . '/../view/error/index.phtml'
4499
        ],
4500
        'template_path_stack' => [
4501
            __DIR__ . '/../view'
4502
        ],
4503
        'strategies' => [
4504
            'ViewJsonStrategy',
4505
            'RenderingStrategy'
4506
        ]
4507
    ]
4508
];
4509