Proyectos de Subversion LeadersLinked - Backend

Rev

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