Proyectos de Subversion LeadersLinked - Backend

Rev

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

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