Proyectos de Subversion LeadersLinked - Backend

Rev

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