Proyectos de Subversion LeadersLinked - Backend

Rev

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