Proyectos de Subversion LeadersLinked - Backend

Rev

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