Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 67 | Rev 115 | 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
 
114 efrain 1915
 
1916
            /*** START SELF EVALUATION ***/
1917
 
1918
            /*** START PUBLICATIONS ***/
1919
            'self-evaluation' => [
1920
                'type' => Literal::class,
1921
                'options' => [
1922
                    'route' => '/self-evaluation',
1923
                    'defaults' => [
1924
                        'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationController',
1925
                        'action' => 'index'
1926
                    ]
1927
                ],
1928
                'may_terminate' => true,
1929
                'child_routes' => [
1930
 
1931
                    'forms' => [
1932
                        'type' => Literal::class,
1933
                        'options' => [
1934
                            'route' => '/forms',
1935
                            'defaults' => [
1936
                                'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationFormController',
1937
                                'action' => 'index'
1938
                            ]
1939
                        ],
1940
                        'may_terminate' => true,
1941
                        'child_routes' => [
1942
                            'add' => [
1943
                                'type' => Literal::class,
1944
                                'options' => [
1945
                                    'route' => '/add',
1946
                                    'defaults' => [
1947
                                        'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationFormController',
1948
                                        'action' => 'add'
1949
                                    ]
1950
                                ]
1951
                            ],
1952
                            'edit' => [
1953
                                'type' => Segment::class,
1954
                                'options' => [
1955
                                    'route' => '/edit/:id',
1956
                                    'constraints' => [
1957
                                        'id' => '[A-Za-z0-9\-]+\=*'
1958
                                    ],
1959
                                    'defaults' => [
1960
                                        'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationFormController',
1961
                                        'action' => 'edit'
1962
                                    ]
1963
                                ]
1964
                            ],
1965
                            'delete' => [
1966
                                'type' => Segment::class,
1967
                                'options' => [
1968
                                    'route' => '/delete/:id',
1969
                                    'constraints' => [
1970
                                        'id' => '[A-Za-z0-9\-]+\=*'
1971
                                    ],
1972
                                    'defaults' => [
1973
                                        'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationFormController',
1974
                                        'action' => 'delete'
1975
                                    ]
1976
                                ]
1977
                            ]
1978
                        ]
1979
                    ],
1980
 
1981
                    'reviews' => [
1982
                        'type' => Literal::class,
1983
                        'options' => [
1984
                            'route' => '/reviews',
1985
                            'defaults' => [
1986
                                'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationReviewController',
1987
                                'action' => 'index'
1988
                            ]
1989
                        ],
1990
                        'may_terminate' => true,
1991
                        'child_routes' => [
1992
                            'edit' => [
1993
                                'type' => Segment::class,
1994
                                'options' => [
1995
                                    'route' => '/edit/:id',
1996
                                    'constraints' => [
1997
                                        'id' => '[A-Za-z0-9\-]+\=*'
1998
                                    ],
1999
                                    'defaults' => [
2000
                                        'controller' => '\LeadersLinked\Controller\CompanySelfEvaluationReviewController',
2001
                                        'action' => 'edit'
2002
                                    ]
2003
                                ]
2004
                            ],
2005
 
2006
                        ]
2007
                    ],
2008
 
2009
 
2010
 
2011
                ]
2012
            ],
2013
 
2014
            /*** END SELF EVALUATION ***/
2015
 
1 www 2016
            /*** START SETTINGS ***/
2017
            'settings' => [
2018
                'type' => Literal::class,
2019
                'options' => [
2020
                    'route' => '/settings',
2021
                    'defaults' => [
2022
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2023
                        'action' => 'index'
2024
                    ]
2025
                ],
2026
                'may_terminate' => true,
2027
                'child_routes' => [
2028
 
2029
                    'company-sizes' => [
2030
                        'type' => Literal::class,
2031
                        'options' => [
2032
                            'route' => '/company-sizes',
2033
                            'defaults' => [
2034
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2035
                                'action' => 'index'
2036
                            ]
2037
                        ],
2038
                        'may_terminate' => true,
2039
                        'child_routes' => [
2040
                            'add' => [
2041
                                'type' => Literal::class,
2042
                                'options' => [
2043
                                    'route' => '/add',
2044
                                    'defaults' => [
2045
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2046
                                        'action' => 'add'
2047
                                    ]
2048
                                ]
2049
                            ],
2050
                            'edit' => [
2051
                                'type' => Segment::class,
2052
                                'options' => [
2053
                                    'route' => '/edit/:id',
2054
                                    'constraints' => [
2055
                                        'id' => '[A-Za-z0-9\-]+\=*'
2056
                                    ],
2057
                                    'defaults' => [
2058
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2059
                                        'action' => 'edit'
2060
                                    ]
2061
                                ]
2062
                            ],
2063
                            'delete' => [
2064
                                'type' => Segment::class,
2065
                                'options' => [
2066
                                    'route' => '/delete/:id',
2067
                                    'constraints' => [
2068
                                        'id' => '[A-Za-z0-9\-]+\=*'
2069
                                    ],
2070
                                    'defaults' => [
2071
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2072
                                        'action' => 'delete'
2073
                                    ]
2074
                                ]
2075
                            ]
2076
                        ]
2077
                    ],
2078
 
2079
 
2080
                    'competency-types' => [
2081
                        'type' => Literal::class,
2082
                        'options' => [
2083
                            'route' => '/competency-types',
2084
                            'defaults' => [
2085
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2086
                                'action' => 'index'
2087
                            ]
2088
                        ],
2089
                        'may_terminate' => true,
2090
                        'child_routes' => [
2091
                            'add' => [
2092
                                'type' => Literal::class,
2093
                                'options' => [
2094
                                    'route' => '/add',
2095
                                    'defaults' => [
2096
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2097
                                        'action' => 'add'
2098
                                    ]
2099
                                ]
2100
                            ],
2101
                            'edit' => [
2102
                                'type' => Segment::class,
2103
                                'options' => [
2104
                                    'route' => '/edit/:id',
2105
                                    'constraints' => [
2106
                                        'id' => '[A-Za-z0-9\-]+\=*'
2107
                                    ],
2108
                                    'defaults' => [
2109
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2110
                                        'action' => 'edit'
2111
                                    ]
2112
                                ]
2113
                            ],
2114
                            'delete' => [
2115
                                'type' => Segment::class,
2116
                                'options' => [
2117
                                    'route' => '/delete/:id',
2118
                                    'constraints' => [
2119
                                        'id' => '[A-Za-z0-9\-]+\=*'
2120
                                    ],
2121
                                    'defaults' => [
2122
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2123
                                        'action' => 'delete'
2124
                                    ]
2125
                                ]
28 efrain 2126
                            ],
2127
                            'import' => [
2128
                                'type' => Literal::class,
2129
                                'options' => [
2130
                                    'route' => '/import',
2131
                                    'defaults' => [
2132
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2133
                                        'action' => 'import'
2134
                                    ]
2135
                                ]
2136
                            ],
2137
 
2138
 
2139
 
1 www 2140
                        ]
2141
                    ],
2142
 
2143
                    'competencies' => [
2144
                        'type' => Literal::class,
2145
                        'options' => [
2146
                            'route' => '/competencies',
2147
                            'defaults' => [
2148
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2149
                                'action' => 'index'
2150
                            ]
2151
                        ],
2152
                        'may_terminate' => true,
2153
                        'child_routes' => [
2154
                            'add' => [
2155
                                'type' => Literal::class,
2156
                                'options' => [
2157
                                    'route' => '/add',
2158
                                    'defaults' => [
2159
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2160
                                        'action' => 'add'
2161
                                    ]
2162
                                ]
2163
                            ],
2164
                            'edit' => [
2165
                                'type' => Segment::class,
2166
                                'options' => [
2167
                                    'route' => '/edit/:id',
2168
                                    'constraints' => [
2169
                                        'id' => '[A-Za-z0-9\-]+\=*'
2170
                                    ],
2171
                                    'defaults' => [
2172
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2173
                                        'action' => 'edit'
2174
                                    ]
2175
                                ]
2176
                            ],
2177
                            'delete' => [
2178
                                'type' => Segment::class,
2179
                                'options' => [
2180
                                    'route' => '/delete/:id',
2181
                                    'constraints' => [
2182
                                        'id' => '[A-Za-z0-9\-]+\=*'
2183
                                    ],
2184
                                    'defaults' => [
2185
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2186
                                        'action' => 'delete'
2187
                                    ]
2188
                                ]
28 efrain 2189
                            ],
2190
                            'import' => [
2191
                                'type' => Literal::class,
2192
                                'options' => [
2193
                                    'route' => '/import',
2194
                                    'defaults' => [
2195
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2196
                                        'action' => 'import'
2197
                                    ]
2198
                                ]
2199
                            ],
1 www 2200
                        ]
2201
                    ],
2202
 
2203
                    'degrees' => [
2204
                        'type' => Literal::class,
2205
                        'options' => [
2206
                            'route' => '/degrees',
2207
                            'defaults' => [
2208
                                'controller' => '\LeadersLinked\Controller\DegreeController',
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\DegreeController',
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\DegreeController',
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\DegreeController',
2246
                                        'action' => 'delete'
2247
                                    ]
2248
                                ]
2249
                            ]
2250
                        ]
2251
                    ],
2252
 
2253
                    'group-types' => [
2254
                        'type' => Literal::class,
2255
                        'options' => [
2256
                            'route' => '/competency-types',
2257
                            'defaults' => [
2258
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2259
                                'action' => 'index'
2260
                            ]
2261
                        ],
2262
                        'may_terminate' => true,
2263
                        'child_routes' => [
2264
                            'add' => [
2265
                                'type' => Literal::class,
2266
                                'options' => [
2267
                                    'route' => '/add',
2268
                                    'defaults' => [
2269
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2270
                                        'action' => 'add'
2271
                                    ]
2272
                                ]
2273
                            ],
2274
                            'edit' => [
2275
                                'type' => Segment::class,
2276
                                'options' => [
2277
                                    'route' => '/edit/:id',
2278
                                    'constraints' => [
2279
                                        'id' => '[A-Za-z0-9\-]+\=*'
2280
                                    ],
2281
                                    'defaults' => [
2282
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2283
                                        'action' => 'edit'
2284
                                    ]
2285
                                ]
2286
                            ],
2287
                            'delete' => [
2288
                                'type' => Segment::class,
2289
                                'options' => [
2290
                                    'route' => '/delete/:id',
2291
                                    'constraints' => [
2292
                                        'id' => '[A-Za-z0-9\-]+\=*'
2293
                                    ],
2294
                                    'defaults' => [
2295
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2296
                                        'action' => 'delete'
2297
                                    ]
2298
                                ]
2299
                            ]
2300
                        ]
2301
                    ],
2302
 
2303
 
2304
                    'industries' => [
2305
                        'type' => Literal::class,
2306
                        'options' => [
2307
                            'route' => '/industries',
2308
                            'defaults' => [
2309
                                'controller' => '\LeadersLinked\Controller\IndustryController',
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\IndustryController',
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\IndustryController',
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\IndustryController',
2347
                                        'action' => 'delete'
2348
                                    ]
2349
                                ]
2350
                            ]
2351
                        ]
2352
                    ],
2353
 
2354
 
2355
                    'group-types' => [
2356
                        'type' => Literal::class,
2357
                        'options' => [
2358
                            'route' => '/group-types',
2359
                            'defaults' => [
2360
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2361
                                'action' => 'index'
2362
                            ]
2363
                        ],
2364
                        'may_terminate' => true,
2365
                        'child_routes' => [
2366
                            'add' => [
2367
                                'type' => Literal::class,
2368
                                'options' => [
2369
                                    'route' => '/add',
2370
                                    'defaults' => [
2371
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2372
                                        'action' => 'add'
2373
                                    ]
2374
                                ]
2375
                            ],
2376
                            'edit' => [
2377
                                'type' => Segment::class,
2378
                                'options' => [
2379
                                    'route' => '/edit/:id',
2380
                                    'constraints' => [
2381
                                        'id' => '[A-Za-z0-9\-]+\=*'
2382
                                    ],
2383
                                    'defaults' => [
2384
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2385
                                        'action' => 'edit'
2386
                                    ]
2387
                                ]
2388
                            ],
2389
                            'delete' => [
2390
                                'type' => Segment::class,
2391
                                'options' => [
2392
                                    'route' => '/delete/:id',
2393
                                    'constraints' => [
2394
                                        'id' => '[A-Za-z0-9\-]+\=*'
2395
                                    ],
2396
                                    'defaults' => [
2397
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2398
                                        'action' => 'delete'
2399
                                    ]
2400
                                ]
2401
                            ]
2402
                        ]
2403
                    ],
2404
 
2405
                    'job-categories' => [
2406
                        'type' => Literal::class,
2407
                        'options' => [
2408
                            'route' => '/job-categories',
2409
                            'defaults' => [
2410
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2411
                                'action' => 'index'
2412
                            ]
2413
                        ],
2414
                        'may_terminate' => true,
2415
                        'child_routes' => [
2416
                            'add' => [
2417
                                'type' => Literal::class,
2418
                                'options' => [
2419
                                    'route' => '/add',
2420
                                    'defaults' => [
2421
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2422
                                        'action' => 'add'
2423
                                    ]
2424
                                ]
2425
                            ],
2426
                            'edit' => [
2427
                                'type' => Segment::class,
2428
                                'options' => [
2429
                                    'route' => '/edit/:id',
2430
                                    'constraints' => [
2431
                                        'id' => '[A-Za-z0-9\-]+\=*'
2432
                                    ],
2433
                                    'defaults' => [
2434
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2435
                                        'action' => 'edit'
2436
                                    ]
2437
                                ]
2438
                            ],
2439
                            'delete' => [
2440
                                'type' => Segment::class,
2441
                                'options' => [
2442
                                    'route' => '/delete/:id',
2443
                                    'constraints' => [
2444
                                        'id' => '[A-Za-z0-9\-]+\=*'
2445
                                    ],
2446
                                    'defaults' => [
2447
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2448
                                        'action' => 'delete'
2449
                                    ]
2450
                                ]
2451
                            ]
2452
                        ]
2453
                    ],
2454
 
28 efrain 2455
                    'jobs-description' => [
2456
                        'type' => Literal::class,
2457
                        'options' => [
2458
                            'route' => '/jobs-description',
2459
                            'defaults' => [
2460
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2461
                                'action' => 'index'
2462
                            ]
2463
                        ],
2464
                        'may_terminate' => true,
2465
                        'child_routes' => [
2466
                            'add' => [
2467
                                'type' => Literal::class,
2468
                                'options' => [
2469
                                    'route' => '/add',
2470
                                    'defaults' => [
2471
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2472
                                        'action' => 'add'
2473
                                    ]
2474
                                ]
2475
                            ],
2476
                            'edit' => [
2477
                                'type' => Segment::class,
2478
                                'options' => [
2479
                                    'route' => '/edit/:id',
2480
                                    'constraints' => [
2481
                                        'id' => '[A-Za-z0-9\-]+\=*'
2482
                                    ],
2483
                                    'defaults' => [
2484
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2485
                                        'action' => 'edit'
2486
                                    ]
2487
                                ]
2488
                            ],
2489
                            'delete' => [
2490
                                'type' => Segment::class,
2491
                                'options' => [
2492
                                    'route' => '/delete/:id',
2493
                                    'constraints' => [
2494
                                        'id' => '[A-Za-z0-9\-]+\=*'
2495
                                    ],
2496
                                    'defaults' => [
2497
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2498
                                        'action' => 'delete'
2499
                                    ]
2500
                                ]
2501
                            ]
2502
                        ]
2503
                    ],
1 www 2504
 
2505
 
2506
                    'email-templates' => [
2507
                        'type' => Literal::class,
2508
                        'options' => [
2509
                            'route' => '/email-templates',
2510
                            'defaults' => [
2511
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2512
                                'action' => 'index'
2513
                            ]
2514
                        ],
2515
                        'may_terminate' => true,
2516
                        'child_routes' => [
2517
                            'edit' => [
2518
                                'type' => Segment::class,
2519
                                'options' => [
2520
                                    'route' => '/edit/:id',
2521
                                    'constraints' => [
2522
                                        'id' => '[A-Za-z0-9\-]+\=*'
2523
                                    ],
2524
                                    'defaults' => [
2525
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2526
                                        'action' => 'edit'
2527
                                    ]
2528
                                ]
2529
                            ],
2530
                        ]
2531
                    ],
2532
 
67 efrain 2533
                    'positions' => [
2534
                        'type' => Literal::class,
2535
                        'options' => [
2536
                            'route' => '/positions',
2537
                            'defaults' => [
2538
                                'controller' => '\LeadersLinked\Controller\PositionController',
2539
                                'action' => 'index'
2540
                            ]
2541
                        ],
2542
                        'may_terminate' => true,
2543
                        'child_routes' => [
2544
                            'add' => [
2545
                                'type' => Literal::class,
2546
                                'options' => [
2547
                                    'route' => '/add',
2548
                                    'defaults' => [
2549
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2550
                                        'action' => 'add'
2551
                                    ]
2552
                                ]
2553
                            ],
2554
                            'edit' => [
2555
                                'type' => Segment::class,
2556
                                'options' => [
2557
                                    'route' => '/edit/:id',
2558
                                    'constraints' => [
2559
                                        'id' => '[A-Za-z0-9\-]+\=*'
2560
                                    ],
2561
                                    'defaults' => [
2562
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2563
                                        'action' => 'edit'
2564
                                    ]
2565
                                ]
2566
                            ],
2567
                            'delete' => [
2568
                                'type' => Segment::class,
2569
                                'options' => [
2570
                                    'route' => '/delete/:id',
2571
                                    'constraints' => [
2572
                                        'id' => '[A-Za-z0-9\-]+\=*'
2573
                                    ],
2574
                                    'defaults' => [
2575
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2576
                                        'action' => 'delete'
2577
                                    ]
2578
                                ]
2579
                            ],
2580
                        ]
2581
                    ],
2582
 
1 www 2583
                    'push-templates' => [
2584
                        'type' => Literal::class,
2585
                        'options' => [
2586
                            'route' => '/push-templates',
2587
                            'defaults' => [
2588
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2589
                                'action' => 'index'
2590
                            ]
2591
                        ],
2592
                        'may_terminate' => true,
2593
                        'child_routes' => [
2594
                            'edit' => [
2595
                                'type' => Segment::class,
2596
                                'options' => [
2597
                                    'route' => '/edit/:id',
2598
                                    'constraints' => [
2599
                                        'id' => '[A-Za-z0-9\-]+\=*'
2600
                                    ],
2601
                                    'defaults' => [
2602
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2603
                                        'action' => 'edit'
2604
                                    ]
2605
                                ]
2606
                            ],
2607
                        ]
2608
                    ],
2609
 
2610
                    'skills' => [
2611
                        'type' => Literal::class,
2612
                        'options' => [
2613
                            'route' => '/skills',
2614
                            'defaults' => [
2615
                                'controller' => '\LeadersLinked\Controller\SkillController',
2616
                                'action' => 'index'
2617
                            ]
2618
                        ],
2619
                        'may_terminate' => true,
2620
                        'child_routes' => [
2621
                            'add' => [
2622
                                'type' => Literal::class,
2623
                                'options' => [
2624
                                    'route' => '/add',
2625
                                    'defaults' => [
2626
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2627
                                        'action' => 'add'
2628
                                    ]
2629
                                ]
2630
                            ],
2631
                            'edit' => [
2632
                                'type' => Segment::class,
2633
                                'options' => [
2634
                                    'route' => '/edit/:id',
2635
                                    'constraints' => [
2636
                                        'id' => '[A-Za-z0-9\-]+\=*'
2637
                                    ],
2638
                                    'defaults' => [
2639
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2640
                                        'action' => 'edit'
2641
                                    ]
2642
                                ]
2643
                            ],
2644
                            'delete' => [
2645
                                'type' => Segment::class,
2646
                                'options' => [
2647
                                    'route' => '/delete/:id',
2648
                                    'constraints' => [
2649
                                        'id' => '[A-Za-z0-9\-]+\=*'
2650
                                    ],
2651
                                    'defaults' => [
2652
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2653
                                        'action' => 'delete'
2654
                                    ]
2655
                                ]
2656
                            ]
2657
                        ]
2658
                    ],
2659
 
2660
                ]
2661
            ],
2662
 
2663
 
2664
 
2665
 
2666
 
2667
            /*** FIN SETTINGS ***/
2668
 
2669
 
2670
 
2671
        ]
2672
    ],
2673
 
2674
    'controllers' => [
2675
        'factories' => [
2676
 
2677
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2678
 
2679
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2680
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
2681
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2682
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2683
 
2684
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2685
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
2686
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
2687
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
2688
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
2689
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
2690
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
2691
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
2692
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
2693
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 2694
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 2695
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 2696
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 2697
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
2698
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
2699
 
2700
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
2701
 
2702
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
2703
 
2704
 
114 efrain 2705
            \LeadersLinked\Controller\CompanySelfEvaluationController::class => \LeadersLinked\Factory\Controller\CompanySelfEvaluationControllerFactory::class,
2706
            \LeadersLinked\Controller\CompanySelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\CompanySelfEvaluationFormControllerFactory::class,
2707
            \LeadersLinked\Controller\CompanySelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\CompanySelfEvaluationReviewControllerFactory::class,
2708
 
1 www 2709
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 2710
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
2711
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
2712
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
2713
 
1 www 2714
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
2715
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
2716
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
2717
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
2718
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
2719
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
2720
 
2721
 
2722
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
2723
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
2724
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
2725
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
2726
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
2727
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
2728
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
2729
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
2730
 
2731
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
66 efrain 2732
 
2733
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 2734
 
2735
        ],
2736
 
2737
        'aliases' => [
2738
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
2739
 
2740
 
2741
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
2742
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
2743
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
2744
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2745
 
2746
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
2747
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
2748
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
2749
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
2750
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
2751
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
67 efrain 2752
 
2753
 
2754
           '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 2755
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
2756
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
2757
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 2758
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 2759
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 2760
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 2761
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
67 efrain 2762
 
1 www 2763
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
2764
 
2765
 
2766
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
2767
 
2768
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
2769
 
114 efrain 2770
 
2771
            '\LeadersLinked\Controller\CompanySelfEvaluationController' => \LeadersLinked\Controller\CompanySelfEvaluationController::class,
2772
            '\LeadersLinked\Controller\CompanySelfEvaluationFormController' => \LeadersLinked\Controller\CompanySelfEvaluationFormController::class,
2773
            '\LeadersLinked\Controller\CompanySelfEvaluationReviewController' => \LeadersLinked\Controller\CompanySelfEvaluationReviewController::class,
2774
 
1 www 2775
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 2776
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
2777
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
2778
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 2779
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
2780
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
2781
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
2782
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
2783
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
2784
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
2785
 
2786
 
2787
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
2788
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
2789
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
2790
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
2791
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
2792
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
2793
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
2794
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
2795
 
2796
 
2797
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
66 efrain 2798
 
2799
 
2800
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1 www 2801
 
2802
        ]
2803
    ],
2804
 
2805
    'laminas-cli' => [
2806
        'commands' => [
2807
 
2808
      ]
2809
    ],
2810
 
2811
    'service_manager' => [
2812
        'abstract_factories' => [
2813
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
2814
        ],
2815
        'factories' => [
2816
            'RenderingStrategy' => function ($container) {
2817
                $translator = $container->get('MvcTranslator');
2818
                return new \LeadersLinked\View\RenderingStrategy($translator);
2819
            },
2820
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
2821
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
2822
 
2823
         ],
2824
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
2825
        ]
2826
    ],
2827
    'view_helpers' => [
2828
        'factories' => [
2829
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
2830
        ],
2831
        'invokables' => [
2832
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
2833
        ],
2834
        'aliases' => [
2835
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
2836
        ]
2837
    ],
2838
    'controller_plugins' => [
2839
        'invokables' => [],
2840
        'factories' => [
2841
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
2842
        ],
2843
        'aliases' => [
2844
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
2845
        ]
2846
    ],
2847
    'view_manager' => [
2848
        'display_not_found_reason' => true,
2849
        'display_exceptions' => true,
2850
        'doctype' => 'HTML5',
2851
        'not_found_template' => 'error/404',
2852
        'exception_template' => 'error/index',
2853
        'template_map' => [
2854
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
2855
            'error/404' => __DIR__ . '/../view/error/404.phtml',
2856
            'error/index' => __DIR__ . '/../view/error/index.phtml'
2857
        ],
2858
        'template_path_stack' => [
2859
            __DIR__ . '/../view'
2860
        ],
2861
        'strategies' => [
2862
            'ViewJsonStrategy',
2863
            'RenderingStrategy'
2864
        ]
2865
    ]
2866
];
2867