Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 487 | Rev 768 | 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
                            ],
187 efrain 823
                            'comments-for-capsule' => [
824
                                'type' => Literal::class,
825
                                'options' => [
826
                                    'route' => '/comments-for-capsule',
827
                                    'defaults' => [
828
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
829
                                        'action' => 'commentsForCapsule'
830
                                    ]
831
                                ]
832
                            ],
833
 
834
 
835
 
2 efrain 836
                            'devices' => [
837
                                'type' => Literal::class,
838
                                'options' => [
839
                                    'route' => '/devices',
840
                                    'defaults' => [
841
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
842
                                        'action' => 'devices'
843
                                    ]
844
                                ]
845
                            ],
846
                        ]
1 www 847
                    ],
848
 
849
                    'content' => [
850
                        'type' => Literal::class,
851
                        'options' => [
852
                            'route' => '/content',
853
                            'defaults' => [
854
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
855
                                'action' => 'index'
856
                            ]
857
                        ],
858
                        'may_terminate' => true,
859
                        'child_routes' => [
66 efrain 860
                            'quizzes' => [
861
                                'type' => Segment::class,
862
                                'options' => [
863
                                    'route' => '/quizzes',
864
 
865
                                    'defaults' => [
866
                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
867
                                        'action' => 'index'
868
                                    ]
869
                                ],
870
                                'may_terminate' => true,
871
                                'child_routes' => [
872
                                    'add' => [
873
                                        'type' => Literal::class,
874
                                        'options' => [
875
                                            'route' => '/add',
876
                                            'defaults' => [
877
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
878
                                                'action' => 'add'
879
                                            ]
880
                                        ]
881
                                    ],
882
                                    'edit' => [
883
                                        'type' => Segment::class,
884
                                        'options' => [
885
                                            'route' => '/:quiz_id/edit',
886
                                            'constraints' => [
887
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
888
                                            ],
889
                                            'defaults' => [
890
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
891
                                                'action' => 'edit'
892
                                            ]
893
                                        ]
894
                                    ],
895
                                    'delete' => [
896
                                        'type' => Segment::class,
897
                                        'options' => [
898
                                            'route' => '/:quiz_id/delete',
899
                                            'constraints' => [
900
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
901
                                            ],
902
                                            'defaults' => [
903
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
904
                                                'action' => 'delete'
905
                                            ]
906
                                        ]
907
                                    ],
908
                                    'check' => [
909
                                        'type' => Segment::class,
910
                                        'options' => [
911
                                            'route' => '/:quiz_id/check',
912
                                            'constraints' => [
913
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
914
                                            ],
915
                                            'defaults' => [
916
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
917
                                                'action' => 'check'
918
                                            ]
919
                                        ]
920
                                    ],
921
                                    'publish' => [
922
                                        'type' => Segment::class,
923
                                        'options' => [
924
                                            'route' => '/:quiz_id/publish',
925
                                            'constraints' => [
926
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
927
                                            ],
928
                                            'defaults' => [
929
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
930
                                                'action' => 'publish'
931
                                            ]
932
                                        ]
933
                                    ],
934
                                    'copy' => [
935
                                        'type' => Segment::class,
936
                                        'options' => [
937
                                            'route' => '/:quiz_id/copy',
938
                                            'constraints' => [
939
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
940
                                            ],
941
                                            'defaults' => [
942
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
943
                                                'action' => 'copy'
944
                                            ]
945
                                        ]
946
                                    ],
947
                                    'questions' => [
948
                                        'type' => Segment::class,
949
                                        'options' => [
950
                                            'route' => '/:quiz_id/questions',
951
                                            'constraints' => [
952
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
953
                                            ],
954
                                            'defaults' => [
955
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
956
                                                'action' => 'index'
957
                                            ]
958
                                        ],
959
                                        'may_terminate' => true,
960
                                        'child_routes' => [
961
                                            'add' => [
962
                                                'type' => Literal::class,
963
                                                'options' => [
964
                                                    'route' => '/add',
965
                                                    'defaults' => [
966
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
967
                                                        'action' => 'add'
968
                                                    ]
969
                                                ]
970
                                            ],
971
                                            'edit' => [
972
                                                'type' => Segment::class,
973
                                                'options' => [
974
                                                    'route' => '/:question_id/edit',
975
                                                    'constraints' => [
976
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
977
                                                    ],
978
                                                    'defaults' => [
979
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
980
                                                        'action' => 'edit'
981
                                                    ]
982
                                                ]
983
                                            ],
984
                                            'delete' => [
985
                                                'type' => Segment::class,
986
                                                'options' => [
987
                                                    'route' => '/:question_id/delete',
988
                                                    'constraints' => [
989
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
990
                                                    ],
991
                                                    'defaults' => [
992
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
993
                                                        'action' => 'delete'
994
                                                    ]
995
                                                ]
996
                                            ],
997
                                            'answers' => [
998
                                                'type' => Segment::class,
999
                                                'options' => [
1000
                                                    'route' => '/:question_id/answers',
1001
                                                    'constraints' => [
1002
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1003
                                                    ],
1004
                                                    'defaults' => [
1005
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1006
                                                        'action' => 'index'
1007
                                                    ]
1008
                                                ],
1009
                                                'may_terminate' => true,
1010
                                                'child_routes' => [
1011
                                                    'add' => [
1012
                                                        'type' => Literal::class,
1013
                                                        'options' => [
1014
                                                            'route' => '/add',
1015
                                                            'defaults' => [
1016
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1017
                                                                'action' => 'add'
1018
                                                            ]
1019
                                                        ]
1020
                                                    ],
1021
                                                    'edit' => [
1022
                                                        'type' => Segment::class,
1023
                                                        'options' => [
1024
                                                            'route' => '/:answer_id/edit',
1025
                                                            'constraints' => [
1026
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1027
                                                            ],
1028
                                                            'defaults' => [
1029
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1030
                                                                'action' => 'edit'
1031
                                                            ]
1032
                                                        ]
1033
                                                    ],
1034
                                                    'delete' => [
1035
                                                        'type' => Segment::class,
1036
                                                        'options' => [
1037
                                                            'route' => '/:answer_id/delete',
1038
                                                            'constraints' => [
1039
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1040
                                                            ],
1041
                                                            'defaults' => [
1042
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1043
                                                                'action' => 'delete'
1044
                                                            ]
1045
                                                        ]
1046
                                                    ],
1047
                                                ]
1048
                                            ],
1049
                                        ]
1050
                                    ],
1051
                                ]
1052
                            ],
1 www 1053
                            'topics' => [
1054
                                'type' => Literal::class,
1055
                                'options' => [
1056
                                    'route' => '/topics',
1057
                                    'defaults' => [
1058
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1059
                                        'action' => 'index'
1060
                                    ]
1061
                                ],
1062
                                'may_terminate' => true,
1063
                                'child_routes' => [
1064
                                    'add' => [
1065
                                        'type' => Literal::class,
1066
                                        'options' => [
1067
                                            'route' => '/add',
1068
                                            'defaults' => [
1069
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1070
                                                'action' => 'add'
1071
                                            ]
1072
                                        ]
1073
                                    ],
1074
                                    'edit' => [
1075
                                        'type' => Segment::class,
1076
                                        'options' => [
1077
                                            'route' => '/edit/:id',
1078
                                            'constraints' => [
1079
                                                'id' => '[A-Za-z0-9\-]+\=*'
1080
                                            ],
1081
                                            'defaults' => [
1082
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1083
                                                'action' => 'edit'
1084
                                            ]
1085
                                        ]
1086
                                    ],
1087
                                    'delete' => [
1088
                                        'type' => Segment::class,
1089
                                        'options' => [
1090
                                            'route' => '/delete/:id',
1091
                                            'constraints' => [
1092
                                                'id' => '[A-Za-z0-9\-]+\=*'
1093
                                            ],
1094
                                            'defaults' => [
1095
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1096
                                                'action' => 'delete'
1097
                                            ]
1098
                                        ]
1099
                                    ]
1100
                                ]
1101
                            ],
1102
 
1103
                            'capsules' => [
1104
                                'type' => Literal::class,
1105
                                'options' => [
1106
                                    'route' => '/capsules',
1107
 
1108
                                    'defaults' => [
1109
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1110
                                        'action' => 'index'
1111
                                    ]
1112
                                ],
1113
                                'may_terminate' => true,
1114
                                'child_routes' => [
1115
                                    'add' => [
1116
                                        'type' => Segment::class,
1117
                                        'options' => [
1118
                                            'route' => '/add/topic/:topic_uuid',
1119
                                            'constraints' => [
1120
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1121
                                            ],
1122
                                            'defaults' => [
1123
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1124
                                                'action' => 'add'
1125
                                            ]
1126
                                        ]
1127
                                    ],
1128
                                    'edit' => [
1129
                                        'type' => Segment::class,
1130
                                        'options' => [
1131
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
1132
                                            'constraints' => [
1133
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1134
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1135
                                            ],
1136
                                            'defaults' => [
1137
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1138
                                                'action' => 'edit'
1139
                                            ]
1140
                                        ]
1141
                                    ],
1142
                                    'delete' => [
1143
                                        'type' => Segment::class,
1144
                                        'options' => [
1145
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
1146
                                            'constraints' => [
1147
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1148
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1149
                                            ],
1150
                                            'defaults' => [
1151
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1152
                                                'action' => 'delete'
1153
                                            ]
1154
                                        ]
1155
                                    ],
1156
                                    'users' => [
1157
                                        'type' => Segment::class,
1158
                                        'options' => [
1159
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
1160
                                            'constraints' => [
1161
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1162
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1163
                                                'type' => 'all|active',
1164
                                            ],
1165
                                            'defaults' => [
1166
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1167
                                                'action' => 'users'
1168
                                            ]
1169
                                        ]
1170
                                    ],
1171
                                ]
1172
                            ],
1173
 
1174
 
1175
                            'slides' => [
1176
                                'type' => Literal::class,
1177
                                'options' => [
1178
                                    'route' => '/slides',
1179
 
1180
                                    'defaults' => [
1181
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1182
                                        'action' => 'index'
1183
                                    ]
1184
                                ],
1185
                                'may_terminate' => true,
1186
                                'child_routes' => [
1187
                                    'add' => [
1188
                                        'type' => Segment::class,
1189
                                        'options' => [
1190
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
1191
                                            'constraints' => [
1192
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1193
                                            ],
1194
                                            'defaults' => [
1195
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1196
                                                'action' => 'add'
1197
                                            ]
1198
                                        ]
1199
                                    ],
1200
                                    'edit' => [
1201
                                        'type' => Segment::class,
1202
                                        'options' => [
1203
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1204
                                            'constraints' => [
1205
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1206
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1207
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1208
                                            ],
1209
                                            'defaults' => [
1210
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1211
                                                'action' => 'edit'
1212
                                            ]
1213
                                        ]
1214
                                    ],
1215
                                    'delete' => [
1216
                                        'type' => Segment::class,
1217
                                        'options' => [
1218
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1219
                                            'constraints' => [
1220
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1221
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1222
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1223
                                            ],
1224
                                            'defaults' => [
1225
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1226
                                                'action' => 'delete'
1227
                                            ]
1228
                                        ]
1229
                                    ],
1230
 
1231
                                    'text' => [
1232
                                        'type' => Segment::class,
1233
                                        'options' => [
1234
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1235
                                            'constraints' => [
1236
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1237
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1238
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1239
                                            ],
1240
                                            'defaults' => [
1241
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1242
                                                'action' => 'text'
1243
                                            ]
1244
                                        ]
1245
                                    ],
1246
 
1247
                                ]
1248
                            ],
1249
                        ],
1250
                     ],
1251
 
1252
                    'students' => [
1253
                        'type' => Literal::class,
1254
                        'options' => [
1255
                            'route' => '/students',
1256
                            'defaults' => [
1257
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1258
                                'action' => 'index'
1259
                            ]
1260
                        ],
1261
                        'may_terminate' => true,
1262
                        'child_routes' => [
1263
                            'edit' => [
1264
                                'type' => Segment::class,
1265
                                'options' => [
1266
                                    'route' => '/edit/:id',
1267
                                    'constraints' => [
1268
                                        'id' => '[A-Za-z0-9\-]+\=*',
1269
                                    ],
1270
                                    'defaults' => [
1271
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1272
                                        'action' => 'edit'
1273
                                    ]
1274
                                ]
1275
                            ],
1276
                            'timeline' => [
1277
                                'type' => Segment::class,
1278
                                'options' => [
1279
                                    'route' => '/timeline/:id',
1280
                                    'constraints' => [
1281
                                        'id' => '[A-Za-z0-9\-]+\=*',
1282
                                    ],
1283
                                    'defaults' => [
1284
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1285
                                        'action' => 'timeline'
1286
                                    ]
1287
                                ]
1288
                            ],
1289
                            'change-password' => [
1290
                                'type' => Segment::class,
1291
                                'options' => [
1292
                                    'route' => '/change-password/:id',
1293
                                    'constraints' => [
1294
                                        'id' => '[A-Za-z0-9\-]+\=*'
1295
                                    ],
1296
                                    'defaults' => [
1297
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1298
                                        'action' => 'change-password'
1299
                                    ]
1300
                                ]
1301
                            ],
1302
                            'unblock' => [
1303
                                'type' => Segment::class,
1304
                                'options' => [
1305
                                    'route' => '/unblock/:id',
1306
                                    'constraints' => [
1307
                                        'id' => '[A-Za-z0-9\-]+\=*'
1308
                                    ],
1309
                                    'defaults' => [
1310
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1311
                                        'action' => 'unblock'
1312
                                    ]
1313
                                ]
1314
                            ],
1315
 
1316
                       ]
1317
                    ],
1318
                    'access-for-students' => [
1319
                        'type' => Literal::class,
1320
                        'options' => [
1321
                            'route' => '/access-for-students',
1322
                            'defaults' => [
1323
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1324
                                'action' => 'index'
1325
                            ]
1326
                        ],
1327
                        'may_terminate' => true,
1328
                        'child_routes' => [
1329
                            'revoke' => [
1330
                                'type' => Segment::class,
1331
                                'options' => [
1332
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1333
                                    'constraints' => [
1334
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1335
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1336
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1337
                                    ],
1338
                                    'defaults' => [
1339
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1340
                                        'action' => 'revoke'
1341
                                    ]
1342
                                ]
1343
                            ],
1344
                            'unlimit' => [
1345
                                'type' => Segment::class,
1346
                                'options' => [
1347
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1348
                                    'constraints' => [
1349
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1350
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1351
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1352
                                    ],
1353
                                    'defaults' => [
1354
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1355
                                        'action' => 'unlimit'
1356
                                    ]
1357
                                ]
1358
                            ],
1359
 
1360
                            'upload' => [
1361
                                'type' => Segment::class,
1362
                                'options' => [
1363
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1364
                                    'constraints' => [
1365
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1366
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1367
                                    ],
1368
                                    'defaults' => [
1369
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1370
                                        'action' => 'upload'
1371
                                    ]
1372
                                ]
1373
                            ],
1374
 
1375
                            'notification' => [
1376
                                'type' => Segment::class,
1377
                                'options' => [
1378
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1379
                                    'constraints' => [
1380
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1381
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1382
                                    ],
1383
                                    'defaults' => [
1384
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1385
                                        'action' => 'notification'
1386
                                    ]
1387
                                ]
1388
                            ],
1389
 
1390
 
1391
                        ],
1392
                    ],
1393
 
1394
 
1395
 
1396
                    'settings' => [
1397
                        'type' => Literal::class,
1398
                        'options' => [
1399
                            'route' => '/settings',
1400
                            'defaults' => [
1401
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1402
                                'action' => 'index'
1403
                            ]
1404
                        ],
1405
                        'may_terminate' => true,
1406
                        'child_routes' => [
1407
 
1408
                            'student-types' => [
1409
                                'type' => Literal::class,
1410
                                'options' => [
1411
                                    'route' => '/student-types',
1412
                                    'defaults' => [
1413
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1414
                                        'action' => 'index'
1415
                                    ]
1416
                                ],
1417
                                'may_terminate' => true,
1418
                                'child_routes' => [
1419
                                    'add' => [
1420
                                        'type' => Literal::class,
1421
                                        'options' => [
1422
                                            'route' => '/add',
1423
                                            'defaults' => [
1424
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1425
                                                'action' => 'add'
1426
                                            ]
1427
                                        ]
1428
                                    ],
1429
                                    'edit' => [
1430
                                        'type' => Segment::class,
1431
                                        'options' => [
1432
                                            'route' => '/edit/:id',
1433
                                            'constraints' => [
1434
                                                'id' => '[A-Za-z0-9\-]+\=*'
1435
                                            ],
1436
                                            'defaults' => [
1437
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1438
                                                'action' => 'edit'
1439
                                            ]
1440
                                        ]
1441
                                    ],
1442
                                    'delete' => [
1443
                                        'type' => Segment::class,
1444
                                        'options' => [
1445
                                            'route' => '/delete/:id',
1446
                                            'constraints' => [
1447
                                                'id' => '[A-Za-z0-9\-]+\=*'
1448
                                            ],
1449
                                            'defaults' => [
1450
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1451
                                                'action' => 'delete'
1452
                                            ]
1453
                                        ]
1454
                                    ]
1455
                                ]
1456
                            ],
1457
 
1458
 
1459
 
1460
                            'functions' => [
1461
                                'type' => Literal::class,
1462
                                'options' => [
1463
                                    'route' => '/functions',
1464
                                    'defaults' => [
1465
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1466
                                        'action' => 'index'
1467
                                    ]
1468
                                ],
1469
                                'may_terminate' => true,
1470
                                'child_routes' => [
1471
                                    'add' => [
1472
                                        'type' => Literal::class,
1473
                                        'options' => [
1474
                                            'route' => '/add',
1475
                                            'defaults' => [
1476
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1477
                                                'action' => 'add'
1478
                                            ]
1479
                                        ]
1480
                                    ],
1481
                                    'edit' => [
1482
                                        'type' => Segment::class,
1483
                                        'options' => [
1484
                                            'route' => '/edit/:id',
1485
                                            'constraints' => [
1486
                                                'id' => '[A-Za-z0-9\-]+\=*'
1487
                                            ],
1488
                                            'defaults' => [
1489
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1490
                                                'action' => 'edit'
1491
                                            ]
1492
                                        ]
1493
                                    ],
1494
                                    'delete' => [
1495
                                        'type' => Segment::class,
1496
                                        'options' => [
1497
                                            'route' => '/delete/:id',
1498
                                            'constraints' => [
1499
                                                'id' => '[A-Za-z0-9\-]+\=*'
1500
                                            ],
1501
                                            'defaults' => [
1502
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1503
                                                'action' => 'delete'
1504
                                            ]
1505
                                        ]
1506
                                    ]
1507
                                ]
1508
                            ],
1509
 
1510
                            'sectors' => [
1511
                                'type' => Literal::class,
1512
                                'options' => [
1513
                                    'route' => '/sectors',
1514
                                    'defaults' => [
1515
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1516
                                        'action' => 'index'
1517
                                    ]
1518
                                ],
1519
                                'may_terminate' => true,
1520
                                'child_routes' => [
1521
                                    'add' => [
1522
                                        'type' => Literal::class,
1523
                                        'options' => [
1524
                                            'route' => '/add',
1525
                                            'defaults' => [
1526
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1527
                                                'action' => 'add'
1528
                                            ]
1529
                                        ]
1530
                                    ],
1531
                                    'edit' => [
1532
                                        'type' => Segment::class,
1533
                                        'options' => [
1534
                                            'route' => '/edit/:id',
1535
                                            'constraints' => [
1536
                                                'id' => '[A-Za-z0-9\-]+\=*'
1537
                                            ],
1538
                                            'defaults' => [
1539
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1540
                                                'action' => 'edit'
1541
                                            ]
1542
                                        ]
1543
                                    ],
1544
                                    'delete' => [
1545
                                        'type' => Segment::class,
1546
                                        'options' => [
1547
                                            'route' => '/delete/:id',
1548
                                            'constraints' => [
1549
                                                'id' => '[A-Za-z0-9\-]+\=*'
1550
                                            ],
1551
                                            'defaults' => [
1552
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1553
                                                'action' => 'delete'
1554
                                            ]
1555
                                        ]
1556
                                    ]
1557
                                ]
1558
                            ],
1559
 
1560
                            'programs' => [
1561
                                'type' => Literal::class,
1562
                                'options' => [
1563
                                    'route' => '/programs',
1564
                                    'defaults' => [
1565
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1566
                                        'action' => 'index'
1567
                                    ]
1568
                                ],
1569
                                'may_terminate' => true,
1570
                                'child_routes' => [
1571
                                    'add' => [
1572
                                        'type' => Literal::class,
1573
                                        'options' => [
1574
                                            'route' => '/add',
1575
                                            'defaults' => [
1576
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1577
                                                'action' => 'add'
1578
                                            ]
1579
                                        ]
1580
                                    ],
1581
                                    'edit' => [
1582
                                        'type' => Segment::class,
1583
                                        'options' => [
1584
                                            'route' => '/edit/:id',
1585
                                            'constraints' => [
1586
                                                'id' => '[A-Za-z0-9\-]+\=*'
1587
                                            ],
1588
                                            'defaults' => [
1589
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1590
                                                'action' => 'edit'
1591
                                            ]
1592
                                        ]
1593
                                    ],
1594
                                    'delete' => [
1595
                                        'type' => Segment::class,
1596
                                        'options' => [
1597
                                            'route' => '/delete/:id',
1598
                                            'constraints' => [
1599
                                                'id' => '[A-Za-z0-9\-]+\=*'
1600
                                            ],
1601
                                            'defaults' => [
1602
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1603
                                                'action' => 'delete'
1604
                                            ]
1605
                                        ]
1606
                                    ]
1607
                                ]
1608
                            ],
1609
 
1610
                            'groups' => [
1611
                                'type' => Literal::class,
1612
                                'options' => [
1613
                                    'route' => '/groups',
1614
                                    'defaults' => [
1615
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1616
                                        'action' => 'index'
1617
                                    ]
1618
                                ],
1619
                                'may_terminate' => true,
1620
                                'child_routes' => [
1621
                                    'add' => [
1622
                                        'type' => Literal::class,
1623
                                        'options' => [
1624
                                            'route' => '/add',
1625
                                            'defaults' => [
1626
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1627
                                                'action' => 'add'
1628
                                            ]
1629
                                        ]
1630
                                    ],
1631
                                    'edit' => [
1632
                                        'type' => Segment::class,
1633
                                        'options' => [
1634
                                            'route' => '/edit/:id',
1635
                                            'constraints' => [
1636
                                                'id' => '[A-Za-z0-9\-]+\=*'
1637
                                            ],
1638
                                            'defaults' => [
1639
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1640
                                                'action' => 'edit'
1641
                                            ]
1642
                                        ]
1643
                                    ],
1644
                                    'delete' => [
1645
                                        'type' => Segment::class,
1646
                                        'options' => [
1647
                                            'route' => '/delete/:id',
1648
                                            'constraints' => [
1649
                                                'id' => '[A-Za-z0-9\-]+\=*'
1650
                                            ],
1651
                                            'defaults' => [
1652
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1653
                                                'action' => 'delete'
1654
                                            ]
1655
                                        ]
1656
                                    ]
1657
                                ]
1658
                            ],
1659
 
1660
                            'companies' => [
1661
                                'type' => Literal::class,
1662
                                'options' => [
1663
                                    'route' => '/companies',
1664
                                    'defaults' => [
1665
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1666
                                        'action' => 'index'
1667
                                    ]
1668
                                ],
1669
                                'may_terminate' => true,
1670
                                'child_routes' => [
1671
                                    'add' => [
1672
                                        'type' => Literal::class,
1673
                                        'options' => [
1674
                                            'route' => '/add',
1675
                                            'defaults' => [
1676
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1677
                                                'action' => 'add'
1678
                                            ]
1679
                                        ]
1680
                                    ],
1681
                                    'edit' => [
1682
                                        'type' => Segment::class,
1683
                                        'options' => [
1684
                                            'route' => '/edit/:id',
1685
                                            'constraints' => [
1686
                                                'id' => '[A-Za-z0-9\-]+\=*'
1687
                                            ],
1688
                                            'defaults' => [
1689
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1690
                                                'action' => 'edit'
1691
                                            ]
1692
                                        ]
1693
                                    ],
1694
                                    'delete' => [
1695
                                        'type' => Segment::class,
1696
                                        'options' => [
1697
                                            'route' => '/delete/:id',
1698
                                            'constraints' => [
1699
                                                'id' => '[A-Za-z0-9\-]+\=*'
1700
                                            ],
1701
                                            'defaults' => [
1702
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1703
                                                'action' => 'delete'
1704
                                            ]
1705
                                        ]
1706
                                    ]
1707
                                ]
1708
                            ],
1709
 
1710
                            'partners' => [
1711
                                'type' => Literal::class,
1712
                                'options' => [
1713
                                    'route' => '/partners',
1714
                                    'defaults' => [
1715
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1716
                                        'action' => 'index'
1717
                                    ]
1718
                                ],
1719
                                'may_terminate' => true,
1720
                                'child_routes' => [
1721
                                    'add' => [
1722
                                        'type' => Literal::class,
1723
                                        'options' => [
1724
                                            'route' => '/add',
1725
                                            'defaults' => [
1726
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1727
                                                'action' => 'add'
1728
                                            ]
1729
                                        ]
1730
                                    ],
1731
                                    'edit' => [
1732
                                        'type' => Segment::class,
1733
                                        'options' => [
1734
                                            'route' => '/edit/:id',
1735
                                            'constraints' => [
1736
                                                'id' => '[A-Za-z0-9\-]+\=*'
1737
                                            ],
1738
                                            'defaults' => [
1739
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1740
                                                'action' => 'edit'
1741
                                            ]
1742
                                        ]
1743
                                    ],
1744
                                    'delete' => [
1745
                                        'type' => Segment::class,
1746
                                        'options' => [
1747
                                            'route' => '/delete/:id',
1748
                                            'constraints' => [
1749
                                                'id' => '[A-Za-z0-9\-]+\=*'
1750
                                            ],
1751
                                            'defaults' => [
1752
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1753
                                                'action' => 'delete'
1754
                                            ]
1755
                                        ]
1756
                                    ]
1757
                                ]
1758
                            ],
1759
 
1760
                            'institutions' => [
1761
                                'type' => Literal::class,
1762
                                'options' => [
1763
                                    'route' => '/institutions',
1764
                                    'defaults' => [
1765
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1766
                                        'action' => 'index'
1767
                                    ]
1768
                                ],
1769
                                'may_terminate' => true,
1770
                                'child_routes' => [
1771
                                    'add' => [
1772
                                        'type' => Literal::class,
1773
                                        'options' => [
1774
                                            'route' => '/add',
1775
                                            'defaults' => [
1776
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1777
                                                'action' => 'add'
1778
                                            ]
1779
                                        ]
1780
                                    ],
1781
                                    'edit' => [
1782
                                        'type' => Segment::class,
1783
                                        'options' => [
1784
                                            'route' => '/edit/:id',
1785
                                            'constraints' => [
1786
                                                'id' => '[A-Za-z0-9\-]+\=*'
1787
                                            ],
1788
                                            'defaults' => [
1789
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1790
                                                'action' => 'edit'
1791
                                            ]
1792
                                        ]
1793
                                    ],
1794
                                    'delete' => [
1795
                                        'type' => Segment::class,
1796
                                        'options' => [
1797
                                            'route' => '/delete/:id',
1798
                                            'constraints' => [
1799
                                                'id' => '[A-Za-z0-9\-]+\=*'
1800
                                            ],
1801
                                            'defaults' => [
1802
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1803
                                                'action' => 'delete'
1804
                                            ]
1805
                                        ]
1806
                                    ]
1807
                                ]
1808
                            ],
1809
 
1810
 
1811
                        ]
1812
                     ],
1813
 
1814
 
1815
 
1816
 
1817
                ],
1818
 
1819
            ],
1820
 
1821
 
1822
 
1823
            /*** START PUBLICATIONS ***/
1824
            'publications' => [
1825
                'type' => Literal::class,
1826
                'options' => [
1827
                    'route' => '/publications',
1828
                    'defaults' => [
1829
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1830
                        'action' => 'index'
1831
                    ]
1832
                ],
1833
                'may_terminate' => true,
1834
                'child_routes' => [
1835
 
1836
                    'pages' => [
1837
                        'type' => Literal::class,
1838
                        'options' => [
1839
                            'route' => '/pages',
1840
                            'defaults' => [
1841
                                'controller' => '\LeadersLinked\Controller\PageController',
1842
                                'action' => 'index'
1843
                            ]
1844
                        ],
1845
                        'may_terminate' => true,
1846
                        'child_routes' => [
1847
                            'add' => [
1848
                                'type' => Literal::class,
1849
                                'options' => [
1850
                                    'route' => '/add',
1851
                                    'defaults' => [
1852
                                        'controller' => '\LeadersLinked\Controller\PageController',
1853
                                        'action' => 'add'
1854
                                    ]
1855
                                ]
1856
                            ],
1857
                            'edit' => [
1858
                                'type' => Segment::class,
1859
                                'options' => [
1860
                                    'route' => '/edit/:id',
1861
                                    'constraints' => [
1862
                                        'id' => '[A-Za-z0-9\-]+\=*'
1863
                                    ],
1864
                                    'defaults' => [
1865
                                        'controller' => '\LeadersLinked\Controller\PageController',
1866
                                        'action' => 'edit'
1867
                                    ]
1868
                                ]
1869
                            ],
1870
                            'delete' => [
1871
                                'type' => Segment::class,
1872
                                'options' => [
1873
                                    'route' => '/delete/:id',
1874
                                    'constraints' => [
1875
                                        'id' => '[A-Za-z0-9\-]+\=*'
1876
                                    ],
1877
                                    'defaults' => [
1878
                                        'controller' => '\LeadersLinked\Controller\PageController',
1879
                                        'action' => 'delete'
1880
                                    ]
1881
                                ]
1882
                            ]
1883
                        ]
1884
                    ],
1885
 
1886
                    'posts' => [
1887
                        'type' => Literal::class,
1888
                        'options' => [
1889
                            'route' => '/posts',
1890
                            'defaults' => [
1891
                                'controller' => '\LeadersLinked\Controller\PostController',
1892
                                'action' => 'index'
1893
                            ]
1894
                        ],
1895
                        'may_terminate' => true,
1896
                        'child_routes' => [
1897
                            'add' => [
1898
                                'type' => Literal::class,
1899
                                'options' => [
1900
                                    'route' => '/add',
1901
                                    'defaults' => [
1902
                                        'controller' => '\LeadersLinked\Controller\PostController',
1903
                                        'action' => 'add'
1904
                                    ]
1905
                                ]
1906
                            ],
1907
                            'edit' => [
1908
                                'type' => Segment::class,
1909
                                'options' => [
1910
                                    'route' => '/edit/:id',
1911
                                    'constraints' => [
1912
                                        'id' => '[A-Za-z0-9\-]+\=*'
1913
                                    ],
1914
                                    'defaults' => [
1915
                                        'controller' => '\LeadersLinked\Controller\PostController',
1916
                                        'action' => 'edit'
1917
                                    ]
1918
                                ]
1919
                            ],
1920
                            'delete' => [
1921
                                'type' => Segment::class,
1922
                                'options' => [
1923
                                    'route' => '/delete/:id',
1924
                                    'constraints' => [
1925
                                        'id' => '[A-Za-z0-9\-]+\=*'
1926
                                    ],
1927
                                    'defaults' => [
1928
                                        'controller' => '\LeadersLinked\Controller\PostController',
1929
                                        'action' => 'delete'
1930
                                    ]
1931
                                ]
1932
                            ]
1933
                        ]
1934
                    ],
1935
 
1936
 
1937
 
1938
                ]
1939
            ],
1940
 
114 efrain 1941
 
1942
            /*** START SELF EVALUATION ***/
1943
 
1944
            /*** START PUBLICATIONS ***/
1945
            'self-evaluation' => [
1946
                'type' => Literal::class,
1947
                'options' => [
1948
                    'route' => '/self-evaluation',
1949
                    'defaults' => [
115 efrain 1950
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
114 efrain 1951
                        'action' => 'index'
1952
                    ]
1953
                ],
1954
                'may_terminate' => true,
1955
                'child_routes' => [
1956
 
1957
                    'forms' => [
1958
                        'type' => Literal::class,
1959
                        'options' => [
1960
                            'route' => '/forms',
1961
                            'defaults' => [
115 efrain 1962
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1963
                                'action' => 'index'
1964
                            ]
1965
                        ],
1966
                        'may_terminate' => true,
1967
                        'child_routes' => [
1968
                            'add' => [
1969
                                'type' => Literal::class,
1970
                                'options' => [
1971
                                    'route' => '/add',
1972
                                    'defaults' => [
115 efrain 1973
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1974
                                        'action' => 'add'
1975
                                    ]
1976
                                ]
1977
                            ],
1978
                            'edit' => [
1979
                                'type' => Segment::class,
1980
                                'options' => [
1981
                                    'route' => '/edit/:id',
1982
                                    'constraints' => [
1983
                                        'id' => '[A-Za-z0-9\-]+\=*'
1984
                                    ],
1985
                                    'defaults' => [
115 efrain 1986
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1987
                                        'action' => 'edit'
1988
                                    ]
1989
                                ]
1990
                            ],
1991
                            'delete' => [
1992
                                'type' => Segment::class,
1993
                                'options' => [
1994
                                    'route' => '/delete/:id',
1995
                                    'constraints' => [
1996
                                        'id' => '[A-Za-z0-9\-]+\=*'
1997
                                    ],
1998
                                    'defaults' => [
115 efrain 1999
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 2000
                                        'action' => 'delete'
2001
                                    ]
2002
                                ]
2003
                            ]
2004
                        ]
2005
                    ],
2006
 
115 efrain 2007
                    'users' => [
2008
                        'type' => Literal::class,
2009
                        'options' => [
2010
                            'route' => '/users',
2011
                            'defaults' => [
2012
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2013
                                'action' => 'index'
2014
                            ]
2015
                        ],
2016
                        'may_terminate' => true,
2017
                        'child_routes' => [
2018
                            'add' => [
2019
                                'type' => Segment::class,
2020
                                'options' => [
2021
                                    'route' => '/add/:form_id/:user_id',
2022
                                    'constraints' => [
2023
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2024
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2025
                                    ],
2026
                                    'defaults' => [
2027
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2028
                                        'action' => 'add'
2029
                                    ]
2030
                                ]
2031
                            ],
2032
                            'delete' => [
2033
                                'type' => Segment::class,
2034
                                'options' => [
2035
                                    'route' => '/delete/:form_id/:user_id',
2036
                                    'constraints' => [
2037
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2038
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2039
                                    ],
2040
                                    'defaults' => [
2041
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2042
                                        'action' => 'delete'
2043
                                    ]
2044
                                ]
2045
                            ]
2046
                        ]
2047
                    ],
2048
 
114 efrain 2049
                    'reviews' => [
2050
                        'type' => Literal::class,
2051
                        'options' => [
2052
                            'route' => '/reviews',
2053
                            'defaults' => [
115 efrain 2054
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
114 efrain 2055
                                'action' => 'index'
2056
                            ]
2057
                        ],
2058
                        'may_terminate' => true,
2059
                        'child_routes' => [
2060
                            'edit' => [
2061
                                'type' => Segment::class,
2062
                                'options' => [
2063
                                    'route' => '/edit/:id',
2064
                                    'constraints' => [
2065
                                        'id' => '[A-Za-z0-9\-]+\=*'
2066
                                    ],
2067
                                    'defaults' => [
115 efrain 2068
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
486 geraldo 2069
                                        'action' => 'edit'
114 efrain 2070
                                    ]
2071
                                ]
2072
                            ],
469 geraldo 2073
                            'report' => [
2074
                                'type' => Segment::class,
2075
                                'options' => [
2076
                                    'route' => '/report/:id',
2077
                                    'constraints' => [
2078
                                        'id' => '[A-Za-z0-9\-]+\=*'
2079
                                    ],
2080
                                    'defaults' => [
2081
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
487 geraldo 2082
                                        'action' => 'report'
469 geraldo 2083
                                    ]
2084
                                ]
2085
                            ],
114 efrain 2086
 
2087
                        ]
2088
                    ],
2089
 
2090
 
2091
 
2092
                ]
2093
            ],
2094
 
2095
            /*** END SELF EVALUATION ***/
2096
 
1 www 2097
            /*** START SETTINGS ***/
2098
            'settings' => [
2099
                'type' => Literal::class,
2100
                'options' => [
2101
                    'route' => '/settings',
2102
                    'defaults' => [
2103
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2104
                        'action' => 'index'
2105
                    ]
2106
                ],
2107
                'may_terminate' => true,
2108
                'child_routes' => [
2109
 
2110
                    'company-sizes' => [
2111
                        'type' => Literal::class,
2112
                        'options' => [
2113
                            'route' => '/company-sizes',
2114
                            'defaults' => [
2115
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2116
                                'action' => 'index'
2117
                            ]
2118
                        ],
2119
                        'may_terminate' => true,
2120
                        'child_routes' => [
2121
                            'add' => [
2122
                                'type' => Literal::class,
2123
                                'options' => [
2124
                                    'route' => '/add',
2125
                                    'defaults' => [
2126
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2127
                                        'action' => 'add'
2128
                                    ]
2129
                                ]
2130
                            ],
2131
                            'edit' => [
2132
                                'type' => Segment::class,
2133
                                'options' => [
2134
                                    'route' => '/edit/:id',
2135
                                    'constraints' => [
2136
                                        'id' => '[A-Za-z0-9\-]+\=*'
2137
                                    ],
2138
                                    'defaults' => [
2139
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2140
                                        'action' => 'edit'
2141
                                    ]
2142
                                ]
2143
                            ],
2144
                            'delete' => [
2145
                                'type' => Segment::class,
2146
                                'options' => [
2147
                                    'route' => '/delete/:id',
2148
                                    'constraints' => [
2149
                                        'id' => '[A-Za-z0-9\-]+\=*'
2150
                                    ],
2151
                                    'defaults' => [
2152
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2153
                                        'action' => 'delete'
2154
                                    ]
2155
                                ]
2156
                            ]
2157
                        ]
2158
                    ],
2159
 
2160
 
2161
                    'competency-types' => [
2162
                        'type' => Literal::class,
2163
                        'options' => [
2164
                            'route' => '/competency-types',
2165
                            'defaults' => [
2166
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2167
                                'action' => 'index'
2168
                            ]
2169
                        ],
2170
                        'may_terminate' => true,
2171
                        'child_routes' => [
2172
                            'add' => [
2173
                                'type' => Literal::class,
2174
                                'options' => [
2175
                                    'route' => '/add',
2176
                                    'defaults' => [
2177
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2178
                                        'action' => 'add'
2179
                                    ]
2180
                                ]
2181
                            ],
2182
                            'edit' => [
2183
                                'type' => Segment::class,
2184
                                'options' => [
2185
                                    'route' => '/edit/:id',
2186
                                    'constraints' => [
2187
                                        'id' => '[A-Za-z0-9\-]+\=*'
2188
                                    ],
2189
                                    'defaults' => [
2190
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2191
                                        'action' => 'edit'
2192
                                    ]
2193
                                ]
2194
                            ],
2195
                            'delete' => [
2196
                                'type' => Segment::class,
2197
                                'options' => [
2198
                                    'route' => '/delete/:id',
2199
                                    'constraints' => [
2200
                                        'id' => '[A-Za-z0-9\-]+\=*'
2201
                                    ],
2202
                                    'defaults' => [
2203
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2204
                                        'action' => 'delete'
2205
                                    ]
2206
                                ]
28 efrain 2207
                            ],
2208
                            'import' => [
2209
                                'type' => Literal::class,
2210
                                'options' => [
2211
                                    'route' => '/import',
2212
                                    'defaults' => [
2213
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2214
                                        'action' => 'import'
2215
                                    ]
2216
                                ]
2217
                            ],
2218
 
2219
 
2220
 
1 www 2221
                        ]
2222
                    ],
2223
 
2224
                    'competencies' => [
2225
                        'type' => Literal::class,
2226
                        'options' => [
2227
                            'route' => '/competencies',
2228
                            'defaults' => [
2229
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2230
                                'action' => 'index'
2231
                            ]
2232
                        ],
2233
                        'may_terminate' => true,
2234
                        'child_routes' => [
2235
                            'add' => [
2236
                                'type' => Literal::class,
2237
                                'options' => [
2238
                                    'route' => '/add',
2239
                                    'defaults' => [
2240
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2241
                                        'action' => 'add'
2242
                                    ]
2243
                                ]
2244
                            ],
2245
                            'edit' => [
2246
                                'type' => Segment::class,
2247
                                'options' => [
2248
                                    'route' => '/edit/:id',
2249
                                    'constraints' => [
2250
                                        'id' => '[A-Za-z0-9\-]+\=*'
2251
                                    ],
2252
                                    'defaults' => [
2253
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2254
                                        'action' => 'edit'
2255
                                    ]
2256
                                ]
2257
                            ],
2258
                            'delete' => [
2259
                                'type' => Segment::class,
2260
                                'options' => [
2261
                                    'route' => '/delete/:id',
2262
                                    'constraints' => [
2263
                                        'id' => '[A-Za-z0-9\-]+\=*'
2264
                                    ],
2265
                                    'defaults' => [
2266
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2267
                                        'action' => 'delete'
2268
                                    ]
2269
                                ]
28 efrain 2270
                            ],
2271
                            'import' => [
2272
                                'type' => Literal::class,
2273
                                'options' => [
2274
                                    'route' => '/import',
2275
                                    'defaults' => [
2276
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2277
                                        'action' => 'import'
2278
                                    ]
2279
                                ]
2280
                            ],
1 www 2281
                        ]
2282
                    ],
2283
 
2284
                    'degrees' => [
2285
                        'type' => Literal::class,
2286
                        'options' => [
2287
                            'route' => '/degrees',
2288
                            'defaults' => [
2289
                                'controller' => '\LeadersLinked\Controller\DegreeController',
2290
                                'action' => 'index'
2291
                            ]
2292
                        ],
2293
                        'may_terminate' => true,
2294
                        'child_routes' => [
2295
                            'add' => [
2296
                                'type' => Literal::class,
2297
                                'options' => [
2298
                                    'route' => '/add',
2299
                                    'defaults' => [
2300
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2301
                                        'action' => 'add'
2302
                                    ]
2303
                                ]
2304
                            ],
2305
                            'edit' => [
2306
                                'type' => Segment::class,
2307
                                'options' => [
2308
                                    'route' => '/edit/:id',
2309
                                    'constraints' => [
2310
                                        'id' => '[A-Za-z0-9\-]+\=*'
2311
                                    ],
2312
                                    'defaults' => [
2313
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2314
                                        'action' => 'edit'
2315
                                    ]
2316
                                ]
2317
                            ],
2318
                            'delete' => [
2319
                                'type' => Segment::class,
2320
                                'options' => [
2321
                                    'route' => '/delete/:id',
2322
                                    'constraints' => [
2323
                                        'id' => '[A-Za-z0-9\-]+\=*'
2324
                                    ],
2325
                                    'defaults' => [
2326
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2327
                                        'action' => 'delete'
2328
                                    ]
2329
                                ]
2330
                            ]
2331
                        ]
2332
                    ],
2333
 
2334
                    'group-types' => [
2335
                        'type' => Literal::class,
2336
                        'options' => [
2337
                            'route' => '/competency-types',
2338
                            'defaults' => [
2339
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2340
                                'action' => 'index'
2341
                            ]
2342
                        ],
2343
                        'may_terminate' => true,
2344
                        'child_routes' => [
2345
                            'add' => [
2346
                                'type' => Literal::class,
2347
                                'options' => [
2348
                                    'route' => '/add',
2349
                                    'defaults' => [
2350
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2351
                                        'action' => 'add'
2352
                                    ]
2353
                                ]
2354
                            ],
2355
                            'edit' => [
2356
                                'type' => Segment::class,
2357
                                'options' => [
2358
                                    'route' => '/edit/:id',
2359
                                    'constraints' => [
2360
                                        'id' => '[A-Za-z0-9\-]+\=*'
2361
                                    ],
2362
                                    'defaults' => [
2363
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2364
                                        'action' => 'edit'
2365
                                    ]
2366
                                ]
2367
                            ],
2368
                            'delete' => [
2369
                                'type' => Segment::class,
2370
                                'options' => [
2371
                                    'route' => '/delete/:id',
2372
                                    'constraints' => [
2373
                                        'id' => '[A-Za-z0-9\-]+\=*'
2374
                                    ],
2375
                                    'defaults' => [
2376
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2377
                                        'action' => 'delete'
2378
                                    ]
2379
                                ]
2380
                            ]
2381
                        ]
2382
                    ],
2383
 
2384
 
2385
                    'industries' => [
2386
                        'type' => Literal::class,
2387
                        'options' => [
2388
                            'route' => '/industries',
2389
                            'defaults' => [
2390
                                'controller' => '\LeadersLinked\Controller\IndustryController',
2391
                                'action' => 'index'
2392
                            ]
2393
                        ],
2394
                        'may_terminate' => true,
2395
                        'child_routes' => [
2396
                            'add' => [
2397
                                'type' => Literal::class,
2398
                                'options' => [
2399
                                    'route' => '/add',
2400
                                    'defaults' => [
2401
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2402
                                        'action' => 'add'
2403
                                    ]
2404
                                ]
2405
                            ],
2406
                            'edit' => [
2407
                                'type' => Segment::class,
2408
                                'options' => [
2409
                                    'route' => '/edit/:id',
2410
                                    'constraints' => [
2411
                                        'id' => '[A-Za-z0-9\-]+\=*'
2412
                                    ],
2413
                                    'defaults' => [
2414
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2415
                                        'action' => 'edit'
2416
                                    ]
2417
                                ]
2418
                            ],
2419
                            'delete' => [
2420
                                'type' => Segment::class,
2421
                                'options' => [
2422
                                    'route' => '/delete/:id',
2423
                                    'constraints' => [
2424
                                        'id' => '[A-Za-z0-9\-]+\=*'
2425
                                    ],
2426
                                    'defaults' => [
2427
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2428
                                        'action' => 'delete'
2429
                                    ]
2430
                                ]
2431
                            ]
2432
                        ]
2433
                    ],
2434
 
2435
 
2436
                    'group-types' => [
2437
                        'type' => Literal::class,
2438
                        'options' => [
2439
                            'route' => '/group-types',
2440
                            'defaults' => [
2441
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2442
                                'action' => 'index'
2443
                            ]
2444
                        ],
2445
                        'may_terminate' => true,
2446
                        'child_routes' => [
2447
                            'add' => [
2448
                                'type' => Literal::class,
2449
                                'options' => [
2450
                                    'route' => '/add',
2451
                                    'defaults' => [
2452
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2453
                                        'action' => 'add'
2454
                                    ]
2455
                                ]
2456
                            ],
2457
                            'edit' => [
2458
                                'type' => Segment::class,
2459
                                'options' => [
2460
                                    'route' => '/edit/:id',
2461
                                    'constraints' => [
2462
                                        'id' => '[A-Za-z0-9\-]+\=*'
2463
                                    ],
2464
                                    'defaults' => [
2465
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2466
                                        'action' => 'edit'
2467
                                    ]
2468
                                ]
2469
                            ],
2470
                            'delete' => [
2471
                                'type' => Segment::class,
2472
                                'options' => [
2473
                                    'route' => '/delete/:id',
2474
                                    'constraints' => [
2475
                                        'id' => '[A-Za-z0-9\-]+\=*'
2476
                                    ],
2477
                                    'defaults' => [
2478
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2479
                                        'action' => 'delete'
2480
                                    ]
2481
                                ]
2482
                            ]
2483
                        ]
2484
                    ],
2485
 
2486
                    'job-categories' => [
2487
                        'type' => Literal::class,
2488
                        'options' => [
2489
                            'route' => '/job-categories',
2490
                            'defaults' => [
2491
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2492
                                'action' => 'index'
2493
                            ]
2494
                        ],
2495
                        'may_terminate' => true,
2496
                        'child_routes' => [
2497
                            'add' => [
2498
                                'type' => Literal::class,
2499
                                'options' => [
2500
                                    'route' => '/add',
2501
                                    'defaults' => [
2502
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2503
                                        'action' => 'add'
2504
                                    ]
2505
                                ]
2506
                            ],
2507
                            'edit' => [
2508
                                'type' => Segment::class,
2509
                                'options' => [
2510
                                    'route' => '/edit/:id',
2511
                                    'constraints' => [
2512
                                        'id' => '[A-Za-z0-9\-]+\=*'
2513
                                    ],
2514
                                    'defaults' => [
2515
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2516
                                        'action' => 'edit'
2517
                                    ]
2518
                                ]
2519
                            ],
2520
                            'delete' => [
2521
                                'type' => Segment::class,
2522
                                'options' => [
2523
                                    'route' => '/delete/:id',
2524
                                    'constraints' => [
2525
                                        'id' => '[A-Za-z0-9\-]+\=*'
2526
                                    ],
2527
                                    'defaults' => [
2528
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2529
                                        'action' => 'delete'
2530
                                    ]
2531
                                ]
2532
                            ]
2533
                        ]
2534
                    ],
2535
 
28 efrain 2536
                    'jobs-description' => [
2537
                        'type' => Literal::class,
2538
                        'options' => [
2539
                            'route' => '/jobs-description',
2540
                            'defaults' => [
2541
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2542
                                'action' => 'index'
2543
                            ]
2544
                        ],
2545
                        'may_terminate' => true,
2546
                        'child_routes' => [
2547
                            'add' => [
2548
                                'type' => Literal::class,
2549
                                'options' => [
2550
                                    'route' => '/add',
2551
                                    'defaults' => [
2552
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2553
                                        'action' => 'add'
2554
                                    ]
2555
                                ]
2556
                            ],
2557
                            'edit' => [
2558
                                'type' => Segment::class,
2559
                                'options' => [
2560
                                    'route' => '/edit/:id',
2561
                                    'constraints' => [
2562
                                        'id' => '[A-Za-z0-9\-]+\=*'
2563
                                    ],
2564
                                    'defaults' => [
2565
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2566
                                        'action' => 'edit'
2567
                                    ]
2568
                                ]
2569
                            ],
2570
                            'delete' => [
2571
                                'type' => Segment::class,
2572
                                'options' => [
2573
                                    'route' => '/delete/:id',
2574
                                    'constraints' => [
2575
                                        'id' => '[A-Za-z0-9\-]+\=*'
2576
                                    ],
2577
                                    'defaults' => [
2578
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2579
                                        'action' => 'delete'
2580
                                    ]
2581
                                ]
559 geraldo 2582
                            ],
2583
                            'report' => [
2584
                                'type' => Segment::class,
2585
                                'options' => [
2586
                                    'route' => '/report/:id',
2587
                                    'constraints' => [
2588
                                        'id' => '[A-Za-z0-9\-]+\=*'
2589
                                    ],
2590
                                    'defaults' => [
2591
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2592
                                        'action' => 'report'
2593
                                    ]
2594
                                ]
2595
                            ],
2596
 
28 efrain 2597
                        ]
2598
                    ],
1 www 2599
 
2600
 
2601
                    'email-templates' => [
2602
                        'type' => Literal::class,
2603
                        'options' => [
2604
                            'route' => '/email-templates',
2605
                            'defaults' => [
2606
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2607
                                'action' => 'index'
2608
                            ]
2609
                        ],
2610
                        'may_terminate' => true,
2611
                        'child_routes' => [
2612
                            'edit' => [
2613
                                'type' => Segment::class,
2614
                                'options' => [
2615
                                    'route' => '/edit/:id',
2616
                                    'constraints' => [
2617
                                        'id' => '[A-Za-z0-9\-]+\=*'
2618
                                    ],
2619
                                    'defaults' => [
2620
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2621
                                        'action' => 'edit'
2622
                                    ]
2623
                                ]
2624
                            ],
2625
                        ]
2626
                    ],
2627
 
67 efrain 2628
                    'positions' => [
2629
                        'type' => Literal::class,
2630
                        'options' => [
2631
                            'route' => '/positions',
2632
                            'defaults' => [
2633
                                'controller' => '\LeadersLinked\Controller\PositionController',
2634
                                'action' => 'index'
2635
                            ]
2636
                        ],
2637
                        'may_terminate' => true,
2638
                        'child_routes' => [
2639
                            'add' => [
2640
                                'type' => Literal::class,
2641
                                'options' => [
2642
                                    'route' => '/add',
2643
                                    'defaults' => [
2644
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2645
                                        'action' => 'add'
2646
                                    ]
2647
                                ]
2648
                            ],
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\PositionController',
2658
                                        'action' => 'edit'
2659
                                    ]
2660
                                ]
2661
                            ],
2662
                            'delete' => [
2663
                                'type' => Segment::class,
2664
                                'options' => [
2665
                                    'route' => '/delete/:id',
2666
                                    'constraints' => [
2667
                                        'id' => '[A-Za-z0-9\-]+\=*'
2668
                                    ],
2669
                                    'defaults' => [
2670
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2671
                                        'action' => 'delete'
2672
                                    ]
2673
                                ]
2674
                            ],
2675
                        ]
2676
                    ],
2677
 
1 www 2678
                    'push-templates' => [
2679
                        'type' => Literal::class,
2680
                        'options' => [
2681
                            'route' => '/push-templates',
2682
                            'defaults' => [
2683
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2684
                                'action' => 'index'
2685
                            ]
2686
                        ],
2687
                        'may_terminate' => true,
2688
                        'child_routes' => [
2689
                            'edit' => [
2690
                                'type' => Segment::class,
2691
                                'options' => [
2692
                                    'route' => '/edit/:id',
2693
                                    'constraints' => [
2694
                                        'id' => '[A-Za-z0-9\-]+\=*'
2695
                                    ],
2696
                                    'defaults' => [
2697
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2698
                                        'action' => 'edit'
2699
                                    ]
2700
                                ]
2701
                            ],
2702
                        ]
2703
                    ],
2704
 
2705
                    'skills' => [
2706
                        'type' => Literal::class,
2707
                        'options' => [
2708
                            'route' => '/skills',
2709
                            'defaults' => [
2710
                                'controller' => '\LeadersLinked\Controller\SkillController',
2711
                                'action' => 'index'
2712
                            ]
2713
                        ],
2714
                        'may_terminate' => true,
2715
                        'child_routes' => [
2716
                            'add' => [
2717
                                'type' => Literal::class,
2718
                                'options' => [
2719
                                    'route' => '/add',
2720
                                    'defaults' => [
2721
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2722
                                        'action' => 'add'
2723
                                    ]
2724
                                ]
2725
                            ],
2726
                            'edit' => [
2727
                                'type' => Segment::class,
2728
                                'options' => [
2729
                                    'route' => '/edit/:id',
2730
                                    'constraints' => [
2731
                                        'id' => '[A-Za-z0-9\-]+\=*'
2732
                                    ],
2733
                                    'defaults' => [
2734
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2735
                                        'action' => 'edit'
2736
                                    ]
2737
                                ]
2738
                            ],
2739
                            'delete' => [
2740
                                'type' => Segment::class,
2741
                                'options' => [
2742
                                    'route' => '/delete/:id',
2743
                                    'constraints' => [
2744
                                        'id' => '[A-Za-z0-9\-]+\=*'
2745
                                    ],
2746
                                    'defaults' => [
2747
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2748
                                        'action' => 'delete'
2749
                                    ]
2750
                                ]
2751
                            ]
2752
                        ]
2753
                    ],
2754
 
2755
                ]
2756
            ],
2757
 
2758
 
2759
 
2760
 
2761
 
2762
            /*** FIN SETTINGS ***/
2763
 
2764
 
2765
 
2766
        ]
2767
    ],
2768
 
2769
    'controllers' => [
2770
        'factories' => [
2771
 
2772
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
2773
 
2774
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
2775
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
2776
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
2777
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
2778
 
2779
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
2780
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
2781
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
2782
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
2783
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
2784
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
2785
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
2786
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
2787
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
2788
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 2789
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 2790
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 2791
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 2792
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
2793
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
2794
 
2795
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
2796
 
2797
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
2798
 
2799
 
115 efrain 2800
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
2801
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
2802
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
247 geraldo 2803
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
114 efrain 2804
 
131 efrain 2805
 
2806
 
2807
 
1 www 2808
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 2809
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
2810
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
2811
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
2812
 
1 www 2813
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
2814
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
2815
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
2816
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
2817
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
2818
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
2819
 
2820
 
2821
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
2822
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
2823
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
2824
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
2825
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
2826
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
2827
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
2828
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
2829
 
2830
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
66 efrain 2831
 
2832
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 2833
 
2834
        ],
2835
 
2836
        'aliases' => [
2837
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
2838
 
2839
 
2840
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
2841
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
2842
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
2843
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
2844
 
2845
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
2846
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
2847
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
2848
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
2849
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
2850
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
67 efrain 2851
 
2852
 
2853
           '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 2854
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
2855
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
2856
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 2857
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 2858
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 2859
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 2860
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
67 efrain 2861
 
1 www 2862
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
2863
 
2864
 
2865
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
2866
 
2867
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
2868
 
114 efrain 2869
 
115 efrain 2870
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
2871
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
2872
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
247 geraldo 2873
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
114 efrain 2874
 
1 www 2875
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 2876
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
2877
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
2878
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 2879
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
2880
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
2881
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
2882
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
2883
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
2884
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
2885
 
2886
 
2887
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
2888
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
2889
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
2890
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
2891
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
2892
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
2893
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
2894
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
2895
 
2896
 
2897
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
66 efrain 2898
 
2899
 
2900
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1 www 2901
 
2902
        ]
2903
    ],
2904
 
2905
    'laminas-cli' => [
2906
        'commands' => [
2907
 
2908
      ]
2909
    ],
2910
 
2911
    'service_manager' => [
2912
        'abstract_factories' => [
2913
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
2914
        ],
2915
        'factories' => [
2916
            'RenderingStrategy' => function ($container) {
2917
                $translator = $container->get('MvcTranslator');
2918
                return new \LeadersLinked\View\RenderingStrategy($translator);
2919
            },
2920
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
2921
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
2922
 
2923
         ],
2924
        'aliases' => [ // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
2925
        ]
2926
    ],
2927
    'view_helpers' => [
2928
        'factories' => [
2929
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
2930
        ],
2931
        'invokables' => [
2932
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
2933
        ],
2934
        'aliases' => [
2935
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
2936
        ]
2937
    ],
2938
    'controller_plugins' => [
2939
        'invokables' => [],
2940
        'factories' => [
2941
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
2942
        ],
2943
        'aliases' => [
2944
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
2945
        ]
2946
    ],
2947
    'view_manager' => [
2948
        'display_not_found_reason' => true,
2949
        'display_exceptions' => true,
2950
        'doctype' => 'HTML5',
2951
        'not_found_template' => 'error/404',
2952
        'exception_template' => 'error/index',
2953
        'template_map' => [
2954
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
2955
            'error/404' => __DIR__ . '/../view/error/404.phtml',
2956
            'error/index' => __DIR__ . '/../view/error/index.phtml'
2957
        ],
2958
        'template_path_stack' => [
2959
            __DIR__ . '/../view'
2960
        ],
2961
        'strategies' => [
2962
            'ViewJsonStrategy',
2963
            'RenderingStrategy'
2964
        ]
2965
    ]
2966
];
2967