Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 129 | Rev 187 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

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