Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 13016 | Rev 13052 | 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
1089 geraldo 2
 
3
declare(strict_types=1);
4
 
1 www 5
namespace LeadersLinked;
6
 
7
use Laminas\Router\Http\Literal;
8
use Laminas\Router\Http\Segment;
9
use Laminas\ServiceManager\Factory\InvokableFactory;
1089 geraldo 10
 
1 www 11
return [
12
    'navigation' => [
13
        'menu' => [
14
        ],
15
        'footer' => [
16
        ]
17
    ],
18
    'router' => [
19
        'routes' => [
20
            'home' => [
21
                'type' => Literal::class,
22
                'options' => [
23
                    'route' => '/',
24
                    'defaults' => [
25
                        'controller' => '\LeadersLinked\Controller\AuthController',
26
                        'action' => 'index'
27
                    ]
28
                ]
29
            ],
30
            'signin-company' => [
31
                'type' => Literal::class,
32
                'options' => [
33
                    'route' => '/signin-company',
34
                    'defaults' => [
35
                        'controller' => '\LeadersLinked\Controller\AuthController',
36
                        'action' => 'signinCompany'
37
                    ]
38
                ],
39
                'may_terminate' => true,
40
            ],
41
            'signin-admin' => [
42
                'type' => Literal::class,
43
                'options' => [
44
                    'route' => '/signin-admin',
45
                    'defaults' => [
46
                        'controller' => '\LeadersLinked\Controller\AuthController',
47
                        'action' => 'signinAdmin'
48
                    ]
49
                ],
50
                'may_terminate' => true,
51
            ],
52
            'signout' => [
53
                'type' => Literal::class,
54
                'options' => [
55
                    'route' => '/signout',
56
                    'defaults' => [
57
                        'controller' => '\LeadersLinked\Controller\AuthController',
58
                        'action' => 'signout'
59
                    ]
60
                ],
61
                'may_terminate' => true,
62
            ],
63
            'dashboard' => [
64
                'type' => Literal::class,
65
                'options' => [
66
                    'route' => '/dashboard',
67
                    'defaults' => [
68
                        'controller' => '\LeadersLinked\Controller\DashboardController',
69
                        'action' => 'index'
70
                    ]
71
                ]
72
            ],
73
            'storage' => [
74
                'type' => Segment::class,
75
                'options' => [
8573 eleazar 76
                    'route' => '/storage/type/:type[/code/:code][/code2/:code2][/filename/:filename]',
8546 efrain 77
                    'constraints' => [
8552 efrain 78
                        '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|recruitment-selection',
1 www 79
                        'code' => '[A-Za-z0-9\-]+\=*',
8536 efrain 80
                        'code2' => '[A-Za-z0-9\-]+\=*',
1 www 81
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
8552 efrain 82
                    ],
1 www 83
                    'defaults' => [
84
                        'controller' => '\LeadersLinked\Controller\StorageController',
85
                        'action' => 'download'
86
                    ]
87
                ]
88
            ],
1089 geraldo 89
            /*             * *** START TEST **** */
66 efrain 90
            'test' => [
91
                'type' => Literal::class,
92
                'options' => [
93
                    'route' => '/test',
94
                    'defaults' => [
95
                        'controller' => '\LeadersLinked\Controller\TestController',
96
                        'action' => 'index'
97
                    ]
98
                ],
99
                'may_terminate' => true,
100
                'child_routes' => [
101
                    'method-one' => [
102
                        'type' => Literal::class,
103
                        'options' => [
104
                            'route' => '/method-one',
105
                            'defaults' => [
106
                                'controller' => '\LeadersLinked\Controller\TestController',
107
                                'action' => 'methodOne'
108
                            ]
109
                        ]
110
                    ],
111
                    'method-one' => [
112
                        'type' => Literal::class,
113
                        'options' => [
114
                            'route' => '/method-one',
115
                            'defaults' => [
116
                                'controller' => '\LeadersLinked\Controller\TestController',
117
                                'action' => 'methodOne'
118
                            ]
119
                        ]
120
                    ],
121
                    'method-two' => [
122
                        'type' => Literal::class,
123
                        'options' => [
124
                            'route' => '/method-two',
125
                            'defaults' => [
126
                                'controller' => '\LeadersLinked\Controller\TestController',
127
                                'action' => 'methodTwo'
128
                            ]
129
                        ]
130
                    ],
131
                    'method-three' => [
132
                        'type' => Literal::class,
133
                        'options' => [
134
                            'route' => '/method-three',
135
                            'defaults' => [
136
                                'controller' => '\LeadersLinked\Controller\TestController',
137
                                'action' => 'methodThree'
138
                            ]
139
                        ]
140
                    ],
141
                    'method-four' => [
142
                        'type' => Literal::class,
143
                        'options' => [
144
                            'route' => '/method-four',
145
                            'defaults' => [
146
                                'controller' => '\LeadersLinked\Controller\TestController',
147
                                'action' => 'methodFour'
148
                            ]
149
                        ]
150
                    ],
151
                ],
1089 geraldo 152
            ],
153
            /*             * *** END TEST **** */
154
 
155
            /*             * * START COMPANIES ** */
1 www 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
                ],
1089 geraldo 207
            ],
208
            /*             * * START USERS ** */
1 www 209
            'users' => [
210
                'type' => Literal::class,
211
                'options' => [
212
                    'route' => '/users',
213
                    'defaults' => [
214
                        'controller' => '\LeadersLinked\Controller\UserController',
215
                        'action' => 'index'
216
                    ]
217
                ],
218
                'may_terminate' => true,
219
                'child_routes' => [
220
                    'change-password' => [
221
                        'type' => Segment::class,
222
                        'options' => [
223
                            'route' => '/change-password/:id',
224
                            'constraints' => [
225
                                'id' => '[A-Za-z0-9\-]+\=*'
226
                            ],
227
                            'defaults' => [
228
                                'controller' => '\LeadersLinked\Controller\UserController',
229
                                'action' => 'change-password'
230
                            ]
231
                        ]
232
                    ],
233
                    'unblock' => [
234
                        'type' => Segment::class,
235
                        'options' => [
236
                            'route' => '/unblock/:id',
237
                            'constraints' => [
238
                                'id' => '[A-Za-z0-9\-]+\=*'
239
                            ],
240
                            'defaults' => [
241
                                'controller' => '\LeadersLinked\Controller\UserController',
242
                                'action' => 'unblock'
243
                            ]
244
                        ]
245
                    ],
129 efrain 246
                    'email-verify' => [
247
                        'type' => Segment::class,
248
                        'options' => [
249
                            'route' => '/email-verify/:id',
250
                            'constraints' => [
251
                                'id' => '[A-Za-z0-9\-]+\=*'
252
                            ],
253
                            'defaults' => [
254
                                'controller' => '\LeadersLinked\Controller\UserController',
255
                                'action' => 'emailVerify'
256
                            ]
257
                        ]
258
                    ],
1 www 259
                    'invite' => [
260
                        'type' => Segment::class,
261
                        'options' => [
262
                            'route' => '/invite',
263
                            'defaults' => [
264
                                'controller' => '\LeadersLinked\Controller\UserController',
265
                                'action' => 'invite'
266
                            ]
267
                        ]
268
                    ],
269
                    'accept' => [
270
                        'type' => Segment::class,
271
                        'options' => [
272
                            'route' => '/accept/:id',
273
                            'constraints' => [
274
                                'id' => '[A-Za-z0-9\-]+\=*'
275
                            ],
276
                            'defaults' => [
277
                                'controller' => '\LeadersLinked\Controller\UserController',
278
                                'action' => 'accept'
279
                            ]
280
                        ]
281
                    ],
282
                    'cancel' => [
283
                        'type' => Segment::class,
284
                        'options' => [
285
                            'route' => '/cancel/:id',
286
                            'constraints' => [
287
                                'id' => '[A-Za-z0-9\-]+\=*'
288
                            ],
289
                            'defaults' => [
290
                                'controller' => '\LeadersLinked\Controller\UserController',
291
                                'action' => 'cancel'
292
                            ]
293
                        ]
294
                    ],
295
                    'reject' => [
296
                        'type' => Segment::class,
297
                        'options' => [
298
                            'route' => '/reject/:id',
299
                            'constraints' => [
300
                                'id' => '[A-Za-z0-9\-]+\=*'
301
                            ],
302
                            'defaults' => [
303
                                'controller' => '\LeadersLinked\Controller\UserController',
304
                                'action' => 'reject'
305
                            ]
306
                        ]
307
                    ],
308
                    'edit' => [
309
                        'type' => Segment::class,
310
                        'options' => [
311
                            'route' => '/edit/:id',
312
                            'constraints' => [
313
                                'id' => '[A-Za-z0-9\-]+\=*'
314
                            ],
315
                            'defaults' => [
316
                                'controller' => '\LeadersLinked\Controller\UserController',
317
                                'action' => 'edit'
318
                            ]
319
                        ]
320
                    ],
321
                    'upload' => [
322
                        'type' => Literal::class,
323
                        'options' => [
324
                            'route' => '/upload',
325
                            'defaults' => [
326
                                'controller' => '\LeadersLinked\Controller\UserController',
327
                                'action' => 'upload'
328
                            ]
329
                        ]
330
                    ],
331
                ]
1089 geraldo 332
            ],
333
            /** START FEEDS * */
1 www 334
            'feeds' => [
335
                'type' => Literal::class,
336
                'options' => [
337
                    'route' => '/feeds',
338
                    'defaults' => [
339
                        'controller' => '\LeadersLinked\Controller\FeedController',
340
                        'action' => 'index'
341
                    ]
342
                ],
343
                'may_terminate' => true,
344
                'child_routes' => [
345
                    'timeline' => [
7368 nelberth 346
                        'type' => Segment::class,
1 www 347
                        'options' => [
11111 nelberth 348
                            'route' => '/timeline[/id/:id][/type/:type][/urgent/:urgent][/myt_id/:myt_id][/feed/:feed][/topic_id/:topic_id][/hptg_id/:hptg_id]',
7346 nelberth 349
                            'constraints' => [
350
                                'id' => '[A-Za-z0-9\-]+\=*',
11110 nelberth 351
                                'type' => 'user|company|hptg|mytq|myta',
10817 eleazar 352
                                'myt_id' => '[A-Za-z0-9\-]+\=*',
11098 nelberth 353
                                'hptg_id'=>'[A-Za-z0-9\-]+\=*',
7362 nelberth 354
                                'feed' => '[A-Za-z0-9\-]+\=*',
11090 nelberth 355
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
8726 nelberth 356
                                'urgent' => 'u',
7346 nelberth 357
                            ],
1 www 358
                            'defaults' => [
359
                                'controller' => '\LeadersLinked\Controller\FeedController',
360
                                'action' => 'timeline'
361
                            ]
362
                        ]
363
                    ],
10119 nelberth 364
                    'onefeed' => [
365
                        'type' => Segment::class,
366
                        'options' => [
11090 nelberth 367
                            'route' => '/onefeed[/:feed_id][/:topic_id][/:group_id]',
10119 nelberth 368
                            'constraints' => [
11090 nelberth 369
                                'group_id' => '[A-Za-z0-9\-]+\=*',
370
                                'feed_id' => '[A-Za-z0-9\-]+\=*',
10119 nelberth 371
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
372
                            ],
373
                            'defaults' => [
374
                                'controller' => '\LeadersLinked\Controller\FeedController',
375
                                'action' => 'oneFeed'
376
                            ]
377
                        ]
378
                    ],
1 www 379
                    'delete' => [
380
                        'type' => Segment::class,
381
                        'options' => [
382
                            'route' => '/delete/:id',
383
                            'constraints' => [
384
                                'id' => '[A-Za-z0-9\-]+\=*',
385
                            ],
386
                            'defaults' => [
387
                                'controller' => '\LeadersLinked\Controller\FeedController',
388
                                'action' => 'delete'
389
                            ],
390
                        ]
391
                    ],
392
                    'comments' => [
393
                        'type' => Segment::class,
394
                        'options' => [
395
                            'route' => '/comments/:id',
396
                            'constraints' => [
397
                                'id' => '[A-Za-z0-9\-]+\=*',
398
                            ],
399
                            'defaults' => [
400
                                'controller' => '\LeadersLinked\Controller\FeedController',
401
                                'action' => 'comment'
402
                            ],
403
                        ],
404
                        'may_terminate' => true,
405
                        'child_routes' => [
406
                            'delete' => [
407
                                'type' => Segment::class,
408
                                'options' => [
409
                                    'route' => '/delete/:comment',
410
                                    'constraints' => [
411
                                        'comment' => '[A-Za-z0-9\-]+\=*',
412
                                    ],
413
                                    'defaults' => [
414
                                        'controller' => '\LeadersLinked\Controller\FeedController',
415
                                        'action' => 'commentDelete'
416
                                    ]
417
                                ]
418
                            ],
8384 nelberth 419
 
420
                            'answer' => [
421
                                'type' => Segment::class,
422
                                'options' => [
423
                                    'route' => '/answer/:comment',
424
                                    'constraints' => [
425
                                        'comment' => '[A-Za-z0-9\-]+\=*',
426
                                    ],
427
                                    'defaults' => [
428
                                        'controller' => '\LeadersLinked\Controller\FeedController',
8402 nelberth 429
                                        'action' => 'answer'
8384 nelberth 430
                                    ]
431
                                ]
432
                            ],
1 www 433
                        ]
434
                    ],
435
                    'add' => [
436
                        'type' => Segment::class,
437
                        'options' => [
11126 nelberth 438
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding][/type/:type][/feed/:feed][/myt_id/:myt_id][/hptg_id/:hptg_id][/topic_id/:topic_id]',
1 www 439
                            'constraints' => [
440
                                'company_id' => '[A-Za-z0-9\-]+\=*',
441
                                'group_id' => '[A-Za-z0-9\-]+\=*',
11122 nelberth 442
                                'hptg_id' => '[A-Za-z0-9\-]+\=*',
11126 nelberth 443
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
10976 eleazar 444
                                'myt_id' => '[A-Za-z0-9\-]+\=*',
11003 eleazar 445
                                'type' => 'group|company|hptg|mytq|myta',
1 www 446
                                'encoding' => 'base64'
447
                            ],
448
                            'defaults' => [
449
                                'controller' => '\LeadersLinked\Controller\FeedController',
450
                                'action' => 'add'
451
                            ]
452
                        ]
453
                    ],
454
                ],
1089 geraldo 455
            ],
456
            /** START JOBS * */
1 www 457
            'jobs' => [
458
                'type' => Literal::class,
459
                'options' => [
460
                    'route' => '/jobs',
461
                    'defaults' => [
462
                        'controller' => '\LeadersLinked\Controller\JobController',
463
                        'action' => 'index'
464
                    ]
465
                ],
466
                'may_terminate' => true,
467
                'child_routes' => [
468
                    'add' => [
469
                        'type' => Literal::class,
470
                        'options' => [
471
                            'route' => '/add',
472
                            'defaults' => [
473
                                'controller' => '\LeadersLinked\Controller\JobController',
474
                                'action' => 'add'
475
                            ]
476
                        ],
477
                    ],
478
                    'delete' => [
479
                        'type' => Segment::class,
480
                        'options' => [
481
                            'route' => '/delete/:id',
482
                            'constraints' => [
483
                                'id' => '[A-Za-z0-9\-]+\=*'
484
                            ],
485
                            'defaults' => [
486
                                'controller' => '\LeadersLinked\Controller\JobController',
487
                                'action' => 'delete'
488
                            ]
489
                        ],
490
                    ],
491
                    'users-who-applied' => [
492
                        'type' => Segment::class,
493
                        'options' => [
494
                            'route' => '/users-who-applied/:id',
495
                            'constraints' => [
496
                                'id' => '[A-Za-z0-9\-]+\=*'
497
                            ],
498
                            'defaults' => [
499
                                'controller' => '\LeadersLinked\Controller\JobController',
500
                                'action' => 'usersWhoApplied'
501
                            ]
502
                        ],
503
                    ],
504
                    'edit' => [
505
                        'type' => Segment::class,
506
                        'options' => [
507
                            'route' => '/edit/:id',
508
                            'constraints' => [
509
                                'id' => '[A-Za-z0-9\-]+\=*'
510
                            ],
511
                            'defaults' => [
512
                                'controller' => '\LeadersLinked\Controller\JobController',
513
                                'action' => 'edit'
514
                            ]
515
                        ],
516
                        'may_terminate' => true,
517
                        'child_routes' => [
518
                            'status' => [
519
                                'type' => Literal::class,
520
                                'options' => [
521
                                    'route' => '/status',
522
                                    'defaults' => [
523
                                        'controller' => '\LeadersLinked\Controller\JobController',
524
                                        'action' => 'status'
525
                                    ]
526
                                ],
527
                            ],
528
                            'title' => [
529
                                'type' => Literal::class,
530
                                'options' => [
531
                                    'route' => '/title',
532
                                    'defaults' => [
533
                                        'controller' => '\LeadersLinked\Controller\JobController',
534
                                        'action' => 'title'
535
                                    ]
536
                                ],
537
                            ],
538
                            'last-date-of-application' => [
539
                                'type' => Literal::class,
540
                                'options' => [
541
                                    'route' => '/last-date-of-application',
542
                                    'defaults' => [
543
                                        'controller' => '\LeadersLinked\Controller\JobController',
544
                                        'action' => 'lastDateOfApplication'
545
                                    ]
546
                                ],
547
                            ],
548
                            'experience' => [
549
                                'type' => Literal::class,
550
                                'options' => [
551
                                    'route' => '/experience',
552
                                    'defaults' => [
553
                                        'controller' => '\LeadersLinked\Controller\JobController',
554
                                        'action' => 'experience'
555
                                    ]
556
                                ],
557
                            ],
558
                            'employment-type' => [
559
                                'type' => Literal::class,
560
                                'options' => [
561
                                    'route' => '/employment-type',
562
                                    'defaults' => [
563
                                        'controller' => '\LeadersLinked\Controller\JobController',
564
                                        'action' => 'employmentType'
565
                                    ]
566
                                ],
567
                            ],
568
                            'job-category' => [
569
                                'type' => Literal::class,
570
                                'options' => [
571
                                    'route' => '/job-category',
572
                                    'defaults' => [
573
                                        'controller' => '\LeadersLinked\Controller\JobController',
574
                                        'action' => 'jobCategory'
575
                                    ]
576
                                ],
577
                            ],
578
                            'extended' => [
579
                                'type' => Literal::class,
580
                                'options' => [
581
                                    'route' => '/extended',
582
                                    'defaults' => [
583
                                        'controller' => '\LeadersLinked\Controller\JobController',
584
                                        'action' => 'extended'
585
                                    ]
586
                                ],
587
                            ],
588
                            'location' => [
589
                                'type' => Literal::class,
590
                                'options' => [
591
                                    'route' => '/location',
592
                                    'defaults' => [
593
                                        'controller' => '\LeadersLinked\Controller\JobController',
594
                                        'action' => 'location'
595
                                    ]
596
                                ],
597
                            ],
598
                            'salary' => [
599
                                'type' => Literal::class,
600
                                'options' => [
601
                                    'route' => '/salary',
602
                                    'defaults' => [
603
                                        'controller' => '\LeadersLinked\Controller\JobController',
604
                                        'action' => 'salary'
605
                                    ]
606
                                ],
607
                            ],
608
                            'degrees' => [
609
                                'type' => Literal::class,
610
                                'options' => [
611
                                    'route' => '/degrees',
612
                                    'defaults' => [
613
                                        'controller' => '\LeadersLinked\Controller\JobController',
614
                                        'action' => 'degree'
615
                                    ]
616
                                ],
617
                            ],
618
                            'languages' => [
619
                                'type' => Literal::class,
620
                                'options' => [
621
                                    'route' => '/languages',
622
                                    'defaults' => [
623
                                        'controller' => '\LeadersLinked\Controller\JobController',
624
                                        'action' => 'language'
625
                                    ]
626
                                ],
627
                            ],
628
                            'skills' => [
629
                                'type' => Literal::class,
630
                                'options' => [
631
                                    'route' => '/skills',
632
                                    'defaults' => [
633
                                        'controller' => '\LeadersLinked\Controller\JobController',
634
                                        'action' => 'skill'
635
                                    ]
636
                                ],
637
                            ],
638
                            'how-apply' => [
639
                                'type' => Literal::class,
640
                                'options' => [
641
                                    'route' => '/how-apply',
642
                                    'defaults' => [
643
                                        'controller' => '\LeadersLinked\Controller\JobController',
644
                                        'action' => 'howApply'
645
                                    ]
646
                                ],
647
                            ],
648
                        ],
649
                    ]
650
                ],
651
            ],
1089 geraldo 652
            /*             * * END JOB * */
653
 
654
            /*             * *** START PROFILE *** */
1 www 655
            'profile' => [
656
                'type' => Literal::class,
657
                'options' => [
658
                    'route' => '/profile',
659
                    'defaults' => [
660
                        'controller' => '\LeadersLinked\Controller\ProfileController',
661
                        'action' => 'index'
662
                    ]
663
                ],
664
                'may_terminate' => true,
665
                'child_routes' => [
666
                    'extended' => [
667
                        'type' => Segment::class,
668
                        'options' => [
669
                            'route' => '/extended',
670
                            'defaults' => [
671
                                'controller' => '\LeadersLinked\Controller\ProfileController',
672
                                'action' => 'extended'
673
                            ]
674
                        ]
675
                    ],
676
                    'image' => [
677
                        'type' => Segment::class,
678
                        'options' => [
679
                            'route' => '/image/:operation',
680
                            'constraints' => [
681
                                'operation' => 'upload|delete'
682
                            ],
683
                            'defaults' => [
684
                                'controller' => '\LeadersLinked\Controller\ProfileController',
685
                                'action' => 'image'
686
                            ]
687
                        ]
688
                    ],
689
                    'cover' => [
690
                        'type' => Segment::class,
691
                        'options' => [
692
                            'route' => '/cover/:operation',
693
                            'constraints' => [
694
                                'operation' => 'upload|delete'
695
                            ],
696
                            'defaults' => [
697
                                'controller' => '\LeadersLinked\Controller\ProfileController',
698
                                'action' => 'cover'
699
                            ]
700
                        ]
701
                    ],
768 geraldo 702
                    'header' => [
703
                        'type' => Segment::class,
704
                        'options' => [
705
                            'route' => '/header/:operation',
706
                            'constraints' => [
707
                                'operation' => 'upload|delete'
708
                            ],
709
                            'defaults' => [
710
                                'controller' => '\LeadersLinked\Controller\ProfileController',
711
                                'action' => 'header'
712
                            ]
713
                        ]
714
                    ],
715
                    'footer' => [
716
                        'type' => Segment::class,
717
                        'options' => [
718
                            'route' => '/footer/:operation',
719
                            'constraints' => [
720
                                'operation' => 'upload|delete'
721
                            ],
722
                            'defaults' => [
723
                                'controller' => '\LeadersLinked\Controller\ProfileController',
724
                                'action' => 'footer'
725
                            ]
726
                        ]
727
                    ],
1 www 728
                    'website' => [
729
                        'type' => Segment::class,
730
                        'options' => [
731
                            'route' => '/website',
732
                            'defaults' => [
733
                                'controller' => '\LeadersLinked\Controller\ProfileController',
734
                                'action' => 'website'
735
                            ]
736
                        ]
737
                    ],
738
                    'foundation_year' => [
739
                        'type' => Segment::class,
740
                        'options' => [
741
                            'route' => '/foundation_year',
742
                            'defaults' => [
743
                                'controller' => '\LeadersLinked\Controller\ProfileController',
744
                                'action' => 'foundationYear'
745
                            ]
746
                        ]
747
                    ],
748
                    'location' => [
749
                        'type' => Segment::class,
750
                        'options' => [
751
                            'route' => '/location/:operation[/:id]',
752
                            'constraints' => [
753
                                'operation' => 'add|edit|delete',
754
                                'id' => '[A-Za-z0-9\-]+\=*'
755
                            ],
756
                            'defaults' => [
757
                                'controller' => '\LeadersLinked\Controller\ProfileController',
758
                                'action' => 'location'
759
                            ]
760
                        ]
761
                    ],
762
                    'social-network' => [
763
                        'type' => Segment::class,
764
                        'options' => [
765
                            'route' => '/social-network',
766
                            'defaults' => [
767
                                'controller' => '\LeadersLinked\Controller\ProfileController',
768
                                'action' => 'socialNetwork'
769
                            ]
770
                        ]
771
                    ],
772
                    'industry' => [
773
                        'type' => Segment::class,
774
                        'options' => [
775
                            'route' => '/industry',
776
                            'defaults' => [
777
                                'controller' => '\LeadersLinked\Controller\ProfileController',
778
                                'action' => 'industry'
779
                            ]
780
                        ]
781
                    ],
782
                    'company-size' => [
783
                        'type' => Segment::class,
784
                        'options' => [
785
                            'route' => '/company-size',
786
                            'defaults' => [
787
                                'controller' => '\LeadersLinked\Controller\ProfileController',
788
                                'action' => 'companySize'
789
                            ]
790
                        ]
791
                    ]
792
                ],
793
            ],
1089 geraldo 794
            /*             * * END PROFILE * */
795
 
796
            /*             * *** START FOLLOWERS *** */
1 www 797
            'followers' => [
798
                'type' => Literal::class,
799
                'options' => [
800
                    'route' => '/followers',
801
                    'defaults' => [
802
                        'controller' => '\LeadersLinked\Controller\FollowerController',
803
                        'action' => 'index'
804
                    ]
805
                ],
806
                'may_terminate' => true,
807
                'child_routes' => [
808
                    'delete' => [
809
                        'type' => Segment::class,
810
                        'options' => [
811
                            'route' => '/delete/:id',
812
                            'constraints' => [
813
                                'id' => '[A-Za-z0-9\-]+\=*'
814
                            ],
815
                            'defaults' => [
816
                                'controller' => '\LeadersLinked\Controller\FollowerController',
817
                                'action' => 'delete'
818
                            ]
819
                        ]
820
                    ],
1089 geraldo 821
                ],
822
            ],
823
            /*             * *** END FOLLOWERS *** */
824
 
825
            /*             * * START MICRO_LEARNING ** */
1 www 826
            'microlearning' => [
827
                'type' => Literal::class,
828
                'options' => [
829
                    'route' => '/microlearning',
830
                    'defaults' => [
831
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
832
                        'action' => 'index'
833
                    ]
834
                ],
835
                'may_terminate' => true,
836
                'child_routes' => [
837
                    'overview' => [
838
                        'type' => Literal::class,
839
                        'options' => [
840
                            'route' => '/overview',
841
                            'defaults' => [
842
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
843
                                'action' => 'overview'
844
                            ]
845
                        ],
1089 geraldo 846
                    ],
1 www 847
                    'reports' => [
848
                        'type' => Literal::class,
849
                        'options' => [
850
                            'route' => '/reports',
851
                            'defaults' => [
852
                                'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
2 efrain 853
                                'action' => 'index'
1 www 854
                            ]
855
                        ],
2 efrain 856
                        'may_terminate' => true,
857
                        'child_routes' => [
858
                            'progress' => [
859
                                'type' => Literal::class,
860
                                'options' => [
861
                                    'route' => '/progress',
862
                                    'defaults' => [
863
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
864
                                        'action' => 'progress'
865
                                    ]
866
                                ]
867
                            ],
187 efrain 868
                            'comments-for-capsule' => [
869
                                'type' => Literal::class,
870
                                'options' => [
871
                                    'route' => '/comments-for-capsule',
872
                                    'defaults' => [
873
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
874
                                        'action' => 'commentsForCapsule'
875
                                    ]
876
                                ]
877
                            ],
2 efrain 878
                            'devices' => [
879
                                'type' => Literal::class,
880
                                'options' => [
881
                                    'route' => '/devices',
882
                                    'defaults' => [
883
                                        'controller' => '\LeadersLinked\Controller\MicrolearningReportsController',
884
                                        'action' => 'devices'
885
                                    ]
886
                                ]
887
                            ],
1089 geraldo 888
                        ]
889
                    ],
1 www 890
                    'content' => [
891
                        'type' => Literal::class,
892
                        'options' => [
893
                            'route' => '/content',
894
                            'defaults' => [
895
                                'controller' => '\LeadersLinked\Controller\MicrolearningContentController',
896
                                'action' => 'index'
897
                            ]
898
                        ],
899
                        'may_terminate' => true,
900
                        'child_routes' => [
66 efrain 901
                            'quizzes' => [
902
                                'type' => Segment::class,
903
                                'options' => [
904
                                    'route' => '/quizzes',
905
                                    'defaults' => [
906
                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
907
                                        'action' => 'index'
908
                                    ]
909
                                ],
910
                                'may_terminate' => true,
911
                                'child_routes' => [
912
                                    'add' => [
913
                                        'type' => Literal::class,
914
                                        'options' => [
915
                                            'route' => '/add',
916
                                            'defaults' => [
917
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
918
                                                'action' => 'add'
919
                                            ]
920
                                        ]
921
                                    ],
922
                                    'edit' => [
923
                                        'type' => Segment::class,
924
                                        'options' => [
925
                                            'route' => '/:quiz_id/edit',
926
                                            'constraints' => [
927
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
928
                                            ],
929
                                            'defaults' => [
930
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
931
                                                'action' => 'edit'
932
                                            ]
933
                                        ]
934
                                    ],
935
                                    'delete' => [
936
                                        'type' => Segment::class,
937
                                        'options' => [
938
                                            'route' => '/:quiz_id/delete',
939
                                            'constraints' => [
940
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
941
                                            ],
942
                                            'defaults' => [
943
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
944
                                                'action' => 'delete'
945
                                            ]
946
                                        ]
947
                                    ],
948
                                    'check' => [
949
                                        'type' => Segment::class,
950
                                        'options' => [
951
                                            'route' => '/:quiz_id/check',
952
                                            'constraints' => [
953
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
954
                                            ],
955
                                            'defaults' => [
956
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
957
                                                'action' => 'check'
958
                                            ]
959
                                        ]
960
                                    ],
961
                                    'publish' => [
962
                                        'type' => Segment::class,
963
                                        'options' => [
964
                                            'route' => '/:quiz_id/publish',
965
                                            'constraints' => [
966
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
967
                                            ],
968
                                            'defaults' => [
969
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
970
                                                'action' => 'publish'
971
                                            ]
972
                                        ]
973
                                    ],
974
                                    'copy' => [
975
                                        'type' => Segment::class,
976
                                        'options' => [
977
                                            'route' => '/:quiz_id/copy',
978
                                            'constraints' => [
979
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
980
                                            ],
981
                                            'defaults' => [
982
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuizController',
983
                                                'action' => 'copy'
984
                                            ]
985
                                        ]
986
                                    ],
987
                                    'questions' => [
988
                                        'type' => Segment::class,
989
                                        'options' => [
990
                                            'route' => '/:quiz_id/questions',
991
                                            'constraints' => [
992
                                                'quiz_id' => '[A-Za-z0-9\-]+\=*'
993
                                            ],
994
                                            'defaults' => [
995
                                                'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
996
                                                'action' => 'index'
997
                                            ]
998
                                        ],
999
                                        'may_terminate' => true,
1000
                                        'child_routes' => [
1001
                                            'add' => [
1002
                                                'type' => Literal::class,
1003
                                                'options' => [
1004
                                                    'route' => '/add',
1005
                                                    'defaults' => [
1006
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1007
                                                        'action' => 'add'
1008
                                                    ]
1009
                                                ]
1010
                                            ],
1011
                                            'edit' => [
1012
                                                'type' => Segment::class,
1013
                                                'options' => [
1014
                                                    'route' => '/:question_id/edit',
1015
                                                    'constraints' => [
1016
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1017
                                                    ],
1018
                                                    'defaults' => [
1019
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1020
                                                        'action' => 'edit'
1021
                                                    ]
1022
                                                ]
1023
                                            ],
1024
                                            'delete' => [
1025
                                                'type' => Segment::class,
1026
                                                'options' => [
1027
                                                    'route' => '/:question_id/delete',
1028
                                                    'constraints' => [
1029
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1030
                                                    ],
1031
                                                    'defaults' => [
1032
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningQuestionController',
1033
                                                        'action' => 'delete'
1034
                                                    ]
1035
                                                ]
1036
                                            ],
1037
                                            'answers' => [
1038
                                                'type' => Segment::class,
1039
                                                'options' => [
1040
                                                    'route' => '/:question_id/answers',
1041
                                                    'constraints' => [
1042
                                                        'question_id' => '[A-Za-z0-9\-]+\=*'
1043
                                                    ],
1044
                                                    'defaults' => [
1045
                                                        'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1046
                                                        'action' => 'index'
1047
                                                    ]
1048
                                                ],
1049
                                                'may_terminate' => true,
1050
                                                'child_routes' => [
1051
                                                    'add' => [
1052
                                                        'type' => Literal::class,
1053
                                                        'options' => [
1054
                                                            'route' => '/add',
1055
                                                            'defaults' => [
1056
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1057
                                                                'action' => 'add'
1058
                                                            ]
1059
                                                        ]
1060
                                                    ],
1061
                                                    'edit' => [
1062
                                                        'type' => Segment::class,
1063
                                                        'options' => [
1064
                                                            'route' => '/:answer_id/edit',
1065
                                                            'constraints' => [
1066
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1067
                                                            ],
1068
                                                            'defaults' => [
1069
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1070
                                                                'action' => 'edit'
1071
                                                            ]
1072
                                                        ]
1073
                                                    ],
1074
                                                    'delete' => [
1075
                                                        'type' => Segment::class,
1076
                                                        'options' => [
1077
                                                            'route' => '/:answer_id/delete',
1078
                                                            'constraints' => [
1079
                                                                'answer_id' => '[A-Za-z0-9\-]+\=*'
1080
                                                            ],
1081
                                                            'defaults' => [
1082
                                                                'controller' => '\LeadersLinked\Controller\MicrolearningAnswerController',
1083
                                                                'action' => 'delete'
1084
                                                            ]
1085
                                                        ]
1086
                                                    ],
1087
                                                ]
1088
                                            ],
1089
                                        ]
1090
                                    ],
1091
                                ]
1089 geraldo 1092
                            ],
1 www 1093
                            'topics' => [
1094
                                'type' => Literal::class,
1095
                                'options' => [
1096
                                    'route' => '/topics',
1097
                                    'defaults' => [
1098
                                        'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1099
                                        'action' => 'index'
1100
                                    ]
1101
                                ],
1102
                                'may_terminate' => true,
1103
                                'child_routes' => [
1104
                                    'add' => [
1105
                                        'type' => Literal::class,
1106
                                        'options' => [
1107
                                            'route' => '/add',
1108
                                            'defaults' => [
1109
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1110
                                                'action' => 'add'
1111
                                            ]
1112
                                        ]
1113
                                    ],
1114
                                    'edit' => [
1115
                                        'type' => Segment::class,
1116
                                        'options' => [
1117
                                            'route' => '/edit/:id',
1118
                                            'constraints' => [
1119
                                                'id' => '[A-Za-z0-9\-]+\=*'
1120
                                            ],
1121
                                            'defaults' => [
1122
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1123
                                                'action' => 'edit'
1124
                                            ]
1125
                                        ]
1126
                                    ],
1127
                                    'delete' => [
1128
                                        'type' => Segment::class,
1129
                                        'options' => [
1130
                                            'route' => '/delete/:id',
1131
                                            'constraints' => [
1132
                                                'id' => '[A-Za-z0-9\-]+\=*'
1133
                                            ],
1134
                                            'defaults' => [
1135
                                                'controller' => '\LeadersLinked\Controller\MicrolearningTopicController',
1136
                                                'action' => 'delete'
1137
                                            ]
1138
                                        ]
1139
                                    ]
1140
                                ]
1141
                            ],
1142
                            'capsules' => [
1143
                                'type' => Literal::class,
1144
                                'options' => [
1145
                                    'route' => '/capsules',
1146
                                    'defaults' => [
1147
                                        'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1148
                                        'action' => 'index'
1149
                                    ]
1150
                                ],
1151
                                'may_terminate' => true,
1152
                                'child_routes' => [
1153
                                    'add' => [
1154
                                        'type' => Segment::class,
1155
                                        'options' => [
1156
                                            'route' => '/add/topic/:topic_uuid',
1157
                                            'constraints' => [
1158
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1159
                                            ],
1160
                                            'defaults' => [
1161
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1162
                                                'action' => 'add'
1163
                                            ]
1164
                                        ]
1165
                                    ],
1166
                                    'edit' => [
1167
                                        'type' => Segment::class,
1168
                                        'options' => [
1169
                                            'route' => '/edit/topic/:topic_uuid/id/:capsule_uuid',
1170
                                            'constraints' => [
1171
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1172
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1173
                                            ],
1174
                                            'defaults' => [
1175
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1176
                                                'action' => 'edit'
1177
                                            ]
1178
                                        ]
1179
                                    ],
1180
                                    'delete' => [
1181
                                        'type' => Segment::class,
1182
                                        'options' => [
1183
                                            'route' => '/delete/topic/:topic_uuid/id/:capsule_uuid',
1184
                                            'constraints' => [
1185
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1186
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1187
                                            ],
1188
                                            'defaults' => [
1189
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1190
                                                'action' => 'delete'
1191
                                            ]
1192
                                        ]
1193
                                    ],
1194
                                    'users' => [
1195
                                        'type' => Segment::class,
1196
                                        'options' => [
1197
                                            'route' => '/users/topic/:topic_uuid/id/:capsule_uuid/type/:type',
1198
                                            'constraints' => [
1199
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1200
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1201
                                                'type' => 'all|active',
1202
                                            ],
1203
                                            'defaults' => [
1204
                                                'controller' => '\LeadersLinked\Controller\MicrolearningCapsuleController',
1205
                                                'action' => 'users'
1206
                                            ]
1207
                                        ]
1208
                                    ],
1209
                                ]
1210
                            ],
1211
                            'slides' => [
1212
                                'type' => Literal::class,
1213
                                'options' => [
1214
                                    'route' => '/slides',
1215
                                    'defaults' => [
1216
                                        'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1217
                                        'action' => 'index'
1218
                                    ]
1219
                                ],
1220
                                'may_terminate' => true,
1221
                                'child_routes' => [
1222
                                    'add' => [
1223
                                        'type' => Segment::class,
1224
                                        'options' => [
1225
                                            'route' => '/add/topic/:topic_uuid/capsule/:capsule_uuid',
1226
                                            'constraints' => [
1227
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1228
                                            ],
1229
                                            'defaults' => [
1230
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1231
                                                'action' => 'add'
1232
                                            ]
1233
                                        ]
1234
                                    ],
1235
                                    'edit' => [
1236
                                        'type' => Segment::class,
1237
                                        'options' => [
1238
                                            'route' => '/edit/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1239
                                            'constraints' => [
1240
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1241
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1242
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1243
                                            ],
1244
                                            'defaults' => [
1245
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1246
                                                'action' => 'edit'
1247
                                            ]
1248
                                        ]
1249
                                    ],
1250
                                    'delete' => [
1251
                                        'type' => Segment::class,
1252
                                        'options' => [
1253
                                            'route' => '/delete/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1254
                                            'constraints' => [
1255
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1256
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1257
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1258
                                            ],
1259
                                            'defaults' => [
1260
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1261
                                                'action' => 'delete'
1262
                                            ]
1263
                                        ]
1264
                                    ],
1265
                                    'text' => [
1266
                                        'type' => Segment::class,
1267
                                        'options' => [
1268
                                            'route' => '/text/topic/:topic_uuid/capsule/:capsule_uuid/slide/:slide_uuid',
1269
                                            'constraints' => [
1270
                                                'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1271
                                                'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1272
                                                'slide_uuid' => '[A-Za-z0-9\-]+\=*',
1273
                                            ],
1274
                                            'defaults' => [
1275
                                                'controller' => '\LeadersLinked\Controller\MicrolearningSlideController',
1276
                                                'action' => 'text'
1277
                                            ]
1278
                                        ]
1279
                                    ],
1280
                                ]
1281
                            ],
1089 geraldo 1282
                        ],
1283
                    ],
1 www 1284
                    'students' => [
1285
                        'type' => Literal::class,
1286
                        'options' => [
1287
                            'route' => '/students',
1288
                            'defaults' => [
1289
                                'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1290
                                'action' => 'index'
1291
                            ]
1292
                        ],
1293
                        'may_terminate' => true,
1294
                        'child_routes' => [
1295
                            'edit' => [
1296
                                'type' => Segment::class,
1297
                                'options' => [
1298
                                    'route' => '/edit/:id',
1299
                                    'constraints' => [
1300
                                        'id' => '[A-Za-z0-9\-]+\=*',
1301
                                    ],
1302
                                    'defaults' => [
1303
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1304
                                        'action' => 'edit'
1305
                                    ]
1306
                                ]
1307
                            ],
1308
                            'timeline' => [
1309
                                'type' => Segment::class,
1310
                                'options' => [
1311
                                    'route' => '/timeline/:id',
1312
                                    'constraints' => [
1313
                                        'id' => '[A-Za-z0-9\-]+\=*',
1314
                                    ],
1315
                                    'defaults' => [
1316
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1317
                                        'action' => 'timeline'
1318
                                    ]
1319
                                ]
1320
                            ],
1321
                            'change-password' => [
1322
                                'type' => Segment::class,
1323
                                'options' => [
1324
                                    'route' => '/change-password/:id',
1325
                                    'constraints' => [
1326
                                        'id' => '[A-Za-z0-9\-]+\=*'
1327
                                    ],
1328
                                    'defaults' => [
1329
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1330
                                        'action' => 'change-password'
1331
                                    ]
1332
                                ]
1333
                            ],
1334
                            'unblock' => [
1335
                                'type' => Segment::class,
1336
                                'options' => [
1337
                                    'route' => '/unblock/:id',
1338
                                    'constraints' => [
1339
                                        'id' => '[A-Za-z0-9\-]+\=*'
1340
                                    ],
1341
                                    'defaults' => [
1342
                                        'controller' => '\LeadersLinked\Controller\MicrolearningStudentsController',
1343
                                        'action' => 'unblock'
1344
                                    ]
1345
                                ]
1346
                            ],
1089 geraldo 1347
                        ]
1348
                    ],
1 www 1349
                    'access-for-students' => [
1350
                        'type' => Literal::class,
1351
                        'options' => [
1352
                            'route' => '/access-for-students',
1353
                            'defaults' => [
1354
                                'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1355
                                'action' => 'index'
1356
                            ]
1357
                        ],
1358
                        'may_terminate' => true,
1359
                        'child_routes' => [
1360
                            'revoke' => [
1361
                                'type' => Segment::class,
1362
                                'options' => [
1363
                                    'route' => '/revoke/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1364
                                    'constraints' => [
1365
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1366
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1367
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1368
                                    ],
1369
                                    'defaults' => [
1370
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1371
                                        'action' => 'revoke'
1372
                                    ]
1373
                                ]
1374
                            ],
1375
                            'unlimit' => [
1376
                                'type' => Segment::class,
1377
                                'options' => [
1378
                                    'route' => '/unlimit/topic/:topic_uuid/capsule/:capsule_uuid/user_uuid/:user_uuid',
1379
                                    'constraints' => [
1380
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1381
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1382
                                        'user_uuid' => '[A-Za-z0-9\-]+\=*',
1383
                                    ],
1384
                                    'defaults' => [
1385
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1386
                                        'action' => 'unlimit'
1387
                                    ]
1388
                                ]
1389
                            ],
1390
                            'upload' => [
1391
                                'type' => Segment::class,
1392
                                'options' => [
1393
                                    'route' => '/upload/topic/:topic_uuid/capsule/:capsule_uuid',
1394
                                    'constraints' => [
1395
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1396
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1397
                                    ],
1398
                                    'defaults' => [
1399
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1400
                                        'action' => 'upload'
1401
                                    ]
1402
                                ]
1403
                            ],
1404
                            'notification' => [
1405
                                'type' => Segment::class,
1406
                                'options' => [
1407
                                    'route' => '/notification/topic/:topic_uuid/capsule/:capsule_uuid',
1408
                                    'constraints' => [
1409
                                        'topic_uuid' => '[A-Za-z0-9\-]+\=*',
1410
                                        'capsule_uuid' => '[A-Za-z0-9\-]+\=*',
1411
                                    ],
1412
                                    'defaults' => [
1413
                                        'controller' => '\LeadersLinked\Controller\MicrolearningAccessForStudentsController',
1414
                                        'action' => 'notification'
1415
                                    ]
1416
                                ]
1417
                            ],
1418
                        ],
1089 geraldo 1419
                    ],
1 www 1420
                    'settings' => [
1421
                        'type' => Literal::class,
1422
                        'options' => [
1423
                            'route' => '/settings',
1424
                            'defaults' => [
1425
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
1426
                                'action' => 'index'
1427
                            ]
1428
                        ],
1429
                        'may_terminate' => true,
1430
                        'child_routes' => [
1431
                            'student-types' => [
1432
                                'type' => Literal::class,
1433
                                'options' => [
1434
                                    'route' => '/student-types',
1435
                                    'defaults' => [
1436
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1437
                                        'action' => 'index'
1438
                                    ]
1439
                                ],
1440
                                'may_terminate' => true,
1441
                                'child_routes' => [
1442
                                    'add' => [
1443
                                        'type' => Literal::class,
1444
                                        'options' => [
1445
                                            'route' => '/add',
1446
                                            'defaults' => [
1447
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1448
                                                'action' => 'add'
1449
                                            ]
1450
                                        ]
1451
                                    ],
1452
                                    'edit' => [
1453
                                        'type' => Segment::class,
1454
                                        'options' => [
1455
                                            'route' => '/edit/:id',
1456
                                            'constraints' => [
1457
                                                'id' => '[A-Za-z0-9\-]+\=*'
1458
                                            ],
1459
                                            'defaults' => [
1460
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1461
                                                'action' => 'edit'
1462
                                            ]
1463
                                        ]
1464
                                    ],
1465
                                    'delete' => [
1466
                                        'type' => Segment::class,
1467
                                        'options' => [
1468
                                            'route' => '/delete/:id',
1469
                                            'constraints' => [
1470
                                                'id' => '[A-Za-z0-9\-]+\=*'
1471
                                            ],
1472
                                            'defaults' => [
1473
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController',
1474
                                                'action' => 'delete'
1475
                                            ]
1476
                                        ]
1477
                                    ]
1478
                                ]
1479
                            ],
1480
                            'functions' => [
1481
                                'type' => Literal::class,
1482
                                'options' => [
1483
                                    'route' => '/functions',
1484
                                    'defaults' => [
1485
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1486
                                        'action' => 'index'
1487
                                    ]
1488
                                ],
1489
                                'may_terminate' => true,
1490
                                'child_routes' => [
1491
                                    'add' => [
1492
                                        'type' => Literal::class,
1493
                                        'options' => [
1494
                                            'route' => '/add',
1495
                                            'defaults' => [
1496
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1497
                                                'action' => 'add'
1498
                                            ]
1499
                                        ]
1500
                                    ],
1501
                                    'edit' => [
1502
                                        'type' => Segment::class,
1503
                                        'options' => [
1504
                                            'route' => '/edit/:id',
1505
                                            'constraints' => [
1506
                                                'id' => '[A-Za-z0-9\-]+\=*'
1507
                                            ],
1508
                                            'defaults' => [
1509
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1510
                                                'action' => 'edit'
1511
                                            ]
1512
                                        ]
1513
                                    ],
1514
                                    'delete' => [
1515
                                        'type' => Segment::class,
1516
                                        'options' => [
1517
                                            'route' => '/delete/:id',
1518
                                            'constraints' => [
1519
                                                'id' => '[A-Za-z0-9\-]+\=*'
1520
                                            ],
1521
                                            'defaults' => [
1522
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController',
1523
                                                'action' => 'delete'
1524
                                            ]
1525
                                        ]
1526
                                    ]
1527
                                ]
1528
                            ],
1529
                            'sectors' => [
1530
                                'type' => Literal::class,
1531
                                'options' => [
1532
                                    'route' => '/sectors',
1533
                                    'defaults' => [
1534
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1535
                                        'action' => 'index'
1536
                                    ]
1537
                                ],
1538
                                'may_terminate' => true,
1539
                                'child_routes' => [
1540
                                    'add' => [
1541
                                        'type' => Literal::class,
1542
                                        'options' => [
1543
                                            'route' => '/add',
1544
                                            'defaults' => [
1545
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1546
                                                'action' => 'add'
1547
                                            ]
1548
                                        ]
1549
                                    ],
1550
                                    'edit' => [
1551
                                        'type' => Segment::class,
1552
                                        'options' => [
1553
                                            'route' => '/edit/:id',
1554
                                            'constraints' => [
1555
                                                'id' => '[A-Za-z0-9\-]+\=*'
1556
                                            ],
1557
                                            'defaults' => [
1558
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1559
                                                'action' => 'edit'
1560
                                            ]
1561
                                        ]
1562
                                    ],
1563
                                    'delete' => [
1564
                                        'type' => Segment::class,
1565
                                        'options' => [
1566
                                            'route' => '/delete/:id',
1567
                                            'constraints' => [
1568
                                                'id' => '[A-Za-z0-9\-]+\=*'
1569
                                            ],
1570
                                            'defaults' => [
1571
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserSectorController',
1572
                                                'action' => 'delete'
1573
                                            ]
1574
                                        ]
1575
                                    ]
1576
                                ]
1577
                            ],
1578
                            'programs' => [
1579
                                'type' => Literal::class,
1580
                                'options' => [
1581
                                    'route' => '/programs',
1582
                                    'defaults' => [
1583
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1584
                                        'action' => 'index'
1585
                                    ]
1586
                                ],
1587
                                'may_terminate' => true,
1588
                                'child_routes' => [
1589
                                    'add' => [
1590
                                        'type' => Literal::class,
1591
                                        'options' => [
1592
                                            'route' => '/add',
1593
                                            'defaults' => [
1594
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1595
                                                'action' => 'add'
1596
                                            ]
1597
                                        ]
1598
                                    ],
1599
                                    'edit' => [
1600
                                        'type' => Segment::class,
1601
                                        'options' => [
1602
                                            'route' => '/edit/:id',
1603
                                            'constraints' => [
1604
                                                'id' => '[A-Za-z0-9\-]+\=*'
1605
                                            ],
1606
                                            'defaults' => [
1607
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1608
                                                'action' => 'edit'
1609
                                            ]
1610
                                        ]
1611
                                    ],
1612
                                    'delete' => [
1613
                                        'type' => Segment::class,
1614
                                        'options' => [
1615
                                            'route' => '/delete/:id',
1616
                                            'constraints' => [
1617
                                                'id' => '[A-Za-z0-9\-]+\=*'
1618
                                            ],
1619
                                            'defaults' => [
1620
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserProgramController',
1621
                                                'action' => 'delete'
1622
                                            ]
1623
                                        ]
1624
                                    ]
1625
                                ]
1626
                            ],
1627
                            'groups' => [
1628
                                'type' => Literal::class,
1629
                                'options' => [
1630
                                    'route' => '/groups',
1631
                                    'defaults' => [
1632
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1633
                                        'action' => 'index'
1634
                                    ]
1635
                                ],
1636
                                'may_terminate' => true,
1637
                                'child_routes' => [
1638
                                    'add' => [
1639
                                        'type' => Literal::class,
1640
                                        'options' => [
1641
                                            'route' => '/add',
1642
                                            'defaults' => [
1643
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1644
                                                'action' => 'add'
1645
                                            ]
1646
                                        ]
1647
                                    ],
1648
                                    'edit' => [
1649
                                        'type' => Segment::class,
1650
                                        'options' => [
1651
                                            'route' => '/edit/:id',
1652
                                            'constraints' => [
1653
                                                'id' => '[A-Za-z0-9\-]+\=*'
1654
                                            ],
1655
                                            'defaults' => [
1656
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1657
                                                'action' => 'edit'
1658
                                            ]
1659
                                        ]
1660
                                    ],
1661
                                    'delete' => [
1662
                                        'type' => Segment::class,
1663
                                        'options' => [
1664
                                            'route' => '/delete/:id',
1665
                                            'constraints' => [
1666
                                                'id' => '[A-Za-z0-9\-]+\=*'
1667
                                            ],
1668
                                            'defaults' => [
1669
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserGroupController',
1670
                                                'action' => 'delete'
1671
                                            ]
1672
                                        ]
1673
                                    ]
1674
                                ]
1675
                            ],
1676
                            'companies' => [
1677
                                'type' => Literal::class,
1678
                                'options' => [
1679
                                    'route' => '/companies',
1680
                                    'defaults' => [
1681
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1682
                                        'action' => 'index'
1683
                                    ]
1684
                                ],
1685
                                'may_terminate' => true,
1686
                                'child_routes' => [
1687
                                    'add' => [
1688
                                        'type' => Literal::class,
1689
                                        'options' => [
1690
                                            'route' => '/add',
1691
                                            'defaults' => [
1692
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1693
                                                'action' => 'add'
1694
                                            ]
1695
                                        ]
1696
                                    ],
1697
                                    'edit' => [
1698
                                        'type' => Segment::class,
1699
                                        'options' => [
1700
                                            'route' => '/edit/:id',
1701
                                            'constraints' => [
1702
                                                'id' => '[A-Za-z0-9\-]+\=*'
1703
                                            ],
1704
                                            'defaults' => [
1705
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1706
                                                'action' => 'edit'
1707
                                            ]
1708
                                        ]
1709
                                    ],
1710
                                    'delete' => [
1711
                                        'type' => Segment::class,
1712
                                        'options' => [
1713
                                            'route' => '/delete/:id',
1714
                                            'constraints' => [
1715
                                                'id' => '[A-Za-z0-9\-]+\=*'
1716
                                            ],
1717
                                            'defaults' => [
1718
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController',
1719
                                                'action' => 'delete'
1720
                                            ]
1721
                                        ]
1722
                                    ]
1723
                                ]
1724
                            ],
1725
                            'partners' => [
1726
                                'type' => Literal::class,
1727
                                'options' => [
1728
                                    'route' => '/partners',
1729
                                    'defaults' => [
1730
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1731
                                        'action' => 'index'
1732
                                    ]
1733
                                ],
1734
                                'may_terminate' => true,
1735
                                'child_routes' => [
1736
                                    'add' => [
1737
                                        'type' => Literal::class,
1738
                                        'options' => [
1739
                                            'route' => '/add',
1740
                                            'defaults' => [
1741
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1742
                                                'action' => 'add'
1743
                                            ]
1744
                                        ]
1745
                                    ],
1746
                                    'edit' => [
1747
                                        'type' => Segment::class,
1748
                                        'options' => [
1749
                                            'route' => '/edit/:id',
1750
                                            'constraints' => [
1751
                                                'id' => '[A-Za-z0-9\-]+\=*'
1752
                                            ],
1753
                                            'defaults' => [
1754
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1755
                                                'action' => 'edit'
1756
                                            ]
1757
                                        ]
1758
                                    ],
1759
                                    'delete' => [
1760
                                        'type' => Segment::class,
1761
                                        'options' => [
1762
                                            'route' => '/delete/:id',
1763
                                            'constraints' => [
1764
                                                'id' => '[A-Za-z0-9\-]+\=*'
1765
                                            ],
1766
                                            'defaults' => [
1767
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController',
1768
                                                'action' => 'delete'
1769
                                            ]
1770
                                        ]
1771
                                    ]
1772
                                ]
1773
                            ],
1774
                            'institutions' => [
1775
                                'type' => Literal::class,
1776
                                'options' => [
1777
                                    'route' => '/institutions',
1778
                                    'defaults' => [
1779
                                        'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1780
                                        'action' => 'index'
1781
                                    ]
1782
                                ],
1783
                                'may_terminate' => true,
1784
                                'child_routes' => [
1785
                                    'add' => [
1786
                                        'type' => Literal::class,
1787
                                        'options' => [
1788
                                            'route' => '/add',
1789
                                            'defaults' => [
1790
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1791
                                                'action' => 'add'
1792
                                            ]
1793
                                        ]
1794
                                    ],
1795
                                    'edit' => [
1796
                                        'type' => Segment::class,
1797
                                        'options' => [
1798
                                            'route' => '/edit/:id',
1799
                                            'constraints' => [
1800
                                                'id' => '[A-Za-z0-9\-]+\=*'
1801
                                            ],
1802
                                            'defaults' => [
1803
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1804
                                                'action' => 'edit'
1805
                                            ]
1806
                                        ]
1807
                                    ],
1808
                                    'delete' => [
1809
                                        'type' => Segment::class,
1810
                                        'options' => [
1811
                                            'route' => '/delete/:id',
1812
                                            'constraints' => [
1813
                                                'id' => '[A-Za-z0-9\-]+\=*'
1814
                                            ],
1815
                                            'defaults' => [
1816
                                                'controller' => '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController',
1817
                                                'action' => 'delete'
1818
                                            ]
1819
                                        ]
1820
                                    ]
1821
                                ]
1822
                            ],
1823
                        ]
1089 geraldo 1824
                    ],
1 www 1825
                ],
1089 geraldo 1826
            ],
1827
            /*             * * START PUBLICATIONS ** */
1 www 1828
            'publications' => [
1829
                'type' => Literal::class,
1830
                'options' => [
1831
                    'route' => '/publications',
1832
                    'defaults' => [
1833
                        'controller' => '\LeadersLinked\Controller\DashboardController',
1834
                        'action' => 'index'
1835
                    ]
1836
                ],
1837
                'may_terminate' => true,
1838
                'child_routes' => [
1839
                    'pages' => [
1840
                        'type' => Literal::class,
1841
                        'options' => [
1842
                            'route' => '/pages',
1843
                            'defaults' => [
1844
                                'controller' => '\LeadersLinked\Controller\PageController',
1845
                                'action' => 'index'
1846
                            ]
1847
                        ],
1848
                        'may_terminate' => true,
1849
                        'child_routes' => [
1850
                            'add' => [
1851
                                'type' => Literal::class,
1852
                                'options' => [
1853
                                    'route' => '/add',
1854
                                    'defaults' => [
1855
                                        'controller' => '\LeadersLinked\Controller\PageController',
1856
                                        'action' => 'add'
1857
                                    ]
1858
                                ]
1859
                            ],
1860
                            'edit' => [
1861
                                'type' => Segment::class,
1862
                                'options' => [
1863
                                    'route' => '/edit/:id',
1864
                                    'constraints' => [
1865
                                        'id' => '[A-Za-z0-9\-]+\=*'
1866
                                    ],
1867
                                    'defaults' => [
1868
                                        'controller' => '\LeadersLinked\Controller\PageController',
1869
                                        'action' => 'edit'
1870
                                    ]
1871
                                ]
1872
                            ],
1873
                            'delete' => [
1874
                                'type' => Segment::class,
1875
                                'options' => [
1876
                                    'route' => '/delete/:id',
1877
                                    'constraints' => [
1878
                                        'id' => '[A-Za-z0-9\-]+\=*'
1879
                                    ],
1880
                                    'defaults' => [
1881
                                        'controller' => '\LeadersLinked\Controller\PageController',
1882
                                        'action' => 'delete'
1883
                                    ]
1884
                                ]
1885
                            ]
1886
                        ]
1887
                    ],
1888
                    'posts' => [
1889
                        'type' => Literal::class,
1890
                        'options' => [
1891
                            'route' => '/posts',
1892
                            'defaults' => [
1893
                                'controller' => '\LeadersLinked\Controller\PostController',
1894
                                'action' => 'index'
1895
                            ]
1896
                        ],
1897
                        'may_terminate' => true,
1898
                        'child_routes' => [
1899
                            'add' => [
1900
                                'type' => Literal::class,
1901
                                'options' => [
1902
                                    'route' => '/add',
1903
                                    'defaults' => [
1904
                                        'controller' => '\LeadersLinked\Controller\PostController',
1905
                                        'action' => 'add'
1906
                                    ]
1907
                                ]
1908
                            ],
1909
                            'edit' => [
1910
                                'type' => Segment::class,
1911
                                'options' => [
1912
                                    'route' => '/edit/:id',
1913
                                    'constraints' => [
1914
                                        'id' => '[A-Za-z0-9\-]+\=*'
1915
                                    ],
1916
                                    'defaults' => [
1917
                                        'controller' => '\LeadersLinked\Controller\PostController',
1918
                                        'action' => 'edit'
1919
                                    ]
1920
                                ]
1921
                            ],
1922
                            'delete' => [
1923
                                'type' => Segment::class,
1924
                                'options' => [
1925
                                    'route' => '/delete/:id',
1926
                                    'constraints' => [
1927
                                        'id' => '[A-Za-z0-9\-]+\=*'
1928
                                    ],
1929
                                    'defaults' => [
1930
                                        'controller' => '\LeadersLinked\Controller\PostController',
1931
                                        'action' => 'delete'
1932
                                    ]
1933
                                ]
1934
                            ]
1935
                        ]
1936
                    ],
1937
                ]
1089 geraldo 1938
            ],
1939
            /*             * * START SELF EVALUATION ** */
114 efrain 1940
            'self-evaluation' => [
1941
                'type' => Literal::class,
1942
                'options' => [
1943
                    'route' => '/self-evaluation',
1944
                    'defaults' => [
115 efrain 1945
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
114 efrain 1946
                        'action' => 'index'
1947
                    ]
1948
                ],
1949
                'may_terminate' => true,
1950
                'child_routes' => [
1951
                    'forms' => [
1952
                        'type' => Literal::class,
1953
                        'options' => [
1954
                            'route' => '/forms',
1955
                            'defaults' => [
115 efrain 1956
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1957
                                'action' => 'index'
1958
                            ]
1959
                        ],
1960
                        'may_terminate' => true,
1961
                        'child_routes' => [
1962
                            'add' => [
1963
                                'type' => Literal::class,
1964
                                'options' => [
1965
                                    'route' => '/add',
1966
                                    'defaults' => [
115 efrain 1967
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1968
                                        'action' => 'add'
1969
                                    ]
1970
                                ]
1971
                            ],
1972
                            'edit' => [
1973
                                'type' => Segment::class,
1974
                                'options' => [
1975
                                    'route' => '/edit/:id',
1976
                                    'constraints' => [
1977
                                        'id' => '[A-Za-z0-9\-]+\=*'
1978
                                    ],
1979
                                    'defaults' => [
115 efrain 1980
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1981
                                        'action' => 'edit'
1982
                                    ]
1983
                                ]
1984
                            ],
1985
                            'delete' => [
1986
                                'type' => Segment::class,
1987
                                'options' => [
1988
                                    'route' => '/delete/:id',
1989
                                    'constraints' => [
1990
                                        'id' => '[A-Za-z0-9\-]+\=*'
1991
                                    ],
1992
                                    'defaults' => [
115 efrain 1993
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormController',
114 efrain 1994
                                        'action' => 'delete'
1995
                                    ]
1996
                                ]
1997
                            ]
1998
                        ]
1999
                    ],
115 efrain 2000
                    'users' => [
2001
                        'type' => Literal::class,
2002
                        'options' => [
2003
                            'route' => '/users',
2004
                            'defaults' => [
2005
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2006
                                'action' => 'index'
2007
                            ]
2008
                        ],
2009
                        'may_terminate' => true,
2010
                        'child_routes' => [
2011
                            'add' => [
2012
                                'type' => Segment::class,
2013
                                'options' => [
2014
                                    'route' => '/add/:form_id/:user_id',
2015
                                    'constraints' => [
2016
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2017
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2018
                                    ],
2019
                                    'defaults' => [
2020
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2021
                                        'action' => 'add'
2022
                                    ]
2023
                                ]
2024
                            ],
2025
                            'delete' => [
2026
                                'type' => Segment::class,
2027
                                'options' => [
2028
                                    'route' => '/delete/:form_id/:user_id',
2029
                                    'constraints' => [
2030
                                        'form_id' => '[A-Za-z0-9\-]+\=*',
2031
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
2032
                                    ],
2033
                                    'defaults' => [
2034
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationFormUserController',
2035
                                        'action' => 'delete'
2036
                                    ]
2037
                                ]
2038
                            ]
2039
                        ]
2040
                    ],
114 efrain 2041
                    'reviews' => [
2042
                        'type' => Literal::class,
2043
                        'options' => [
2044
                            'route' => '/reviews',
2045
                            'defaults' => [
115 efrain 2046
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
114 efrain 2047
                                'action' => 'index'
2048
                            ]
2049
                        ],
2050
                        'may_terminate' => true,
2051
                        'child_routes' => [
2052
                            'edit' => [
2053
                                'type' => Segment::class,
2054
                                'options' => [
2055
                                    'route' => '/edit/:id',
2056
                                    'constraints' => [
2057
                                        'id' => '[A-Za-z0-9\-]+\=*'
2058
                                    ],
2059
                                    'defaults' => [
115 efrain 2060
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
486 geraldo 2061
                                        'action' => 'edit'
114 efrain 2062
                                    ]
2063
                                ]
2064
                            ],
469 geraldo 2065
                            'report' => [
2066
                                'type' => Segment::class,
2067
                                'options' => [
2068
                                    'route' => '/report/:id',
2069
                                    'constraints' => [
2070
                                        'id' => '[A-Za-z0-9\-]+\=*'
2071
                                    ],
2072
                                    'defaults' => [
2073
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationReviewController',
487 geraldo 2074
                                        'action' => 'report'
469 geraldo 2075
                                    ]
2076
                                ]
2077
                            ],
114 efrain 2078
                        ]
2079
                    ],
2080
                ]
1089 geraldo 2081
            ],
2082
            /*             * * END SELF EVALUATION ** */
946 geraldo 2083
 
1089 geraldo 2084
            /*             * * START PERFOMANCE EVALUATION ** */
946 geraldo 2085
            'performance-evaluation' => [
2086
                'type' => Literal::class,
2087
                'options' => [
2088
                    'route' => '/performance-evaluation',
2089
                    'defaults' => [
980 geraldo 2090
                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
946 geraldo 2091
                        'action' => 'index'
2092
                    ]
2093
                ],
2094
                'may_terminate' => true,
2095
                'child_routes' => [
2096
                    'forms' => [
2097
                        'type' => Literal::class,
2098
                        'options' => [
2099
                            'route' => '/forms',
2100
                            'defaults' => [
977 geraldo 2101
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2102
                                'action' => 'index'
2103
                            ]
2104
                        ],
2105
                        'may_terminate' => true,
2106
                        'child_routes' => [
2107
                            'add' => [
2108
                                'type' => Literal::class,
2109
                                'options' => [
2110
                                    'route' => '/add',
2111
                                    'defaults' => [
977 geraldo 2112
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2113
                                        'action' => 'add'
2114
                                    ]
2115
                                ]
2116
                            ],
2117
                            'edit' => [
2118
                                'type' => Segment::class,
2119
                                'options' => [
2120
                                    'route' => '/edit/:id',
2121
                                    'constraints' => [
2122
                                        'id' => '[A-Za-z0-9\-]+\=*'
2123
                                    ],
2124
                                    'defaults' => [
986 geraldo 2125
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2126
                                        'action' => 'edit'
2127
                                    ]
2128
                                ]
2129
                            ],
2130
                            'delete' => [
2131
                                'type' => Segment::class,
2132
                                'options' => [
2133
                                    'route' => '/delete/:id',
2134
                                    'constraints' => [
2135
                                        'id' => '[A-Za-z0-9\-]+\=*'
2136
                                    ],
2137
                                    'defaults' => [
986 geraldo 2138
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
946 geraldo 2139
                                        'action' => 'delete'
2140
                                    ]
2141
                                ]
1263 geraldo 2142
                                    ],
2143
                            'report' => [
2144
                                'type' => Segment::class,
2145
                                'options' => [
2146
                                    'route' => '/report/:id',
2147
                                    'constraints' => [
2148
                                        'id' => '[A-Za-z0-9\-]+\=*'
2149
                                    ],
2150
                                    'defaults' => [
2151
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormController',
2152
                                        'action' => 'report'
2153
                                    ]
2154
                                ]
2155
                            ],
946 geraldo 2156
                        ]
2157
                    ],
1383 efrain 2158
                    'evaluations' => [
946 geraldo 2159
                        'type' => Literal::class,
2160
                        'options' => [
1383 efrain 2161
                            'route' => '/evaluations',
946 geraldo 2162
                            'defaults' => [
1383 efrain 2163
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
946 geraldo 2164
                                'action' => 'index'
2165
                            ]
2166
                        ],
2167
                        'may_terminate' => true,
2168
                        'child_routes' => [
1383 efrain 2169
                            'add' => [
1320 efrain 2170
                                'type' => Literal::class,
946 geraldo 2171
                                'options' => [
1383 efrain 2172
                                    'route' => '/add',
946 geraldo 2173
                                    'defaults' => [
1383 efrain 2174
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2175
                                        'action' => 'add'
946 geraldo 2176
                                    ]
1383 efrain 2177
                                ]
2178
                            ],
7902 eleazar 2179
                            'delete' => [
1383 efrain 2180
                                'type' => Segment::class,
2181
                                'options' => [
7902 eleazar 2182
                                    'route' => '/delete/:id',
1383 efrain 2183
                                    'constraints' => [
2184
                                        'id' => '[A-Za-z0-9\-]+\=*',
1320 efrain 2185
                                    ],
1383 efrain 2186
                                    'defaults' => [
2187
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2188
                                        'action' => 'delete'
1320 efrain 2189
                                    ]
946 geraldo 2190
                                ]
1383 efrain 2191
                            ],
7902 eleazar 2192
                            'self' => [
7947 eleazar 2193
                                'type' => Segment::class,
1383 efrain 2194
                                'options' => [
7907 eleazar 2195
                                    'route' => '/self/:id',
2196
                                    'constraints' => [
2197
                                        'id' => '[A-Za-z0-9\-]+\=*',
2198
                                    ],
1383 efrain 2199
                                    'defaults' => [
2200
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2201
                                        'action' => 'self'
1383 efrain 2202
                                    ]
2203
                                ]
2204
                            ],
7902 eleazar 2205
                            'both' => [
7947 eleazar 2206
                                'type' => Segment::class,
946 geraldo 2207
                                'options' => [
7907 eleazar 2208
                                    'route' => '/both/:id',
2209
                                    'constraints' => [
2210
                                        'id' => '[A-Za-z0-9\-]+\=*',
2211
                                    ],
946 geraldo 2212
                                    'defaults' => [
1383 efrain 2213
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
7902 eleazar 2214
                                        'action' => 'both'
946 geraldo 2215
                                    ]
2216
                                ]
1383 efrain 2217
                            ],
7902 eleazar 2218
                            'superviser' => [
7947 eleazar 2219
                                'type' => Segment::class,
7902 eleazar 2220
                                'options' => [
7907 eleazar 2221
                                    'route' => '/superviser/:id',
2222
                                    'constraints' => [
2223
                                        'id' => '[A-Za-z0-9\-]+\=*',
2224
                                    ],
7902 eleazar 2225
                                    'defaults' => [
2226
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2227
                                        'action' => 'superviser'
2228
                                    ]
2229
                                ]
2230
                            ],
8220 eleazar 2231
                            'report-self' =>[
8176 eleazar 2232
                                'type' => Segment::class,
2233
                                'options' => [
8220 eleazar 2234
                                    'route' => '/report-self/:id',
8176 eleazar 2235
                                    'constraints' => [
2236
                                        'id' => '[A-Za-z0-9\-]+\=*'
2237
                                    ],
2238
                                    'defaults' => [
2239
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
8177 eleazar 2240
                                        'action' => 'reportSelf',
8176 eleazar 2241
                                    ],
2242
                                ],
2243
                            ],
8220 eleazar 2244
                            'report-both' =>[
8177 eleazar 2245
                                'type' => Segment::class,
2246
                                'options' => [
8220 eleazar 2247
                                    'route' => '/report-both/:id',
8177 eleazar 2248
                                    'constraints' => [
2249
                                        'id' => '[A-Za-z0-9\-]+\=*'
2250
                                    ],
2251
                                    'defaults' => [
2252
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2253
                                        'action' => 'reportBoth',
2254
                                    ],
2255
                                ],
2256
                            ],
8249 eleazar 2257
                            'report-superviser' =>[
8177 eleazar 2258
                                'type' => Segment::class,
2259
                                'options' => [
8249 eleazar 2260
                                    'route' => '/report-superviser/:id',
8177 eleazar 2261
                                    'constraints' => [
2262
                                        'id' => '[A-Za-z0-9\-]+\=*'
2263
                                    ],
2264
                                    'defaults' => [
2265
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2266
                                        'action' => 'reportSupervisor',
2267
                                    ],
2268
                                ],
2269
                            ],
8068 eleazar 2270
                            'user-by-email' => [
2271
                                'type' => Literal::class,
2272
                                'options' => [
2273
                                    'route' => '/user-by-email',
2274
                                    'defaults' => [
2275
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
2276
                                        'action' => 'email'
2277
                                    ]
2278
                                ]
2279
                            ],
946 geraldo 2280
                        ]
2281
                    ],
2282
                ]
1089 geraldo 2283
            ],
2284
            /*             * * END PERFORMANCE EVALUATION ** */
2285
 
2286
            /*             * * START SETTINGS ** */
1 www 2287
            'settings' => [
2288
                'type' => Literal::class,
2289
                'options' => [
2290
                    'route' => '/settings',
2291
                    'defaults' => [
2292
                        'controller' => '\LeadersLinked\Controller\DashboardController',
2293
                        'action' => 'index'
2294
                    ]
2295
                ],
2296
                'may_terminate' => true,
2297
                'child_routes' => [
2298
                    'company-sizes' => [
2299
                        'type' => Literal::class,
2300
                        'options' => [
2301
                            'route' => '/company-sizes',
2302
                            'defaults' => [
2303
                                'controller' => '\LeadersLinked\Controller\CompanySizeController',
2304
                                'action' => 'index'
2305
                            ]
2306
                        ],
2307
                        'may_terminate' => true,
2308
                        'child_routes' => [
2309
                            'add' => [
2310
                                'type' => Literal::class,
2311
                                'options' => [
2312
                                    'route' => '/add',
2313
                                    'defaults' => [
2314
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2315
                                        'action' => 'add'
2316
                                    ]
2317
                                ]
2318
                            ],
2319
                            'edit' => [
2320
                                'type' => Segment::class,
2321
                                'options' => [
2322
                                    'route' => '/edit/:id',
2323
                                    'constraints' => [
2324
                                        'id' => '[A-Za-z0-9\-]+\=*'
2325
                                    ],
2326
                                    'defaults' => [
2327
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2328
                                        'action' => 'edit'
2329
                                    ]
2330
                                ]
2331
                            ],
2332
                            'delete' => [
2333
                                'type' => Segment::class,
2334
                                'options' => [
2335
                                    'route' => '/delete/:id',
2336
                                    'constraints' => [
2337
                                        'id' => '[A-Za-z0-9\-]+\=*'
2338
                                    ],
2339
                                    'defaults' => [
2340
                                        'controller' => '\LeadersLinked\Controller\CompanySizeController',
2341
                                        'action' => 'delete'
2342
                                    ]
2343
                                ]
2344
                            ]
2345
                        ]
2346
                    ],
2347
                    'competency-types' => [
2348
                        'type' => Literal::class,
2349
                        'options' => [
2350
                            'route' => '/competency-types',
2351
                            'defaults' => [
2352
                                'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2353
                                'action' => 'index'
2354
                            ]
2355
                        ],
2356
                        'may_terminate' => true,
2357
                        'child_routes' => [
2358
                            'add' => [
2359
                                'type' => Literal::class,
2360
                                'options' => [
2361
                                    'route' => '/add',
2362
                                    'defaults' => [
2363
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2364
                                        'action' => 'add'
2365
                                    ]
2366
                                ]
2367
                            ],
2368
                            'edit' => [
2369
                                'type' => Segment::class,
2370
                                'options' => [
2371
                                    'route' => '/edit/:id',
2372
                                    'constraints' => [
2373
                                        'id' => '[A-Za-z0-9\-]+\=*'
2374
                                    ],
2375
                                    'defaults' => [
2376
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2377
                                        'action' => 'edit'
2378
                                    ]
2379
                                ]
2380
                            ],
2381
                            'delete' => [
2382
                                'type' => Segment::class,
2383
                                'options' => [
2384
                                    'route' => '/delete/:id',
2385
                                    'constraints' => [
2386
                                        'id' => '[A-Za-z0-9\-]+\=*'
2387
                                    ],
2388
                                    'defaults' => [
2389
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2390
                                        'action' => 'delete'
2391
                                    ]
2392
                                ]
28 efrain 2393
                            ],
2394
                            'import' => [
2395
                                'type' => Literal::class,
2396
                                'options' => [
2397
                                    'route' => '/import',
2398
                                    'defaults' => [
2399
                                        'controller' => '\LeadersLinked\Controller\CompetencyTypeController',
2400
                                        'action' => 'import'
2401
                                    ]
2402
                                ]
2403
                            ],
1 www 2404
                        ]
2405
                    ],
1104 geraldo 2406
                    'behaviors' => [
2407
                        'type' => Literal::class,
2408
                        'options' => [
2409
                            'route' => '/behaviors',
2410
                            'defaults' => [
2411
                                'controller' => '\LeadersLinked\Controller\BehaviorsController',
2412
                                'action' => 'index'
2413
                            ]
2414
                        ],
2415
                        'may_terminate' => true,
2416
                        'child_routes' => [
2417
                            'add' => [
2418
                                'type' => Literal::class,
2419
                                'options' => [
2420
                                    'route' => '/add',
2421
                                    'defaults' => [
2422
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2423
                                        'action' => 'add'
2424
                                    ]
2425
                                ]
1115 geraldo 2426
                            ],
2427
                            'edit' => [
2428
                                'type' => Segment::class,
2429
                                'options' => [
2430
                                    'route' => '/edit/:id',
2431
                                    'constraints' => [
2432
                                        'id' => '[A-Za-z0-9\-]+\=*'
2433
                                    ],
2434
                                    'defaults' => [
2435
                                        'controller' => '\LeadersLinked\Controller\BehaviorsController',
2436
                                        'action' => 'edit'
2437
                                    ]
2438
                                ]
2439
                            ],
1104 geraldo 2440
                        ]
2441
                    ],
1 www 2442
                    'competencies' => [
2443
                        'type' => Literal::class,
2444
                        'options' => [
2445
                            'route' => '/competencies',
2446
                            'defaults' => [
2447
                                'controller' => '\LeadersLinked\Controller\CompetencyController',
2448
                                'action' => 'index'
2449
                            ]
2450
                        ],
2451
                        'may_terminate' => true,
2452
                        'child_routes' => [
2453
                            'add' => [
2454
                                'type' => Literal::class,
2455
                                'options' => [
2456
                                    'route' => '/add',
2457
                                    'defaults' => [
2458
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2459
                                        'action' => 'add'
2460
                                    ]
2461
                                ]
2462
                            ],
2463
                            'edit' => [
2464
                                'type' => Segment::class,
2465
                                'options' => [
2466
                                    'route' => '/edit/:id',
2467
                                    'constraints' => [
2468
                                        'id' => '[A-Za-z0-9\-]+\=*'
2469
                                    ],
2470
                                    'defaults' => [
2471
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2472
                                        'action' => 'edit'
2473
                                    ]
2474
                                ]
2475
                            ],
2476
                            'delete' => [
2477
                                'type' => Segment::class,
2478
                                'options' => [
2479
                                    'route' => '/delete/:id',
2480
                                    'constraints' => [
2481
                                        'id' => '[A-Za-z0-9\-]+\=*'
2482
                                    ],
2483
                                    'defaults' => [
2484
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2485
                                        'action' => 'delete'
2486
                                    ]
2487
                                ]
28 efrain 2488
                            ],
2489
                            'import' => [
2490
                                'type' => Literal::class,
2491
                                'options' => [
2492
                                    'route' => '/import',
2493
                                    'defaults' => [
2494
                                        'controller' => '\LeadersLinked\Controller\CompetencyController',
2495
                                        'action' => 'import'
2496
                                    ]
2497
                                ]
2498
                            ],
1 www 2499
                        ]
2500
                    ],
2501
                    'degrees' => [
2502
                        'type' => Literal::class,
2503
                        'options' => [
2504
                            'route' => '/degrees',
2505
                            'defaults' => [
2506
                                'controller' => '\LeadersLinked\Controller\DegreeController',
2507
                                'action' => 'index'
2508
                            ]
2509
                        ],
2510
                        'may_terminate' => true,
2511
                        'child_routes' => [
2512
                            'add' => [
2513
                                'type' => Literal::class,
2514
                                'options' => [
2515
                                    'route' => '/add',
2516
                                    'defaults' => [
2517
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2518
                                        'action' => 'add'
2519
                                    ]
2520
                                ]
2521
                            ],
2522
                            'edit' => [
2523
                                'type' => Segment::class,
2524
                                'options' => [
2525
                                    'route' => '/edit/:id',
2526
                                    'constraints' => [
2527
                                        'id' => '[A-Za-z0-9\-]+\=*'
2528
                                    ],
2529
                                    'defaults' => [
2530
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2531
                                        'action' => 'edit'
2532
                                    ]
2533
                                ]
2534
                            ],
2535
                            'delete' => [
2536
                                'type' => Segment::class,
2537
                                'options' => [
2538
                                    'route' => '/delete/:id',
2539
                                    'constraints' => [
2540
                                        'id' => '[A-Za-z0-9\-]+\=*'
2541
                                    ],
2542
                                    'defaults' => [
2543
                                        'controller' => '\LeadersLinked\Controller\DegreeController',
2544
                                        'action' => 'delete'
2545
                                    ]
2546
                                ]
2547
                            ]
2548
                        ]
2549
                    ],
2550
                    'group-types' => [
2551
                        'type' => Literal::class,
2552
                        'options' => [
2553
                            'route' => '/competency-types',
2554
                            'defaults' => [
2555
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2556
                                'action' => 'index'
2557
                            ]
2558
                        ],
2559
                        'may_terminate' => true,
2560
                        'child_routes' => [
2561
                            'add' => [
2562
                                'type' => Literal::class,
2563
                                'options' => [
2564
                                    'route' => '/add',
2565
                                    'defaults' => [
2566
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2567
                                        'action' => 'add'
2568
                                    ]
2569
                                ]
2570
                            ],
2571
                            'edit' => [
2572
                                'type' => Segment::class,
2573
                                'options' => [
2574
                                    'route' => '/edit/:id',
2575
                                    'constraints' => [
2576
                                        'id' => '[A-Za-z0-9\-]+\=*'
2577
                                    ],
2578
                                    'defaults' => [
2579
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2580
                                        'action' => 'edit'
2581
                                    ]
2582
                                ]
2583
                            ],
2584
                            'delete' => [
2585
                                'type' => Segment::class,
2586
                                'options' => [
2587
                                    'route' => '/delete/:id',
2588
                                    'constraints' => [
2589
                                        'id' => '[A-Za-z0-9\-]+\=*'
2590
                                    ],
2591
                                    'defaults' => [
2592
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2593
                                        'action' => 'delete'
2594
                                    ]
2595
                                ]
2596
                            ]
2597
                        ]
2598
                    ],
2599
                    'industries' => [
2600
                        'type' => Literal::class,
2601
                        'options' => [
2602
                            'route' => '/industries',
2603
                            'defaults' => [
2604
                                'controller' => '\LeadersLinked\Controller\IndustryController',
2605
                                'action' => 'index'
2606
                            ]
2607
                        ],
2608
                        'may_terminate' => true,
2609
                        'child_routes' => [
2610
                            'add' => [
2611
                                'type' => Literal::class,
2612
                                'options' => [
2613
                                    'route' => '/add',
2614
                                    'defaults' => [
2615
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2616
                                        'action' => 'add'
2617
                                    ]
2618
                                ]
2619
                            ],
2620
                            'edit' => [
2621
                                'type' => Segment::class,
2622
                                'options' => [
2623
                                    'route' => '/edit/:id',
2624
                                    'constraints' => [
2625
                                        'id' => '[A-Za-z0-9\-]+\=*'
2626
                                    ],
2627
                                    'defaults' => [
2628
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2629
                                        'action' => 'edit'
2630
                                    ]
2631
                                ]
2632
                            ],
2633
                            'delete' => [
2634
                                'type' => Segment::class,
2635
                                'options' => [
2636
                                    'route' => '/delete/:id',
2637
                                    'constraints' => [
2638
                                        'id' => '[A-Za-z0-9\-]+\=*'
2639
                                    ],
2640
                                    'defaults' => [
2641
                                        'controller' => '\LeadersLinked\Controller\IndustryController',
2642
                                        'action' => 'delete'
2643
                                    ]
2644
                                ]
2645
                            ]
2646
                        ]
2647
                    ],
2648
                    'group-types' => [
2649
                        'type' => Literal::class,
2650
                        'options' => [
2651
                            'route' => '/group-types',
2652
                            'defaults' => [
2653
                                'controller' => '\LeadersLinked\Controller\GroupTypeController',
2654
                                'action' => 'index'
2655
                            ]
2656
                        ],
2657
                        'may_terminate' => true,
2658
                        'child_routes' => [
2659
                            'add' => [
2660
                                'type' => Literal::class,
2661
                                'options' => [
2662
                                    'route' => '/add',
2663
                                    'defaults' => [
2664
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2665
                                        'action' => 'add'
2666
                                    ]
2667
                                ]
2668
                            ],
2669
                            'edit' => [
2670
                                'type' => Segment::class,
2671
                                'options' => [
2672
                                    'route' => '/edit/:id',
2673
                                    'constraints' => [
2674
                                        'id' => '[A-Za-z0-9\-]+\=*'
2675
                                    ],
2676
                                    'defaults' => [
2677
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2678
                                        'action' => 'edit'
2679
                                    ]
2680
                                ]
2681
                            ],
2682
                            'delete' => [
2683
                                'type' => Segment::class,
2684
                                'options' => [
2685
                                    'route' => '/delete/:id',
2686
                                    'constraints' => [
2687
                                        'id' => '[A-Za-z0-9\-]+\=*'
2688
                                    ],
2689
                                    'defaults' => [
2690
                                        'controller' => '\LeadersLinked\Controller\GroupTypeController',
2691
                                        'action' => 'delete'
2692
                                    ]
2693
                                ]
2694
                            ]
2695
                        ]
2696
                    ],
2697
                    'job-categories' => [
2698
                        'type' => Literal::class,
2699
                        'options' => [
2700
                            'route' => '/job-categories',
2701
                            'defaults' => [
2702
                                'controller' => '\LeadersLinked\Controller\JobCategoryController',
2703
                                'action' => 'index'
2704
                            ]
2705
                        ],
2706
                        'may_terminate' => true,
2707
                        'child_routes' => [
2708
                            'add' => [
2709
                                'type' => Literal::class,
2710
                                'options' => [
2711
                                    'route' => '/add',
2712
                                    'defaults' => [
2713
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2714
                                        'action' => 'add'
2715
                                    ]
2716
                                ]
2717
                            ],
2718
                            'edit' => [
2719
                                'type' => Segment::class,
2720
                                'options' => [
2721
                                    'route' => '/edit/:id',
2722
                                    'constraints' => [
2723
                                        'id' => '[A-Za-z0-9\-]+\=*'
2724
                                    ],
2725
                                    'defaults' => [
2726
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2727
                                        'action' => 'edit'
2728
                                    ]
2729
                                ]
2730
                            ],
2731
                            'delete' => [
2732
                                'type' => Segment::class,
2733
                                'options' => [
2734
                                    'route' => '/delete/:id',
2735
                                    'constraints' => [
2736
                                        'id' => '[A-Za-z0-9\-]+\=*'
2737
                                    ],
2738
                                    'defaults' => [
2739
                                        'controller' => '\LeadersLinked\Controller\JobCategoryController',
2740
                                        'action' => 'delete'
2741
                                    ]
2742
                                ]
2743
                            ]
2744
                        ]
2745
                    ],
28 efrain 2746
                    'jobs-description' => [
2747
                        'type' => Literal::class,
2748
                        'options' => [
2749
                            'route' => '/jobs-description',
2750
                            'defaults' => [
2751
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2752
                                'action' => 'index'
2753
                            ]
2754
                        ],
2755
                        'may_terminate' => true,
2756
                        'child_routes' => [
2757
                            'add' => [
2758
                                'type' => Literal::class,
2759
                                'options' => [
2760
                                    'route' => '/add',
2761
                                    'defaults' => [
2762
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2763
                                        'action' => 'add'
2764
                                    ]
2765
                                ]
2766
                            ],
2767
                            'edit' => [
2768
                                'type' => Segment::class,
2769
                                'options' => [
2770
                                    'route' => '/edit/:id',
2771
                                    'constraints' => [
2772
                                        'id' => '[A-Za-z0-9\-]+\=*'
2773
                                    ],
2774
                                    'defaults' => [
2775
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2776
                                        'action' => 'edit'
2777
                                    ]
2778
                                ]
2779
                            ],
2780
                            'delete' => [
2781
                                'type' => Segment::class,
2782
                                'options' => [
2783
                                    'route' => '/delete/:id',
2784
                                    'constraints' => [
2785
                                        'id' => '[A-Za-z0-9\-]+\=*'
2786
                                    ],
2787
                                    'defaults' => [
2788
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2789
                                        'action' => 'delete'
2790
                                    ]
2791
                                ]
559 geraldo 2792
                            ],
2793
                            'report' => [
2794
                                'type' => Segment::class,
2795
                                'options' => [
2796
                                    'route' => '/report/:id',
2797
                                    'constraints' => [
2798
                                        'id' => '[A-Za-z0-9\-]+\=*'
2799
                                    ],
2800
                                    'defaults' => [
2801
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2802
                                        'action' => 'report'
2803
                                    ]
2804
                                ]
2805
                            ],
846 geraldo 2806
                            'import' => [
2807
                                'type' => Literal::class,
2808
                                'options' => [
2809
                                    'route' => '/import',
2810
                                    'defaults' => [
2811
                                        'controller' => '\LeadersLinked\Controller\JobDescriptionController',
2812
                                        'action' => 'import'
2813
                                    ]
2814
                                ]
2815
                            ],
28 efrain 2816
                        ]
2817
                    ],
1 www 2818
                    'email-templates' => [
2819
                        'type' => Literal::class,
2820
                        'options' => [
2821
                            'route' => '/email-templates',
2822
                            'defaults' => [
2823
                                'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2824
                                'action' => 'index'
2825
                            ]
2826
                        ],
2827
                        'may_terminate' => true,
2828
                        'child_routes' => [
2829
                            'edit' => [
2830
                                'type' => Segment::class,
2831
                                'options' => [
2832
                                    'route' => '/edit/:id',
2833
                                    'constraints' => [
2834
                                        'id' => '[A-Za-z0-9\-]+\=*'
2835
                                    ],
2836
                                    'defaults' => [
2837
                                        'controller' => '\LeadersLinked\Controller\EmailTemplateController',
2838
                                        'action' => 'edit'
2839
                                    ]
2840
                                ]
2841
                            ],
2842
                        ]
2843
                    ],
67 efrain 2844
                    'positions' => [
2845
                        'type' => Literal::class,
2846
                        'options' => [
2847
                            'route' => '/positions',
2848
                            'defaults' => [
2849
                                'controller' => '\LeadersLinked\Controller\PositionController',
2850
                                'action' => 'index'
2851
                            ]
2852
                        ],
2853
                        'may_terminate' => true,
2854
                        'child_routes' => [
2855
                            'add' => [
2856
                                'type' => Literal::class,
2857
                                'options' => [
2858
                                    'route' => '/add',
2859
                                    'defaults' => [
2860
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2861
                                        'action' => 'add'
2862
                                    ]
2863
                                ]
2864
                            ],
2865
                            'edit' => [
2866
                                'type' => Segment::class,
2867
                                'options' => [
2868
                                    'route' => '/edit/:id',
2869
                                    'constraints' => [
2870
                                        'id' => '[A-Za-z0-9\-]+\=*'
2871
                                    ],
2872
                                    'defaults' => [
2873
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2874
                                        'action' => 'edit'
2875
                                    ]
2876
                                ]
2877
                            ],
2878
                            'delete' => [
2879
                                'type' => Segment::class,
2880
                                'options' => [
2881
                                    'route' => '/delete/:id',
2882
                                    'constraints' => [
2883
                                        'id' => '[A-Za-z0-9\-]+\=*'
2884
                                    ],
2885
                                    'defaults' => [
2886
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2887
                                        'action' => 'delete'
2888
                                    ]
2889
                                ]
2890
                            ],
1320 efrain 2891
                            'subordinates' => [
2892
                                'type' => Segment::class,
2893
                                'options' => [
2894
                                    'route' => '/subordinates/:job_description_id',
2895
                                    'constraints' => [
2896
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
2897
                                    ],
2898
                                    'defaults' => [
2899
                                        'controller' => '\LeadersLinked\Controller\PositionController',
2900
                                        'action' => 'subordinates'
2901
                                    ]
2902
                                ]
2903
                            ],
67 efrain 2904
                        ]
2905
                    ],
1 www 2906
                    'push-templates' => [
2907
                        'type' => Literal::class,
2908
                        'options' => [
2909
                            'route' => '/push-templates',
2910
                            'defaults' => [
2911
                                'controller' => '\LeadersLinked\Controller\PushTemplateController',
2912
                                'action' => 'index'
2913
                            ]
2914
                        ],
2915
                        'may_terminate' => true,
2916
                        'child_routes' => [
2917
                            'edit' => [
2918
                                'type' => Segment::class,
2919
                                'options' => [
2920
                                    'route' => '/edit/:id',
2921
                                    'constraints' => [
2922
                                        'id' => '[A-Za-z0-9\-]+\=*'
2923
                                    ],
2924
                                    'defaults' => [
2925
                                        'controller' => '\LeadersLinked\Controller\PushTemplateController',
2926
                                        'action' => 'edit'
2927
                                    ]
2928
                                ]
2929
                            ],
2930
                        ]
2931
                    ],
2932
                    'skills' => [
2933
                        'type' => Literal::class,
2934
                        'options' => [
2935
                            'route' => '/skills',
2936
                            'defaults' => [
2937
                                'controller' => '\LeadersLinked\Controller\SkillController',
2938
                                'action' => 'index'
2939
                            ]
2940
                        ],
2941
                        'may_terminate' => true,
2942
                        'child_routes' => [
2943
                            'add' => [
2944
                                'type' => Literal::class,
2945
                                'options' => [
2946
                                    'route' => '/add',
2947
                                    'defaults' => [
2948
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2949
                                        'action' => 'add'
2950
                                    ]
2951
                                ]
2952
                            ],
2953
                            'edit' => [
2954
                                'type' => Segment::class,
2955
                                'options' => [
2956
                                    'route' => '/edit/:id',
2957
                                    'constraints' => [
2958
                                        'id' => '[A-Za-z0-9\-]+\=*'
2959
                                    ],
2960
                                    'defaults' => [
2961
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2962
                                        'action' => 'edit'
2963
                                    ]
2964
                                ]
2965
                            ],
2966
                            'delete' => [
2967
                                'type' => Segment::class,
2968
                                'options' => [
2969
                                    'route' => '/delete/:id',
2970
                                    'constraints' => [
2971
                                        'id' => '[A-Za-z0-9\-]+\=*'
2972
                                    ],
2973
                                    'defaults' => [
2974
                                        'controller' => '\LeadersLinked\Controller\SkillController',
2975
                                        'action' => 'delete'
2976
                                    ]
2977
                                ]
2978
                            ]
2979
                        ]
2980
                    ],
1089 geraldo 2981
                ]
1 www 2982
            ],
1089 geraldo 2983
        /*         * * FIN SETTINGS ** */
1333 efrain 2984
 
2985
            'own-professional-network' => [
2986
                'type' => Literal::class,
2987
                'options' => [
2988
                    'route' => '/own-professional-network',
2989
                    'defaults' => [
2990
                        'controller' => '\LeadersLinked\Controller\UnknownController',
2991
                        'action' => 'index'
2992
                    ]
2993
                ],
2994
                'may_terminate' => true,
2995
                'child_routes' => [
2996
                ]
2997
            ],
2998
 
2999
            'organizational-design' => [
3000
                'type' => Literal::class,
3001
                'options' => [
3002
                    'route' => '/organizational-design',
3003
                    'defaults' => [
3004
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3005
                        'action' => 'index'
3006
                    ]
3007
                ],
3008
                'may_terminate' => true,
3009
                'child_routes' => [
3010
                ]
3011
            ],
3012
 
3013
            'planning-objectives-and-goals' => [
3014
                'type' => Literal::class,
3015
                'options' => [
3016
                    'route' => '/planning-objectives-and-goals',
3017
                    'defaults' => [
2235 nelberth 3018
                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsController',
1951 nelberth 3019
                        'action' => 'index'
1333 efrain 3020
                    ]
3021
                ],
3022
                'may_terminate' => true,
3023
                'child_routes' => [
2238 nelberth 3024
                    'objectives' => [
2250 nelberth 3025
                        'type' => Literal::class,
1914 nelberth 3026
                        'options' => [
2248 nelberth 3027
                            'route' => '/objectives',
1914 nelberth 3028
                            'defaults' => [
2228 nelberth 3029
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
2238 nelberth 3030
                                'action' => 'index'
1914 nelberth 3031
                            ]
2251 nelberth 3032
                        ],
3033
 
3034
                        'may_terminate' => true,
3035
                        'child_routes' => [
2324 nelberth 3036
 
2251 nelberth 3037
                            'add' => [
3038
                                'type' => Literal::class,
3039
                                'options' => [
3040
                                    'route' => '/add',
3041
                                    'defaults' => [
3042
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3043
                                        'action' => 'add'
3044
                                    ]
3045
                                ]
3046
                            ],
3047
                            'edit' => [
3048
                                'type' => Segment::class,
3049
                                'options' => [
3050
                                    'route' => '/edit/:id',
3051
                                    'constraints' => [
3052
                                        'id' => '[A-Za-z0-9\-]+\=*'
3053
                                    ],
3054
                                    'defaults' => [
3055
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3056
                                        'action' => 'edit'
3057
                                    ]
3058
                                ]
3059
                            ],
3060
                            'delete' => [
3061
                                'type' => Segment::class,
3062
                                'options' => [
3063
                                    'route' => '/delete/:id',
3064
                                    'constraints' => [
3065
                                        'id' => '[A-Za-z0-9\-]+\=*'
3066
                                    ],
3067
                                    'defaults' => [
3068
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3069
                                        'action' => 'delete'
3070
                                    ]
3071
                                ]
2324 nelberth 3072
                            ],
3462 nelberth 3073
                            'report' => [
3074
                                'type' => Segment::class,
3075
                                'options' => [
3076
                                    'route' => '/report/:id',
3077
                                    'constraints' => [
3078
                                        'id' => '[A-Za-z0-9\-]+\=*'
3079
                                    ],
3080
                                    'defaults' => [
3081
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3082
                                        'action' => 'report'
3083
                                    ]
3084
                                ]
3986 nelberth 3085
                            ],
3086
                            'reportall' => [
3087
                                'type' => Literal::class,
3088
                                'options' => [
3089
                                    'route' => '/reportall',
3090
                                    'defaults' => [
3091
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3092
                                        'action' => 'reportall'
3093
                                    ]
3094
                                ]
3462 nelberth 3095
                            ],
4041 nelberth 3096
 
3097
                            'matriz' => [
3098
                                'type' => Literal::class,
3099
                                'options' => [
3100
                                    'route' => '/matriz',
3101
                                    'defaults' => [
3102
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController',
3103
                                        'action' => 'matriz'
3104
                                    ]
3105
                                ]
3106
                            ],
2324 nelberth 3107
                            'goals' => [
2336 nelberth 3108
                                'type' => Segment::class,
2324 nelberth 3109
                                'options' => [
11092 nelberth 3110
                                    'route' => '/:objective_id/goals',
2324 nelberth 3111
                                    'constraints' => [
11092 nelberth 3112
                                        'objective_id' => '[A-Za-z0-9\-]+\=*'
2324 nelberth 3113
                                    ],
3114
                                    'defaults' => [
3115
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3116
                                        'action' => 'index'
3117
                                    ]
2369 nelberth 3118
                                ],
2370 nelberth 3119
 
3120
                                'may_terminate' => true,
3121
                                'child_routes' => [
3122
                                    'add' => [
3123
                                        'type' => Literal::class,
3124
                                        'options' => [
3125
                                            'route' => '/add',
3126
                                            'defaults' => [
3127
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3128
                                                'action' => 'add'
3129
                                            ]
2369 nelberth 3130
                                        ]
2370 nelberth 3131
                                    ],
3132
                                    'edit' => [
3133
                                        'type' => Segment::class,
3134
                                        'options' => [
3135
                                            'route' => '/edit/:id',
3136
                                            'constraints' => [
3137
                                                'id' => '[A-Za-z0-9\-]+\=*'
3138
                                            ],
3139
                                            'defaults' => [
3140
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3141
                                                'action' => 'edit'
3142
                                            ]
2369 nelberth 3143
                                        ]
2370 nelberth 3144
                                    ],
3145
                                    'delete' => [
3146
                                        'type' => Segment::class,
3147
                                        'options' => [
3148
                                            'route' => '/delete/:id',
3149
                                            'constraints' => [
3150
                                                'id' => '[A-Za-z0-9\-]+\=*'
3151
                                            ],
3152
                                            'defaults' => [
3153
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController',
3154
                                                'action' => 'delete'
3155
                                            ]
3156
                                        ]
3157
                                    ],
2517 nelberth 3158
                                    'task' => [
3159
                                        'type' => Segment::class,
3160
                                        'options' => [
11092 nelberth 3161
                                            'route' => '/:goal_id/task',
2517 nelberth 3162
                                            'constraints' => [
11092 nelberth 3163
                                                'goal_id' => '[A-Za-z0-9\-]+\=*'
2517 nelberth 3164
                                            ],
3165
                                            'defaults' => [
3166
                                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3167
                                                'action' => 'index'
3168
                                            ]
3169
                                        ],
3170
 
3171
                                        'may_terminate' => true,
3172
                                        'child_routes' => [
3173
                                            'add' => [
3174
                                                'type' => Literal::class,
3175
                                                'options' => [
3176
                                                    'route' => '/add',
3177
                                                    'defaults' => [
3178
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3179
                                                        'action' => 'add'
3180
                                                    ]
3181
                                                ]
3182
                                            ],
3183
                                            'edit' => [
3184
                                                'type' => Segment::class,
3185
                                                'options' => [
3186
                                                    'route' => '/edit/:id',
3187
                                                    'constraints' => [
3188
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3189
                                                    ],
3190
                                                    'defaults' => [
3191
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3192
                                                        'action' => 'edit'
3193
                                                    ]
3194
                                                ]
3195
                                            ],
3196
                                            'delete' => [
3197
                                                'type' => Segment::class,
3198
                                                'options' => [
3199
                                                    'route' => '/delete/:id',
3200
                                                    'constraints' => [
3201
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3202
                                                    ],
3203
                                                    'defaults' => [
3204
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3205
                                                        'action' => 'delete'
3206
                                                    ]
3207
                                                ]
3208
                                            ],
2822 nelberth 3209
                                            'view' => [
3210
                                                'type' => Segment::class,
3211
                                                'options' => [
3212
                                                    'route' => '/view/:id',
3213
                                                    'constraints' => [
3214
                                                        'id' => '[A-Za-z0-9\-]+\=*'
3215
                                                    ],
3216
                                                    'defaults' => [
3217
                                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController',
3218
                                                        'action' => 'view'
3219
                                                    ]
3220
                                                ]
3221
                                            ],
2517 nelberth 3222
                                    ]
3223
                                ],
2369 nelberth 3224
                            ]
2370 nelberth 3225
                        ],
1914 nelberth 3226
                        ]
2246 nelberth 3227
                    ]
2238 nelberth 3228
 
1333 efrain 3229
                ]
3230
            ],
3231
 
3232
            'development-and-training' => [
3233
                'type' => Literal::class,
3234
                'options' => [
3235
                    'route' => '/development-and-training',
3236
                    'defaults' => [
3237
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3238
                        'action' => 'index'
3239
                    ]
3240
                ],
3241
                'may_terminate' => true,
3242
                'child_routes' => [
3243
                ]
3244
            ],
1477 efrain 3245
 
1333 efrain 3246
 
1477 efrain 3247
            'recruitment-and-selection' => [
1333 efrain 3248
                'type' => Literal::class,
3249
                'options' => [
1477 efrain 3250
                    'route' => '/recruitment-and-selection',
1333 efrain 3251
                    'defaults' => [
1477 efrain 3252
                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionController',
1333 efrain 3253
                        'action' => 'index'
3254
                    ]
3255
                ],
3256
                'may_terminate' => true,
3257
                'child_routes' => [
1477 efrain 3258
                    'vacancies' => [
1345 eleazar 3259
                        'type' => Literal::class,
3260
                        'options' => [
1477 efrain 3261
                            'route' => '/vacancies',
1345 eleazar 3262
                            'defaults' => [
1385 eleazar 3263
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3264
                                'action' => 'index'
3265
                            ]
3266
                        ],
3267
                        'may_terminate' => true,
3268
                        'child_routes' => [
3269
                            'add' => [
3270
                                'type' => Literal::class,
3271
                                'options' => [
3272
                                    'route' => '/add',
3273
                                    'defaults' => [
1385 eleazar 3274
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3275
                                        'action' => 'add'
3276
                                    ]
3277
                                ]
3278
                            ],
3279
                            'edit' => [
3280
                                'type' => Segment::class,
3281
                                'options' => [
3282
                                    'route' => '/edit/:id',
3283
                                    'constraints' => [
3284
                                        'id' => '[A-Za-z0-9\-]+\=*'
3285
                                    ],
3286
                                    'defaults' => [
1385 eleazar 3287
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3288
                                        'action' => 'edit'
3289
                                    ]
3290
                                ]
3291
                            ],
3292
                            'delete' => [
3293
                                'type' => Segment::class,
3294
                                'options' => [
3295
                                    'route' => '/delete/:id',
3296
                                    'constraints' => [
3297
                                        'id' => '[A-Za-z0-9\-]+\=*'
3298
                                    ],
3299
                                    'defaults' => [
1385 eleazar 3300
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionVacancyController',
1345 eleazar 3301
                                        'action' => 'delete'
3302
                                    ]
3303
                                ]
3304
                            ]
3305
                        ]
3306
                    ],
1459 eleazar 3307
                    'candidates' => [
3308
                        'type' => Segment::class,
3309
                        'options' => [
1501 eleazar 3310
                            'route' => '/candidates[/:vacancy_uuid]',
1459 eleazar 3311
                            'constraints' => [
1508 eleazar 3312
                                'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
1459 eleazar 3313
                            ],
3314
                            'defaults' => [
3315
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
1502 eleazar 3316
                                'action' => 'index',
1503 eleazar 3317
                                'vacancy_uuid' => '',
1459 eleazar 3318
                            ]
3319
                        ],
3320
                        'may_terminate' => true,
3321
                        'child_routes' => [
3322
                            'add' => [
3323
                                'type' => Literal::class,
3324
                                'options' => [
1506 eleazar 3325
                                    'route' => '/add',
1459 eleazar 3326
                                    'defaults' => [
3327
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3328
                                        'action' => 'add'
3329
                                    ]
3330
                                ]
3331
                            ],
3332
                            'edit' => [
3333
                                'type' => Segment::class,
3334
                                'options' => [
3335
                                    'route' => '/edit/:id',
3336
                                    'constraints' => [
3337
                                        'id' => '[A-Za-z0-9\-]+\=*'
3338
                                    ],
3339
                                    'defaults' => [
3340
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3341
                                        'action' => 'edit'
3342
                                    ]
3343
                                ]
3344
                            ],
3345
                            'delete' => [
3346
                                'type' => Segment::class,
3347
                                'options' => [
3348
                                    'route' => '/delete/:id',
3349
                                    'constraints' => [
3350
                                        'id' => '[A-Za-z0-9\-]+\=*'
3351
                                    ],
3352
                                    'defaults' => [
3353
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3354
                                        'action' => 'delete'
3355
                                    ]
3356
                                ]
1630 eleazar 3357
                            ],
3358
                            'email' => [
3359
                                'type' => Literal::class,
3360
                                'options' => [
3361
                                    'route' => '/email',
3362
                                    'defaults' => [
3363
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3364
                                        'action' => 'email'
3365
                                    ]
3366
                                ]
3367
                            ],
1459 eleazar 3368
                        ]
3369
                    ],
1635 eleazar 3370
                    'user-by-email' => [
3371
                        'type' => Literal::class,
3372
                        'options' => [
3373
                            'route' => '/user-by-email',
3374
                            'defaults' => [
3375
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionCandidateController',
3376
                                'action' => 'email'
3377
                            ]
3378
                        ]
1709 eleazar 3379
                    ],
3380
                    'interview' => [
3381
                        'type' => Segment::class,
3382
                        'options' => [
3383
                            'route' => '/interview',
3384
                            'defaults' => [
3385
                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewController',
3386
                                'action' => 'index',
3387
                            ],
3388
                        ],
3389
                        'may_terminate' => true,
3390
                        'child_routes' => [
3391
                            'form' => [
4351 eleazar 3392
                                'type' => Segment::class,
1709 eleazar 3393
                                'options' => [
4349 eleazar 3394
                                    'route' => '/form[/:vacancy_uuid]',
3395
                                    'constraints' => [
3396
                                        'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
3397
                                    ],
1709 eleazar 3398
                                    'defaults' => [
1711 eleazar 3399
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
2029 eleazar 3400
                                        'action' => 'index',
4352 eleazar 3401
                                        'vacancy_uuid' => '',
1709 eleazar 3402
                                    ],
3403
                                ],
3404
                                'may_terminate' => true,
3405
                                'child_routes' => [
3406
                                    'add' => [
2059 eleazar 3407
                                        'type' => Segment::class,
1709 eleazar 3408
                                        'options' => [
3563 eleazar 3409
                                            'route' => '/add',
1709 eleazar 3410
                                            'defaults' => [
1899 eleazar 3411
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3412
                                                'action' => 'add'
3413
                                            ],
3414
                                        ],
3415
                                    ],
3416
                                    'edit' => [
2775 eleazar 3417
                                        'type' => Segment::class,
1709 eleazar 3418
                                        'options' => [
2764 eleazar 3419
                                            'route' => '/edit/:interview_uuid',
2765 eleazar 3420
                                            'constraints' => [
3421
                                                'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3422
                                            ],
1709 eleazar 3423
                                            'defaults' => [
1944 eleazar 3424
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3425
                                                'action' => 'edit'
3426
                                            ],
3427
                                        ],
3428
                                    ],
3429
                                    'delete' => [
2775 eleazar 3430
                                        'type' => Segment::class,
1709 eleazar 3431
                                        'options' => [
2764 eleazar 3432
                                            'route' => '/delete/:interview_uuid',
2765 eleazar 3433
                                            'constraints' => [
3434
                                                'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3435
                                            ],
1709 eleazar 3436
                                            'defaults' => [
2766 eleazar 3437
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
1709 eleazar 3438
                                                'action' => 'delete'
3439
                                            ],
3440
                                        ],
3441
                                    ],
8781 eleazar 3442
                                ],
3443
                            ],
3444
                            'file' => [
3445
                                'type' => Segment::class,
3446
                                'options' => [
3447
                                    'route' => '/:interview_uuid/file',
3448
                                    'constraints' => [
3449
                                        'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3450
                                    ],
3451
                                    'defaults' => [
3452
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFileController',
3453
                                        'action' => 'index'
3454
                                    ],
3455
                                ],
3456
                                'may_terminate' => true,
3457
                                'child_routes' => [
3458
                                    'add' => [
3459
                                        'type' => Literal::class,
3460
                                        'options' => [
3461
                                            'route' => '/add',
3462
                                            'defaults' => [
3463
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFileController',
3464
                                                'action' => 'add'
3465
                                            ]
3466
                                        ]
3467
                                    ],
3468
                                    'edit' => [
8779 eleazar 3469
                                        'type' => Segment::class,
3470
                                        'options' => [
8874 eleazar 3471
                                            'route' => '/edit/:id',
8779 eleazar 3472
                                            'constraints' => [
8781 eleazar 3473
                                                'id' => '[A-Za-z0-9\-]+\=*'
8779 eleazar 3474
                                            ],
3475
                                            'defaults' => [
3476
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFileController',
8781 eleazar 3477
                                                'action' => 'edit'
3478
                                            ]
3479
                                        ]
3480
                                    ],
3481
                                    'delete' => [
3482
                                        'type' => Segment::class,
3483
                                        'options' => [
8874 eleazar 3484
                                            'route' => '/delete/:id',
8781 eleazar 3485
                                            'constraints' => [
3486
                                                'id' => '[A-Za-z0-9\-]+\=*'
8779 eleazar 3487
                                            ],
8781 eleazar 3488
                                            'defaults' => [
3489
                                                'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFileController',
3490
                                                'action' => 'delete'
8779 eleazar 3491
                                            ]
3492
                                        ]
8874 eleazar 3493
                                    ],
8781 eleazar 3494
                                ]
1709 eleazar 3495
                            ],
3496
                            'report' =>[
3497
                                'type' => Segment::class,
3498
                                'options' => [
2864 eleazar 3499
                                    'route' => '/report/:interview_uuid',
3500
                                    'constraints' => [
3501
                                        'interview_uuid' => '[A-Za-z0-9\-]+\=*'
3502
                                    ],
1709 eleazar 3503
                                    'defaults' => [
2864 eleazar 3504
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
3505
                                        'action' => 'report',
1709 eleazar 3506
                                    ],
3507
                                ],
3508
                            ],
3571 eleazar 3509
                            'vacancy' =>[
3510
                                'type' => Segment::class,
3511
                                'options' => [
3512
                                    'route' => '/vacancy/:vacancy_uuid',
3513
                                    'constraints' => [
3514
                                        'vacancy_uuid' => '[A-Za-z0-9\-]+\=*'
3515
                                    ],
3516
                                    'defaults' => [
3517
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
3518
                                        'action' => 'vacancy',
3519
                                    ],
3520
                                ],
3521
                            ],
4367 eleazar 3522
                            'type' =>[
4365 eleazar 3523
                                'type' => Segment::class,
3524
                                'options' => [
4367 eleazar 3525
                                    'route' => '/type/:candidate_uuid',
4365 eleazar 3526
                                    'constraints' => [
3527
                                        'candidate_uuid' => '[A-Za-z0-9\-]+\=*'
3528
                                    ],
3529
                                    'defaults' => [
3530
                                        'controller' => '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController',
4367 eleazar 3531
                                        'action' => 'type',
4365 eleazar 3532
                                    ],
3533
                                ],
3534
                            ],
1709 eleazar 3535
                        ],
8779 eleazar 3536
                    ],
1459 eleazar 3537
                ],
1333 efrain 3538
            ],
3539
 
3540
            'induction' => [
3541
                'type' => Literal::class,
3542
                'options' => [
3543
                    'route' => '/induction',
3544
                    'defaults' => [
3545
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3546
                        'action' => 'index'
3547
                    ]
3548
                ],
3549
                'may_terminate' => true,
3550
                'child_routes' => [
3551
                ]
3552
            ],
3553
 
3554
            'organizational-climate' => [
3555
                'type' => Literal::class,
3556
                'options' => [
3557
                    'route' => '/organizational-climate',
3558
                    'defaults' => [
7218 eleazar 3559
                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
1333 efrain 3560
                        'action' => 'index'
3561
                    ]
3562
                ],
3563
                'may_terminate' => true,
3564
                'child_routes' => [
7218 eleazar 3565
                    'add' => [
3566
                        'type' => Segment::class,
3567
                        'options' => [
3568
                            'route' => '/add',
3569
                            'defaults' => [
7295 eleazar 3570
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3571
                                'action' => 'add'
3572
                            ],
3573
                        ],
3574
                    ],
3575
                    'edit' => [
3576
                        'type' => Segment::class,
3577
                        'options' => [
3578
                            'route' => '/edit/:id',
3579
                            'defaults' => [
7295 eleazar 3580
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3581
                                'action' => 'edit'
3582
                            ],
3583
                        ],
3584
                    ],
3585
                    'delete' => [
3586
                        'type' => Segment::class,
3587
                        'options' => [
3588
                            'route' => '/delete/:id',
3589
                            'defaults' => [
7295 eleazar 3590
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3591
                                'action' => 'delete'
3592
                            ],
3593
                        ],
3594
                    ],
3595
                    'segment' => [
3596
                        'type' => Segment::class,
3597
                        'options' => [
3598
                            'route' => '/segment/:id',
8536 efrain 3599
                            'constraints' => [
3600
                                'id' => '[A-Za-z0-9\-]+\=*'
3601
                            ],
7218 eleazar 3602
                            'defaults' => [
7295 eleazar 3603
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateController',
7218 eleazar 3604
                                'action' => 'segment'
3605
                            ],
3606
                        ],
3607
                    ],
3608
                    'form' => [
3609
                        'type' => Segment::class,
3610
                        'options' => [
3611
                            'route' => '/form',
3612
                            'defaults' => [
7295 eleazar 3613
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3614
                                'action' => 'index',
3615
                            ],
3616
                        ],
3617
                        'may_terminate' => true,
3618
                        'child_routes' => [
3619
                            'add' => [
3620
                                'type' => Segment::class,
3621
                                'options' => [
3622
                                    'route' => '/add',
3623
                                    'defaults' => [
7295 eleazar 3624
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3625
                                        'action' => 'add'
3626
                                    ],
3627
                                ],
3628
                            ],
3629
                            'edit' => [
3630
                                'type' => Segment::class,
3631
                                'options' => [
3632
                                    'route' => '/edit/:id',
3633
                                    'constraints' => [
3634
                                        'id' => '[A-Za-z0-9\-]+\=*'
3635
                                    ],
3636
                                    'defaults' => [
7295 eleazar 3637
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3638
                                        'action' => 'edit'
3639
                                    ]
3640
                                ]
3641
                            ],
3642
                            'delete' => [
3643
                                'type' => Segment::class,
3644
                                'options' => [
3645
                                    'route' => '/delete/:id',
3646
                                    'constraints' => [
3647
                                        'id' => '[A-Za-z0-9\-]+\=*'
3648
                                    ],
3649
                                    'defaults' => [
7295 eleazar 3650
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateFormController',
7218 eleazar 3651
                                        'action' => 'delete'
3652
                                    ]
3653
                                ]
3654
                            ]
3655
                        ],
3656
                    ],
3657
                    'test' => [
3658
                        'type' => Segment::class,
3659
                        'options' => [
7307 eleazar 3660
                            'route' => '/test[/:organizationalClimate_id]',
7218 eleazar 3661
                            'constraints' => [
7307 eleazar 3662
                                'organizationalClimate_id' => '[A-Za-z0-9\-]+\=*'
7218 eleazar 3663
                            ],
3664
                            'defaults' => [
7295 eleazar 3665
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3666
                                'action' => 'index',
7307 eleazar 3667
                                'organizationalClimate_id' => '',
7218 eleazar 3668
                            ],
3669
                        ],
3670
                        'may_terminate' => true,
3671
                        'child_routes' => [
3672
                            'add' => [
3673
                                'type' => Segment::class,
3674
                                'options' => [
3675
                                    'route' => '/add',
3676
                                    'defaults' => [
7295 eleazar 3677
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3678
                                        'action' => 'add',
3679
                                    ],
3680
                                ],
3681
                            ],
3682
                            'report' => [
3683
                                'type' => Segment::class,
3684
                                'options' => [
3685
                                    'route' => '/report/:uuid',
3686
                                    'defaults' => [
7295 eleazar 3687
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3688
                                        'action' => 'report',
3689
                                    ],
3690
                                ],
3691
                            ],
3692
                            'delete' => [
3693
                                'type' => Segment::class,
3694
                                'options' => [
3695
                                    'route' => '/delete/:id',
3696
                                    'defaults' => [
7295 eleazar 3697
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateTestController',
7218 eleazar 3698
                                        'action' => 'delete'
3699
                                    ]
3700
                                ]
3701
                            ]
3702
                        ],
3703
                    ],
3704
                    'report' => [
3705
                        'type' => Segment::class,
3706
                        'options' => [
7447 eleazar 3707
                            'route' => '/report[/:organizationalClimate_id]',
7218 eleazar 3708
                            'constraints' => [
7447 eleazar 3709
                                'organizationalClimate_id' => '[A-Za-z0-9\-]+\=*'
7218 eleazar 3710
                            ],
3711
                            'defaults' => [
7295 eleazar 3712
                                'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3713
                                'action' => 'index',
7447 eleazar 3714
                                'organizationalClimate_id' => '',
7218 eleazar 3715
                            ],
3716
                        ],
3717
                        'may_terminate' => true,
3718
                        'child_routes' => [
3719
                            'all' => [
3720
                                'type' => Segment::class,
3721
                                'options' => [
3722
                                    'route' => '/all',
3723
                                    'defaults' => [
7295 eleazar 3724
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3725
                                        'action' => 'all',
3726
                                    ]
3727
                                ]
3728
                            ],
3729
                            'overview' => [
3730
                                'type' => Segment::class,
3731
                                'options' => [
3732
                                    'route' => '/overview',
3733
                                    'defaults' => [
7295 eleazar 3734
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3735
                                        'action' => 'overview',
3736
                                    ]
3737
                                ]
3738
                            ],
3739
                            'csv' => [
3740
                                'type' => Segment::class,
3741
                                'options' => [
3742
                                    'route' => '/csv',
3743
                                    'defaults' => [
7295 eleazar 3744
                                        'controller' => '\LeadersLinked\Controller\OrganizationalClimateReportController',
7218 eleazar 3745
                                        'action' => 'csv',
3746
                                    ]
3747
                                ]
3748
                            ],
3749
                        ],
3750
                    ],
3751
                ],
1333 efrain 3752
            ],
3753
 
3754
            'culture' => [
3755
                'type' => Literal::class,
3756
                'options' => [
3757
                    'route' => '/culture',
3758
                    'defaults' => [
3759
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3760
                        'action' => 'index'
3761
                    ]
3762
                ],
3763
                'may_terminate' => true,
3764
                'child_routes' => [
3765
                ]
3766
            ],
3767
 
3768
            'communication' => [
3769
                'type' => Literal::class,
3770
                'options' => [
3771
                    'route' => '/communication',
3772
                    'defaults' => [
13013 nelberth 3773
                        'controller' => '\LeadersLinked\Controller\CommunicationController',
1333 efrain 3774
                        'action' => 'index'
3775
                    ]
3776
                ],
3777
                'may_terminate' => true,
3778
                'child_routes' => [
13028 nelberth 3779
                    'inmail' => [
13013 nelberth 3780
                        'type' => Segment::class,
3781
                        'options' => [
13028 nelberth 3782
                            'route' => '/inmail[/:id]',
3783
                            'constraints' => [
3784
                                'id' => '[A-Za-z0-9\-]+\=*',
3785
                            ],
13013 nelberth 3786
                            'defaults' => [
13016 nelberth 3787
                                'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
13013 nelberth 3788
                                'action' => 'index'
13028 nelberth 3789
                            ]
3790
                        ],
3791
                        'may_terminate' => true,
3792
                        'child_routes' => [
3793
                            'block' => [
3794
                                'type' => Literal::class,
3795
                                'options' => [
3796
                                    'route' => '/block',
3797
                                    'defaults' => [
3798
                                        'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
3799
                                        'action' => 'blockConversation'
3800
                                    ]
3801
                                ]
13013 nelberth 3802
                            ],
13028 nelberth 3803
                            'delete' => [
3804
                                'type' => Literal::class,
3805
                                'options' => [
3806
                                    'route' => '/delete',
3807
                                    'defaults' => [
3808
                                        'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
3809
                                        'action' => 'deleteConversation'
3810
                                    ]
3811
                                ]
3812
                            ],
3813
                            'message' => [
3814
                                'type' => Literal::class,
3815
                                'options' => [
3816
                                    'route' => '/message',
3817
                                    'defaults' => [
3818
                                        'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
3819
                                        'action' => 'message'
3820
                                    ]
3821
                                ],
3822
                                'may_terminate' => true,
3823
                                'child_routes' => [
3824
                                    'send' => [
3825
                                        'type' => Segment::class,
3826
                                        'options' => [
3827
                                            'route' => '/send[/encoding/:encoding]',
3828
                                            'constraints' => [
3829
                                                'encoding' => 'base64'
3830
                                            ],
3831
                                            'defaults' => [
3832
                                                'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
3833
                                                'action' => 'sendMessage'
3834
                                            ]
3835
                                        ]
3836
                                    ],
3837
                                    'delete' => [
3838
                                        'type' => Segment::class,
3839
                                        'options' => [
3840
                                            'route' => '/delete/:message',
3841
                                            'constraints' => [
3842
                                                'message' => '[A-Za-z0-9\-]+\=*',
3843
                                            ],
3844
                                            'defaults' => [
3845
                                                'controller' => '\LeadersLinked\Controller\CommunicationCompanyController',
3846
                                                'action' => 'delete'
3847
                                            ]
3848
                                        ]
3849
                                    ],
3850
                                ],
3851
                            ],
13013 nelberth 3852
                        ],
3853
                    ],
13028 nelberth 3854
 
1333 efrain 3855
                ]
3856
            ],
3857
 
3858
            'career-development' => [
3859
                'type' => Literal::class,
3860
                'options' => [
3861
                    'route' => '/career-development',
3862
                    'defaults' => [
3863
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3864
                        'action' => 'index'
3865
                    ]
3866
                ],
3867
                'may_terminate' => true,
3868
                'child_routes' => [
3869
                ]
3870
            ],
3871
 
4386 eleazar 3872
            'survey' => [
1333 efrain 3873
                'type' => Literal::class,
3874
                'options' => [
4397 eleazar 3875
                    'route' => '/survey',
1333 efrain 3876
                    'defaults' => [
4375 eleazar 3877
                        'controller' => '\LeadersLinked\Controller\SurveyController',
1333 efrain 3878
                        'action' => 'index'
3879
                    ]
3880
                ],
3881
                'may_terminate' => true,
3882
                'child_routes' => [
4579 eleazar 3883
                    'add' => [
3884
                        'type' => Segment::class,
3885
                        'options' => [
3886
                            'route' => '/add',
3887
                            'defaults' => [
3888
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3889
                                'action' => 'add'
3890
                            ],
3891
                        ],
3892
                    ],
3893
                    'edit' => [
3894
                        'type' => Segment::class,
3895
                        'options' => [
3896
                            'route' => '/edit/:id',
3897
                            'defaults' => [
3898
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3899
                                'action' => 'edit'
3900
                            ],
3901
                        ],
3902
                    ],
3903
                    'delete' => [
3904
                        'type' => Segment::class,
3905
                        'options' => [
3906
                            'route' => '/delete/:id',
3907
                            'defaults' => [
3908
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3909
                                'action' => 'delete'
3910
                            ],
3911
                        ],
3912
                    ],
3913
                    'segment' => [
3914
                        'type' => Segment::class,
3915
                        'options' => [
3916
                            'route' => '/segment/:id',
3917
                            'defaults' => [
3918
                                'controller' => '\LeadersLinked\Controller\SurveyController',
3919
                                'action' => 'segment'
3920
                            ],
3921
                        ],
3922
                    ],
4374 eleazar 3923
                    'form' => [
3924
                        'type' => Segment::class,
3925
                        'options' => [
3926
                            'route' => '/form',
3927
                            'defaults' => [
4375 eleazar 3928
                                'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3929
                                'action' => 'index',
3930
                            ],
3931
                        ],
3932
                        'may_terminate' => true,
3933
                        'child_routes' => [
3934
                            'add' => [
3935
                                'type' => Segment::class,
3936
                                'options' => [
3937
                                    'route' => '/add',
3938
                                    'defaults' => [
4375 eleazar 3939
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3940
                                        'action' => 'add'
3941
                                    ],
3942
                                ],
3943
                            ],
3944
                            'edit' => [
3945
                                'type' => Segment::class,
3946
                                'options' => [
3947
                                    'route' => '/edit/:id',
3948
                                    'constraints' => [
3949
                                        'id' => '[A-Za-z0-9\-]+\=*'
3950
                                    ],
3951
                                    'defaults' => [
4375 eleazar 3952
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3953
                                        'action' => 'edit'
3954
                                    ]
3955
                                ]
3956
                            ],
3957
                            'delete' => [
3958
                                'type' => Segment::class,
3959
                                'options' => [
3960
                                    'route' => '/delete/:id',
3961
                                    'constraints' => [
3962
                                        'id' => '[A-Za-z0-9\-]+\=*'
3963
                                    ],
3964
                                    'defaults' => [
4375 eleazar 3965
                                        'controller' => '\LeadersLinked\Controller\SurveyFormController',
4374 eleazar 3966
                                        'action' => 'delete'
3967
                                    ]
3968
                                ]
3969
                            ]
3970
                        ],
3971
                    ],
5287 eleazar 3972
                    'test' => [
3973
                        'type' => Segment::class,
3974
                        'options' => [
5884 eleazar 3975
                            'route' => '/test[/:survey_id]',
3976
                            'constraints' => [
3977
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
3978
                            ],
5287 eleazar 3979
                            'defaults' => [
3980
                                'controller' => '\LeadersLinked\Controller\SurveyTestController',
3981
                                'action' => 'index',
5884 eleazar 3982
                                'survey_id' => '',
5287 eleazar 3983
                            ],
3984
                        ],
3985
                        'may_terminate' => true,
3986
                        'child_routes' => [
3987
                            'add' => [
3988
                                'type' => Segment::class,
3989
                                'options' => [
6036 eleazar 3990
                                    'route' => '/add',
5287 eleazar 3991
                                    'defaults' => [
3992
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
5732 eleazar 3993
                                        'action' => 'add',
5287 eleazar 3994
                                    ],
3995
                                ],
3996
                            ],
6662 eleazar 3997
                            'report' => [
3998
                                'type' => Segment::class,
3999
                                'options' => [
6882 eleazar 4000
                                    'route' => '/report/:uuid',
6662 eleazar 4001
                                    'defaults' => [
4002
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
4003
                                        'action' => 'report',
4004
                                    ],
4005
                                ],
4006
                            ],
5287 eleazar 4007
                            'delete' => [
4008
                                'type' => Segment::class,
4009
                                'options' => [
6882 eleazar 4010
                                    'route' => '/delete/:id',
5287 eleazar 4011
                                    'defaults' => [
4012
                                        'controller' => '\LeadersLinked\Controller\SurveyTestController',
4013
                                        'action' => 'delete'
4014
                                    ]
4015
                                ]
4016
                            ]
4017
                        ],
4018
                    ],
5823 eleazar 4019
                    'report' => [
4020
                        'type' => Segment::class,
4021
                        'options' => [
5911 eleazar 4022
                            'route' => '/report[/:survey_id]',
4023
                            'constraints' => [
4024
                                'survey_id' => '[A-Za-z0-9\-]+\=*'
4025
                            ],
5823 eleazar 4026
                            'defaults' => [
4027
                                'controller' => '\LeadersLinked\Controller\SurveyReportController',
4028
                                'action' => 'index',
5911 eleazar 4029
                                'survey_id' => '',
5823 eleazar 4030
                            ],
4031
                        ],
4032
                        'may_terminate' => true,
4033
                        'child_routes' => [
4034
                            'all' => [
4035
                                'type' => Segment::class,
4036
                                'options' => [
5868 eleazar 4037
                                    'route' => '/all',
5823 eleazar 4038
                                    'defaults' => [
4039
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
5868 eleazar 4040
                                        'action' => 'all',
5823 eleazar 4041
                                    ]
4042
                                ]
4043
                            ],
6496 eleazar 4044
                            'overview' => [
4045
                                'type' => Segment::class,
4046
                                'options' => [
4047
                                    'route' => '/overview',
4048
                                    'defaults' => [
4049
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
4050
                                        'action' => 'overview',
4051
                                    ]
4052
                                ]
4053
                            ],
7024 eleazar 4054
                            'csv' => [
4055
                                'type' => Segment::class,
4056
                                'options' => [
4057
                                    'route' => '/csv',
4058
                                    'defaults' => [
4059
                                        'controller' => '\LeadersLinked\Controller\SurveyReportController',
4060
                                        'action' => 'csv',
4061
                                    ]
4062
                                ]
4063
                            ],
5823 eleazar 4064
                        ],
4065
                    ],
1333 efrain 4066
                ]
4067
            ],
4068
 
4069
            'building-my-future' => [
4070
                'type' => Literal::class,
4071
                'options' => [
4072
                    'route' => '/building-my-future',
4073
                    'defaults' => [
4074
                        'controller' => '\LeadersLinked\Controller\UnknownController',
4075
                        'action' => 'index'
4076
                    ]
4077
                ],
4078
                'may_terminate' => true,
4079
                'child_routes' => [
4080
                ]
4081
            ],
11431 nelberth 4082
 
4083
            'csrf' => [
4084
                'type' => Literal::class,
4085
                'options' => [
4086
                    'route' => '/csrf',
4087
                    'defaults' => [
4088
                        'controller' => '\LeadersLinked\Controller\ChatController',
4089
                        'action' => 'csrf'
4090
                    ]
4091
                ]
4092
            ],
11340 nelberth 4093
            'chat' => [
4094
                'type' => Literal::class,
4095
                'options' => [
4096
                    'route' => '/chat',
4097
                    'defaults' => [
4098
                        'controller' => '\LeadersLinked\Controller\ChatController',
4099
                        'action' => 'index'
4100
                    ]
4101
                ],
4102
                'may_terminate' => true,
4103
                'child_routes' => [
4104
                    // Inicio de los Routes del Chat //
7184 nelberth 4105
 
11340 nelberth 4106
                    'heart-beat' => [
4107
                        'type' => Literal::class,
4108
                        'options' => [
4109
                            'route' => '/heart-beat',
4110
                            'defaults' => [
4111
                                'controller' => '\LeadersLinked\Controller\ChatController',
4112
                                'action' => 'heartBeat',
4113
                            ],
4114
                        ],
4115
                    ],
4116
                    'create-group' => [
4117
                        'type' => Literal::class,
4118
                        'options' => [
4119
                            'route' => '/create-group',
4120
                            'defaults' => [
4121
                                'controller' => '\LeadersLinked\Controller\ChatController',
4122
                                'action' => 'createGroup',
4123
                            ],
4124
                        ],
4125
                    ],
4126
                    'add-user-to-group' => [
4127
                        'type' => Segment::class,
4128
                        'options' => [
4129
                            'route' => '/add-user-to-group/:group_id',
4130
                            'constraints' => [
4131
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4132
                            ],
4133
                            'defaults' => [
4134
                                'controller' => '\LeadersLinked\Controller\ChatController',
4135
                                'action' => 'addUserToGroup',
4136
                            ],
4137
                        ],
4138
                    ],
4139
                    'mark-seen' => [
4140
                        'type' => Segment::class,
4141
                        'options' => [
4142
                            'route' => '/mark-seen/:id',
4143
                            'constraints' => [
4144
                                'id' => '[A-Za-z0-9\-]+\=*',
4145
                            ],
4146
                            'defaults' => [
4147
                                'controller' => '\LeadersLinked\Controller\ChatController',
4148
                                'action' => 'markSeen',
4149
                            ],
4150
                        ],
4151
                    ],
4152
                    'mark-received' => [
4153
                        'type' => Segment::class,
4154
                        'options' => [
4155
                            'route' => '/mark-received/:id',
4156
                            'constraints' => [
4157
                                'id' => '[A-Za-z0-9\-]+\=*',
4158
                            ],
4159
                            'defaults' => [
4160
                                'controller' => '\LeadersLinked\Controller\ChatController',
4161
                                'action' => 'markReceived',
4162
                            ],
4163
                        ],
4164
                    ],
4165
                    'remove-user-from-group' => [
4166
                        'type' => Segment::class,
4167
                        'options' => [
4168
                            'route' => '/remove-user-from-group/:group_id/:user_id',
4169
                            'constraints' => [
4170
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4171
                                'user_id' => '[A-Za-z0-9\-]+\=*',
4172
                            ],
4173
                            'defaults' => [
4174
                                'controller' => '\LeadersLinked\Controller\ChatController',
4175
                                'action' => 'removeUserFromGroup',
4176
                            ],
4177
                        ],
4178
                    ],
4179
                    'get-all-messages' => [
4180
                        'type' => Segment::class,
4181
                        'options' => [
4182
                            'route' => '/get-all-messages/:id',
4183
                            'constraints' => [
4184
                                'id' => '[A-Za-z0-9\-]+\=*',
4185
                            ],
4186
                            'defaults' => [
4187
                                'controller' => '\LeadersLinked\Controller\ChatController',
4188
                                'action' => 'getAllMessages',
4189
                            ],
4190
                        ],
4191
                    ],
4192
                    'send' => [
4193
                        'type' => Segment::class,
4194
                        'options' => [
4195
                            'route' => '/send/:id',
4196
                            'constraints' => [
4197
                                'id' => '[A-Za-z0-9\-]+\=*',
4198
                            ],
4199
                            'defaults' => [
4200
                                'controller' => '\LeadersLinked\Controller\ChatController',
4201
                                'action' => 'send',
4202
                            ],
4203
                        ],
4204
                    ],
4205
                    'get-contacts-availables-for-group' => [
4206
                        'type' => Segment::class,
4207
                        'options' => [
4208
                            'route' => '/get-contacts-availables-for-group/:group_id',
4209
                            'constraints' => [
4210
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4211
                            ],
4212
                            'defaults' => [
4213
                                'controller' => '\LeadersLinked\Controller\ChatController',
4214
                                'action' => 'contactAvailableGroupList',
4215
                            ],
4216
                        ],
4217
                    ],
4218
                    'get-contact-group-list' => [
4219
                        'type' => Segment::class,
4220
                        'options' => [
4221
                            'route' => '/get-contact-group-list/:group_id',
4222
                            'constraints' => [
4223
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4224
                            ],
4225
                            'defaults' => [
4226
                                'controller' => '\LeadersLinked\Controller\ChatController',
4227
                                'action' => 'contactGroupList',
4228
                            ],
4229
                        ],
4230
                    ],
4231
                    'leave-group' => [
4232
                        'type' => Segment::class,
4233
                        'options' => [
4234
                            'route' => '/leave-group/:group_id',
4235
                            'constraints' => [
4236
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4237
                            ],
4238
                            'defaults' => [
4239
                                'controller' => '\LeadersLinked\Controller\ChatController',
4240
                                'action' => 'leaveGroup',
4241
                            ],
4242
                        ],
4243
                    ],
4244
                    'delete-group' => [
4245
                        'type' => Segment::class,
4246
                        'options' => [
4247
                            'route' => '/delete-group/:group_id',
4248
                            'constraints' => [
4249
                                'group_id' => '[A-Za-z0-9\-]+\=*',
4250
                            ],
4251
                            'defaults' => [
4252
                                'controller' => '\LeadersLinked\Controller\ChatController',
4253
                                'action' => 'deleteGroup',
4254
                            ],
4255
                        ],
4256
                    ],
4257
                    'close' => [
4258
                        'type' => Segment::class,
4259
                        'options' => [
4260
                            'route' => '/close/:id',
4261
                            'constraints' => [
4262
                                'id' => '[A-Za-z0-9\-]+\=*',
4263
                            ],
4264
                            'defaults' => [
4265
                                'controller' => '\LeadersLinked\Controller\ChatController',
4266
                                'action' => 'close',
4267
                            ],
4268
                        ],
4269
                    ],
4270
                    'clear' => [
4271
                        'type' => Segment::class,
4272
                        'options' => [
4273
                            'route' => '/clear/:id',
4274
                            'constraints' => [
4275
                                'id' => '[A-Za-z0-9\-]+\=*',
4276
                            ],
4277
                            'defaults' => [
4278
                                'controller' => '\LeadersLinked\Controller\ChatController',
4279
                                'action' => 'clear',
4280
                            ],
4281
                        ],
4282
                    ],
4283
                    'upload' => [
4284
                        'type' => Segment::class,
4285
                        'options' => [
4286
                            'route' => '/upload/:id',
4287
                            'constraints' => [
4288
                                'id' => '[A-Za-z0-9\-]+\=*',
4289
                            ],
4290
                            'defaults' => [
4291
                                'controller' => '\LeadersLinked\Controller\ChatController',
4292
                                'action' => 'upload',
4293
                            ],
4294
                        ],
4295
                    ],
4296
                ],
4297
            ],
7224 nelberth 4298
 
1333 efrain 4299
            'high-performance-teams' => [
4300
                'type' => Literal::class,
4301
                'options' => [
4591 nelberth 4302
                    'route' => '/high-performance-teams',
4588 nelberth 4303
                    'defaults' => [
4376 nelberth 4304
                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsController',
1333 efrain 4305
                        'action' => 'index'
4306
                    ]
4307
                ],
4308
                'may_terminate' => true,
4309
                'child_routes' => [
7240 nelberth 4310
                    'groups' => [
4388 nelberth 4311
                        'type' => Literal::class,
4312
                        'options' => [
7224 nelberth 4313
                            'route' => '/groups',
4388 nelberth 4314
                            'defaults' => [
7224 nelberth 4315
                                'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4388 nelberth 4316
                                'action' => 'index'
4317
                            ]
4411 nelberth 4318
                        ],'may_terminate' => true,
4319
                        'child_routes' => [
4320
 
4321
                            'add' => [
4322
                                'type' => Literal::class,
4323
                                'options' => [
4324
                                    'route' => '/add',
4325
                                    'defaults' => [
7224 nelberth 4326
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 4327
                                        'action' => 'add'
4328
                                    ]
4329
                                ]
4330
                            ],
4331
                            'edit' => [
4332
                                'type' => Segment::class,
4333
                                'options' => [
11082 nelberth 4334
                                    'route' => '/edit/:group_id',
4411 nelberth 4335
                                    'constraints' => [
11082 nelberth 4336
                                        'group_id' => '[A-Za-z0-9\-]+\=*'
4411 nelberth 4337
                                    ],
4338
                                    'defaults' => [
7224 nelberth 4339
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 4340
                                        'action' => 'edit'
4341
                                    ]
4342
                                ]
4343
                            ],
4344
                            'delete' => [
4345
                                'type' => Segment::class,
4346
                                'options' => [
11082 nelberth 4347
                                    'route' => '/delete/:group_id',
4411 nelberth 4348
                                    'constraints' => [
11082 nelberth 4349
                                        'group_id' => '[A-Za-z0-9\-]+\=*'
4411 nelberth 4350
                                    ],
4351
                                    'defaults' => [
7224 nelberth 4352
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController',
4411 nelberth 4353
                                        'action' => 'delete'
4354
                                    ]
4355
                                ]
7261 nelberth 4356
                            ],'view' => [
4509 nelberth 4357
                                'type' => Segment::class,
4358
                                'options' => [
11082 nelberth 4359
                                    'route' => '/view/:group_id',
4509 nelberth 4360
                                    'constraints' => [
11082 nelberth 4361
                                        'group_id' => '[A-Za-z0-9\-]+\=*',
4509 nelberth 4362
                                    ],
4363
                                    'defaults' => [
7308 nelberth 4364
                                        'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController',
4571 nelberth 4365
                                        'action' => 'index'
4509 nelberth 4366
                                    ]
7483 nelberth 4367
                                ],
4368
                                    'may_terminate' => true,
4369
                                    'child_routes' => [
12408 nelberth 4370
                                        'objectives' => [
11902 nelberth 4371
                                            'type' => Literal::class,
4372
                                            'options' => [
12408 nelberth 4373
                                                'route' => '/objectives',
4374
                                                'defaults' => [
12433 nelberth 4375
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4376
                                                    'action' => 'index'
4377
                                                ]
4378
                                            ],
4379
 
4380
                                            'may_terminate' => true,
4381
                                            'child_routes' => [
4382
 
4383
                                                'add' => [
4384
                                                    'type' => Literal::class,
4385
                                                    'options' => [
4386
                                                        'route' => '/add',
4387
                                                        'defaults' => [
12675 nelberth 4388
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4389
                                                            'action' => 'add'
4390
                                                        ]
4391
                                                    ]
4392
                                                ],
4393
                                                'edit' => [
4394
                                                    'type' => Segment::class,
4395
                                                    'options' => [
4396
                                                        'route' => '/edit/:id',
4397
                                                        'constraints' => [
4398
                                                            'id' => '[A-Za-z0-9\-]+\=*'
4399
                                                        ],
4400
                                                        'defaults' => [
12675 nelberth 4401
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4402
                                                            'action' => 'edit'
4403
                                                        ]
4404
                                                    ]
4405
                                                ],
4406
                                                'delete' => [
4407
                                                    'type' => Segment::class,
4408
                                                    'options' => [
4409
                                                        'route' => '/delete/:id',
4410
                                                        'constraints' => [
4411
                                                            'id' => '[A-Za-z0-9\-]+\=*'
4412
                                                        ],
4413
                                                        'defaults' => [
12675 nelberth 4414
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4415
                                                            'action' => 'delete'
4416
                                                        ]
4417
                                                    ]
4418
                                                ],
4419
                                                'report' => [
4420
                                                    'type' => Segment::class,
4421
                                                    'options' => [
4422
                                                        'route' => '/report/:id',
4423
                                                        'constraints' => [
4424
                                                            'id' => '[A-Za-z0-9\-]+\=*'
4425
                                                        ],
4426
                                                        'defaults' => [
12675 nelberth 4427
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4428
                                                            'action' => 'report'
4429
                                                        ]
4430
                                                    ]
4431
                                                ],
4432
                                                'reportall' => [
4433
                                                    'type' => Literal::class,
4434
                                                    'options' => [
4435
                                                        'route' => '/reportall',
4436
                                                        'defaults' => [
12675 nelberth 4437
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4438
                                                            'action' => 'reportall'
4439
                                                        ]
4440
                                                    ]
4441
                                                ],
4442
 
4443
                                                'matriz' => [
4444
                                                    'type' => Literal::class,
4445
                                                    'options' => [
4446
                                                        'route' => '/matriz',
4447
                                                        'defaults' => [
12675 nelberth 4448
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController',
12408 nelberth 4449
                                                            'action' => 'matriz'
4450
                                                        ]
4451
                                                    ]
4452
                                                ],
4453
                                                'goals' => [
4454
                                                    'type' => Segment::class,
4455
                                                    'options' => [
4456
                                                        'route' => '/:objective_id/goals',
4457
                                                        'constraints' => [
4458
                                                            'objective_id' => '[A-Za-z0-9\-]+\=*'
4459
                                                        ],
4460
                                                        'defaults' => [
12736 nelberth 4461
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController',
12408 nelberth 4462
                                                            'action' => 'index'
4463
                                                        ]
4464
                                                    ],
4465
 
4466
                                                    'may_terminate' => true,
4467
                                                    'child_routes' => [
4468
                                                        'add' => [
4469
                                                            'type' => Literal::class,
4470
                                                            'options' => [
4471
                                                                'route' => '/add',
4472
                                                                'defaults' => [
12736 nelberth 4473
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController',
12408 nelberth 4474
                                                                    'action' => 'add'
4475
                                                                ]
4476
                                                            ]
4477
                                                        ],
4478
                                                        'edit' => [
4479
                                                            'type' => Segment::class,
4480
                                                            'options' => [
4481
                                                                'route' => '/edit/:id',
4482
                                                                'constraints' => [
4483
                                                                    'id' => '[A-Za-z0-9\-]+\=*'
4484
                                                                ],
4485
                                                                'defaults' => [
12736 nelberth 4486
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController',
12408 nelberth 4487
                                                                    'action' => 'edit'
4488
                                                                ]
4489
                                                            ]
4490
                                                        ],
4491
                                                        'delete' => [
4492
                                                            'type' => Segment::class,
4493
                                                            'options' => [
4494
                                                                'route' => '/delete/:id',
4495
                                                                'constraints' => [
4496
                                                                    'id' => '[A-Za-z0-9\-]+\=*'
4497
                                                                ],
4498
                                                                'defaults' => [
12736 nelberth 4499
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController',
12408 nelberth 4500
                                                                    'action' => 'delete'
4501
                                                                ]
4502
                                                            ]
4503
                                                        ],
4504
                                                        'task' => [
4505
                                                            'type' => Segment::class,
4506
                                                            'options' => [
4507
                                                                'route' => '/:goal_id/task',
4508
                                                                'constraints' => [
4509
                                                                    'goal_id' => '[A-Za-z0-9\-]+\=*'
4510
                                                                ],
4511
                                                                'defaults' => [
12829 nelberth 4512
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController',
12408 nelberth 4513
                                                                    'action' => 'index'
4514
                                                                ]
4515
                                                            ],
4516
 
4517
                                                            'may_terminate' => true,
4518
                                                            'child_routes' => [
4519
                                                                'add' => [
4520
                                                                    'type' => Literal::class,
4521
                                                                    'options' => [
4522
                                                                        'route' => '/add',
4523
                                                                        'defaults' => [
12829 nelberth 4524
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController',
12408 nelberth 4525
                                                                            'action' => 'add'
4526
                                                                        ]
4527
                                                                    ]
4528
                                                                ],
4529
                                                                'edit' => [
4530
                                                                    'type' => Segment::class,
4531
                                                                    'options' => [
4532
                                                                        'route' => '/edit/:id',
4533
                                                                        'constraints' => [
4534
                                                                            'id' => '[A-Za-z0-9\-]+\=*'
4535
                                                                        ],
4536
                                                                        'defaults' => [
12829 nelberth 4537
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController',
12408 nelberth 4538
                                                                            'action' => 'edit'
4539
                                                                        ]
4540
                                                                    ]
4541
                                                                ],
4542
                                                                'delete' => [
4543
                                                                    'type' => Segment::class,
4544
                                                                    'options' => [
4545
                                                                        'route' => '/delete/:id',
4546
                                                                        'constraints' => [
4547
                                                                            'id' => '[A-Za-z0-9\-]+\=*'
4548
                                                                        ],
4549
                                                                        'defaults' => [
12829 nelberth 4550
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController',
12408 nelberth 4551
                                                                            'action' => 'delete'
4552
                                                                        ]
4553
                                                                    ]
4554
                                                                ],
4555
                                                                'view' => [
4556
                                                                    'type' => Segment::class,
4557
                                                                    'options' => [
4558
                                                                        'route' => '/view/:id',
4559
                                                                        'constraints' => [
4560
                                                                            'id' => '[A-Za-z0-9\-]+\=*'
4561
                                                                        ],
4562
                                                                        'defaults' => [
12829 nelberth 4563
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController',
12408 nelberth 4564
                                                                            'action' => 'view'
4565
                                                                        ]
4566
                                                                    ]
4567
                                                                ],
4568
                                                        ]
4569
                                                    ],
4570
                                                ]
4571
                                            ],
4572
                                            ]
4573
                                        ]
4574
                                        ,'feeds' => [
4575
                                            'type' => Literal::class,
4576
                                            'options' => [
11902 nelberth 4577
                                                'route' => '/feeds',
11908 nelberth 4578
 
11902 nelberth 4579
                                            ],
4580
                                            'may_terminate' => true,
4581
                                            'child_routes' => [
4582
                                                'timeline' => [
4583
                                                    'type' => Segment::class,
4584
                                                    'options' => [
11914 nelberth 4585
                                                        'route' => '/timeline[/urgent/:urgent][/topic_id/:topic_id]',
11902 nelberth 4586
                                                        'constraints' => [
4587
                                                            'hptg_id'=>'[A-Za-z0-9\-]+\=*',
4588
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
4589
                                                            'urgent' => 'u',
4590
                                                        ],
4591
                                                        'defaults' => [
4592
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4593
                                                            'action' => 'timeline'
4594
                                                        ]
4595
                                                    ]
4596
                                                ],
4597
                                                'onefeed' => [
4598
                                                    'type' => Segment::class,
4599
                                                    'options' => [
11997 nelberth 4600
                                                        'route' => '/onefeed[/:feed_id][/:topic_id]',
11902 nelberth 4601
                                                        'constraints' => [
4602
                                                            'group_id' => '[A-Za-z0-9\-]+\=*',
4603
                                                            'feed_id' => '[A-Za-z0-9\-]+\=*',
4604
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
4605
                                                        ],
4606
                                                        'defaults' => [
4607
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4608
                                                            'action' => 'oneFeed'
4609
                                                        ]
4610
                                                    ]
4611
                                                ],
4612
                                                'delete' => [
4613
                                                    'type' => Segment::class,
4614
                                                    'options' => [
4615
                                                        'route' => '/delete/:id',
4616
                                                        'constraints' => [
4617
                                                            'id' => '[A-Za-z0-9\-]+\=*',
4618
                                                        ],
4619
                                                        'defaults' => [
4620
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4621
                                                            'action' => 'delete'
4622
                                                        ],
4623
                                                    ]
4624
                                                ],
4625
                                                'comments' => [
4626
                                                    'type' => Segment::class,
4627
                                                    'options' => [
4628
                                                        'route' => '/comments/:id',
4629
                                                        'constraints' => [
4630
                                                            'id' => '[A-Za-z0-9\-]+\=*',
4631
                                                        ],
4632
                                                        'defaults' => [
4633
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4634
                                                            'action' => 'comment'
4635
                                                        ],
4636
                                                    ],
4637
                                                    'may_terminate' => true,
4638
                                                    'child_routes' => [
4639
                                                        'delete' => [
4640
                                                            'type' => Segment::class,
4641
                                                            'options' => [
4642
                                                                'route' => '/delete/:comment',
4643
                                                                'constraints' => [
4644
                                                                    'comment' => '[A-Za-z0-9\-]+\=*',
4645
                                                                ],
4646
                                                                'defaults' => [
4647
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4648
                                                                    'action' => 'commentDelete'
4649
                                                                ]
4650
                                                            ]
4651
                                                        ],
4652
 
4653
                                                        'answer' => [
4654
                                                            'type' => Segment::class,
4655
                                                            'options' => [
4656
                                                                'route' => '/answer/:comment',
4657
                                                                'constraints' => [
4658
                                                                    'comment' => '[A-Za-z0-9\-]+\=*',
4659
                                                                ],
4660
                                                                'defaults' => [
4661
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4662
                                                                    'action' => 'answer'
4663
                                                                ]
4664
                                                            ]
4665
                                                        ],
4666
                                                    ]
4667
                                                ],
4668
                                                'add' => [
4669
                                                    'type' => Segment::class,
4670
                                                    'options' => [
4671
                                                        'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding][/type/:type][/feed/:feed][/myt_id/:myt_id][/hptg_id/:hptg_id][/topic_id/:topic_id]',
4672
                                                        'constraints' => [
4673
                                                            'company_id' => '[A-Za-z0-9\-]+\=*',
4674
                                                            'group_id' => '[A-Za-z0-9\-]+\=*',
4675
                                                            'hptg_id' => '[A-Za-z0-9\-]+\=*',
4676
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*',
4677
                                                            'myt_id' => '[A-Za-z0-9\-]+\=*',
4678
                                                            'type' => 'group|company|hptg|mytq|myta',
4679
                                                            'encoding' => 'base64'
4680
                                                        ],
4681
                                                        'defaults' => [
4682
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController',
4683
                                                            'action' => 'add'
4684
                                                        ]
4685
                                                    ]
4686
                                                ],
4687
                                            ],
4688
                                        ],
7811 nelberth 4689
                                        'members' => [
7823 nelberth 4690
                                            'type' => Literal::class,
7811 nelberth 4691
                                            'options' => [
4692
                                                'route' => '/members',
4693
                                                'defaults' => [
4694
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4695
                                                    'action' => 'index'
4696
                                                ]
8012 nelberth 4697
                                            ],'may_terminate' => true,
4698
                                            'child_routes' => [
4699
                                                'invite' => [
4700
                                                    'type' => Segment::class,
4701
                                                    'options' => [
11083 nelberth 4702
                                                        'route' => '/invite/:user_id',
8054 nelberth 4703
                                                        'constraints' => [
11083 nelberth 4704
                                                            'user_id' => '[A-Za-z0-9\-]+\=*'
8054 nelberth 4705
                                                        ],
8012 nelberth 4706
                                                        'defaults' => [
4707
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4708
                                                            'action' => 'invite'
4709
                                                        ]
4710
                                                    ]
4711
                                                ],
4712
                                                'edit' => [
4713
                                                    'type' => Segment::class,
4714
                                                    'options' => [
11083 nelberth 4715
                                                        'route' => '/edit/:user_id',
8012 nelberth 4716
                                                        'constraints' => [
11083 nelberth 4717
                                                            'user_id' => '[A-Za-z0-9\-]+\=*'
8012 nelberth 4718
                                                        ],
4719
                                                        'defaults' => [
4720
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
4721
                                                            'action' => 'edit'
4722
                                                        ]
4723
                                                    ]
4724
                                                ],
8054 nelberth 4725
                                                'delete' => [
8012 nelberth 4726
                                                    'type' => Segment::class,
4727
                                                    'options' => [
11083 nelberth 4728
                                                        'route' => '/delete[/:user_id]',
8012 nelberth 4729
                                                        'constraints' => [
11083 nelberth 4730
                                                            'user_id' => '[A-Za-z0-9\-]+\=*'
8012 nelberth 4731
                                                        ],
4732
                                                        'defaults' => [
4733
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController',
8054 nelberth 4734
                                                            'action' => 'delete'
8012 nelberth 4735
                                                        ]
4736
                                                    ]
4737
                                                ],
4738
                                            ]
7811 nelberth 4739
                                        ],
8686 nelberth 4740
                                        'urgent' => [
8702 nelberth 4741
                                            'type' => Segment::class,
4742
                                            'options' => [
4743
                                                'route' => '/urgent[/:urgent]',
4744
                                                'constraints' => [
4745
                                                    'urgent' => 'u'
8686 nelberth 4746
                                                ],
8702 nelberth 4747
                                                'defaults' => [
4748
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController',
4749
                                                    'action' => 'index'
4750
                                                ]
4751
                                            ]
4752
                                        ],
9095 nelberth 4753
                                        'calendar' => [
9924 nelberth 4754
                                            'type' => Literal::class,
9095 nelberth 4755
                                            'options' => [
9924 nelberth 4756
                                                'route' => '/calendar',
4757
 
9095 nelberth 4758
                                                'defaults' => [
4759
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewCalendarController',
4760
                                                    'action' => 'index'
4761
                                                ]
9923 nelberth 4762
                                            ],'may_terminate' => true,
4763
                                            'child_routes' => [
4764
                                                'view' => [
9924 nelberth 4765
                                                    'type' => Segment::class,
9923 nelberth 4766
                                                    'options' => [
11083 nelberth 4767
                                                        'route' => '/view[/:feed_id]',
9924 nelberth 4768
                                                        'constraints' => [
11083 nelberth 4769
                                                            'feed_id' => '[A-Za-z0-9\-]+\=*'
9924 nelberth 4770
                                                        ],
9923 nelberth 4771
                                                        'defaults' => [
4772
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewCalendarController',
4773
                                                            'action' => 'view'
4774
                                                        ]
4775
                                                    ]
4776
                                                ],
9095 nelberth 4777
                                            ]
4778
                                        ],
9631 nelberth 4779
                                        'foro' => [
9621 nelberth 4780
                                            'type' => Literal::class,
9424 nelberth 4781
                                            'options' => [
9631 nelberth 4782
                                                'route' => '/foro',
10143 nelberth 4783
                                                'defaults' => [
4784
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoController',
4785
                                                    'action' => 'index'
4786
                                                ]
9644 nelberth 4787
                                            ],
4788
                                            'may_terminate' => true,
9631 nelberth 4789
                                            'child_routes' => [
10150 nelberth 4790
                                                'view' => [
4791
                                                    'type' => Literal::class,
4792
                                                    'options' => [
4793
                                                        'route' => '/view',
4794
                                                        'defaults' => [
4795
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoController',
4796
                                                            'action' => 'view'
4797
                                                        ]
4798
                                                    ]
4799
                                                ],
9631 nelberth 4800
                                                'categories' => [
4801
                                                    'type' => Literal::class,
4802
                                                    'options' => [
4803
                                                        'route' => '/categories',
4804
                                                        'defaults' => [
4805
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController',
4806
                                                            'action' => 'index'
4807
                                                        ]
9638 nelberth 4808
                                                    ],
9644 nelberth 4809
                                                    'may_terminate' => true,
9640 nelberth 4810
                                                    'child_routes' => [
9720 nelberth 4811
                                                        'view' => [
4812
                                                            'type' => Literal::class,
4813
                                                            'options' => [
4814
                                                                'route' => '/view',
4815
                                                                'defaults' => [
4816
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController',
4817
                                                                    'action' => 'view'
4818
                                                                ]
4819
                                                            ]
4820
                                                        ],
9644 nelberth 4821
                                                        'add' => [
4822
                                                            'type' => Literal::class,
4823
                                                            'options' => [
4824
                                                                'route' => '/add',
4825
                                                                'defaults' => [
4826
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController',
4827
                                                                    'action' => 'add'
4828
                                                                ]
4829
                                                            ]
4830
                                                        ],
9643 nelberth 4831
                                                        'edit' => [
4832
                                                            'type' => Segment::class,
9640 nelberth 4833
                                                            'options' => [
11083 nelberth 4834
                                                                'route' => '/edit/:category_id',
9643 nelberth 4835
                                                                'constraints' => [
11083 nelberth 4836
                                                                    'category_id' => '[A-Za-z0-9\-]+\=*'
9643 nelberth 4837
                                                                ],
9640 nelberth 4838
                                                                'defaults' => [
4839
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController',
9643 nelberth 4840
                                                                    'action' => 'edit'
9640 nelberth 4841
                                                                ]
4842
                                                            ]
4843
                                                        ],
9643 nelberth 4844
                                                        'delete' => [
4845
                                                            'type' => Segment::class,
4846
                                                            'options' => [
11083 nelberth 4847
                                                                'route' => '/delete/:category_id',
9643 nelberth 4848
                                                                'constraints' => [
11083 nelberth 4849
                                                                    'category_id' => '[A-Za-z0-9\-]+\=*'
9643 nelberth 4850
                                                                ],
4851
                                                                'defaults' => [
4852
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController',
4853
                                                                    'action' => 'delete'
4854
                                                                ]
4855
                                                            ]
4856
                                                        ],
9760 nelberth 4857
                                                        'articles' => [
4858
                                                            'type' => Segment::class,
4859
                                                            'options' => [
11083 nelberth 4860
                                                                'route' => '/:category_id/articles',
9760 nelberth 4861
                                                                'constraints' => [
11083 nelberth 4862
                                                                    'category_id' => '[A-Za-z0-9\-]+\=*'
9760 nelberth 4863
                                                                ],
4864
                                                                'defaults' => [
4865
                                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController',
4866
                                                                    'action' => 'index'
4867
                                                                ]
9845 nelberth 4868
                                                            ],
4869
                                                            'may_terminate' => true,
4870
                                                            'child_routes' => [
4871
                                                                'add' => [
4872
                                                                    'type' => Literal::class,
4873
                                                                    'options' => [
4874
                                                                        'route' => '/add',
4875
                                                                        'defaults' => [
4876
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController',
4877
                                                                            'action' => 'add'
4878
                                                                        ]
4879
                                                                    ]
4880
                                                                ],
4881
                                                                'edit' => [
4882
                                                                    'type' => Segment::class,
4883
                                                                    'options' => [
11083 nelberth 4884
                                                                        'route' => '/edit/:article_id',
9845 nelberth 4885
                                                                        'constraints' => [
11083 nelberth 4886
                                                                            'articles_id' => '[A-Za-z0-9\-]+\=*'
9845 nelberth 4887
                                                                        ],
4888
                                                                        'defaults' => [
4889
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController',
4890
                                                                            'action' => 'edit'
4891
                                                                        ]
4892
                                                                    ]
4893
                                                                ],
4894
 
4895
                                                                'delete' => [
4896
                                                                    'type' => Segment::class,
4897
                                                                    'options' => [
11083 nelberth 4898
                                                                        'route' => '/delete/:article_id',
9845 nelberth 4899
                                                                        'constraints' => [
11083 nelberth 4900
                                                                            'articles_id' => '[A-Za-z0-9\-]+\=*'
9845 nelberth 4901
                                                                        ],
4902
                                                                        'defaults' => [
4903
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController',
4904
                                                                            'action' => 'delete'
4905
                                                                        ]
4906
                                                                    ]
4907
                                                                ],
4908
                                                                'view' => [
4909
                                                                    'type' => Segment::class,
4910
                                                                    'options' => [
11083 nelberth 4911
                                                                        'route' => '/view/:article_id',
9845 nelberth 4912
                                                                        'constraints' => [
11083 nelberth 4913
                                                                            'articles_id' => '[A-Za-z0-9\-]+\=*'
9845 nelberth 4914
                                                                        ],
4915
                                                                        'defaults' => [
9921 nelberth 4916
                                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesViewController',
4917
                                                                            'action' => 'index'
9845 nelberth 4918
                                                                        ]
4919
                                                                    ]
4920
                                                                ],
9760 nelberth 4921
                                                            ]
4922
                                                        ],
9640 nelberth 4923
                                                    ],
9424 nelberth 4924
                                                ],
4925
                                            ]
4926
                                        ],
7483 nelberth 4927
                                        'topic' => [
8649 nelberth 4928
                                            'type' => Literal::class,
7483 nelberth 4929
                                            'options' => [
8649 nelberth 4930
                                                'route' => '/topic',
7483 nelberth 4931
                                                'defaults' => [
7491 nelberth 4932
                                                    'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4933
                                                    'action' => 'index'
4934
                                                ]
4935
                                            ],'may_terminate' => true,
4936
                                            'child_routes' => [
4937
                                                'add' => [
4938
                                                    'type' => Literal::class,
4939
                                                    'options' => [
4940
                                                        'route' => '/add',
4941
                                                        'defaults' => [
7506 nelberth 4942
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4943
                                                            'action' => 'add'
4944
                                                        ]
4945
                                                    ]
4946
                                                ],
4947
                                                'edit' => [
4948
                                                    'type' => Segment::class,
4949
                                                    'options' => [
11083 nelberth 4950
                                                        'route' => '/edit/:topic_id',
7483 nelberth 4951
                                                        'constraints' => [
11083 nelberth 4952
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*'
7483 nelberth 4953
                                                        ],
4954
                                                        'defaults' => [
7491 nelberth 4955
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4956
                                                            'action' => 'edit'
4957
                                                        ]
4958
                                                    ]
4959
                                                ],
7636 nelberth 4960
                                                'view' => [
7629 nelberth 4961
                                                    'type' => Segment::class,
4962
                                                    'options' => [
11083 nelberth 4963
                                                        'route' => '/view[/:topic_id]',
7629 nelberth 4964
                                                        'constraints' => [
11083 nelberth 4965
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*'
7629 nelberth 4966
                                                        ],
4967
                                                        'defaults' => [
7635 nelberth 4968
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController',
7629 nelberth 4969
                                                            'action' => 'index'
4970
                                                        ]
4971
                                                    ]
4972
                                                ],
8686 nelberth 4973
 
7483 nelberth 4974
                                                'delete' => [
4975
                                                    'type' => Segment::class,
4976
                                                    'options' => [
11083 nelberth 4977
                                                        'route' => '/delete/:topic_id',
7483 nelberth 4978
                                                        'constraints' => [
11083 nelberth 4979
                                                            'topic_id' => '[A-Za-z0-9\-]+\=*'
7483 nelberth 4980
                                                        ],
4981
                                                        'defaults' => [
7491 nelberth 4982
                                                            'controller' => '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController',
7483 nelberth 4983
                                                            'action' => 'delete'
4984
                                                        ]
4985
                                                    ]
4986
                                                ]
4987
                                            ],
4988
                                        ],
4989
 
4990
                                    ],
4991
 
4411 nelberth 4992
                            ],
4993
                        ]
4388 nelberth 4994
                    ],
1333 efrain 4995
                ]
4996
            ],
7224 nelberth 4997
 
4588 nelberth 4998
 
1333 efrain 4999
            'my-trainer' => [
5000
                'type' => Literal::class,
5001
                'options' => [
5002
                    'route' => '/my-trainer',
5003
                    'defaults' => [
5004
                        'controller' => '\LeadersLinked\Controller\UnknownController',
5005
                        'action' => 'index'
5006
                    ]
5007
                ],
5008
                'may_terminate' => true,
5009
                'child_routes' => [
8462 eleazar 5010
                    'category' => [
5011
                        'type' => Literal::class,
5012
                        'options' => [
5013
                            'route' => '/category',
5014
                            'defaults' => [
8529 eleazar 5015
                                'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 5016
                                'action' => 'index'
5017
                            ]
5018
                        ],
5019
                        'may_terminate' => true,
5020
                        'child_routes' => [
5021
                            'add' => [
5022
                                'type' => Literal::class,
5023
                                'options' => [
5024
                                    'route' => '/add',
5025
                                    'defaults' => [
8529 eleazar 5026
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 5027
                                        'action' => 'add'
5028
                                    ]
5029
                                ]
5030
                            ],
5031
                            'edit' => [
5032
                                'type' => Segment::class,
5033
                                'options' => [
5034
                                    'route' => '/edit/:id',
5035
                                    'constraints' => [
5036
                                        'id' => '[A-Za-z0-9\-]+\=*'
5037
                                    ],
5038
                                    'defaults' => [
8529 eleazar 5039
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 5040
                                        'action' => 'edit'
5041
                                    ]
5042
                                ]
5043
                            ],
5044
                            'delete' => [
5045
                                'type' => Segment::class,
5046
                                'options' => [
5047
                                    'route' => '/delete/:id',
5048
                                    'constraints' => [
5049
                                        'id' => '[A-Za-z0-9\-]+\=*'
5050
                                    ],
5051
                                    'defaults' => [
8529 eleazar 5052
                                        'controller' => '\LeadersLinked\Controller\MyTrainerCategoriesController',
8462 eleazar 5053
                                        'action' => 'delete'
5054
                                    ]
5055
                                ]
5056
                            ]
5057
                        ]
5058
                    ],
5059
                    'question' => [
12250 eleazar 5060
                        'type' => segment::class,
8462 eleazar 5061
                        'options' => [
12260 eleazar 5062
                            'route' => '/question',
8462 eleazar 5063
                            'defaults' => [
9350 eleazar 5064
                                'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
8462 eleazar 5065
                                'action' => 'index'
5066
                            ]
5067
                        ],
5068
                        'may_terminate' => true,
5069
                        'child_routes' => [
5070
                            'add' => [
5071
                                'type' => Literal::class,
5072
                                'options' => [
5073
                                    'route' => '/add',
5074
                                    'defaults' => [
9350 eleazar 5075
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
8462 eleazar 5076
                                        'action' => 'add'
5077
                                    ]
5078
                                ]
5079
                            ],
5080
                            'edit' => [
5081
                                'type' => Segment::class,
5082
                                'options' => [
5083
                                    'route' => '/edit/:id',
5084
                                    'constraints' => [
5085
                                        'id' => '[A-Za-z0-9\-]+\=*'
5086
                                    ],
5087
                                    'defaults' => [
9350 eleazar 5088
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
8462 eleazar 5089
                                        'action' => 'edit'
5090
                                    ]
5091
                                ]
5092
                            ],
5093
                            'delete' => [
5094
                                'type' => Segment::class,
5095
                                'options' => [
12193 eleazar 5096
                                    'route' => '/delete/:id',
5097
                                    'constraints' => [
5098
                                        'id' => '[A-Za-z0-9\-]+\=*'
5099
                                    ],
8462 eleazar 5100
                                    'defaults' => [
9350 eleazar 5101
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionController',
8462 eleazar 5102
                                        'action' => 'delete'
5103
                                    ]
5104
                                ]
11195 eleazar 5105
                            ],
5106
                            'view' => [
5107
                                'type' => Segment::class,
5108
                                'options' => [
12280 eleazar 5109
                                    'route' => '/:id/view',
11195 eleazar 5110
                                    'constraints' => [
5111
                                        'id' => '[A-Za-z0-9\-]+\=*'
5112
                                    ],
5113
                                    'defaults' => [
12260 eleazar 5114
                                        'controller' => '\LeadersLinked\Controller\MyTrainerQuestionViewController',
5115
                                        'action' => 'index'
11195 eleazar 5116
                                    ]
5117
                                ]
11303 eleazar 5118
                            ],
11840 eleazar 5119
                            'answer' => [
11322 eleazar 5120
                                'type' => Segment::class,
8462 eleazar 5121
                                'options' => [
11852 eleazar 5122
                                    'route' => '/:id/answer',
11337 eleazar 5123
                                    'constraints' => [
5124
                                        'id' => '[A-Za-z0-9\-]+\=*'
5125
                                    ],
8462 eleazar 5126
                                    'defaults' => [
10602 eleazar 5127
                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
11840 eleazar 5128
                                        'action' => 'index'
8462 eleazar 5129
                                    ]
11810 eleazar 5130
                                ],
5131
                                'may_terminate' => true,
5132
                                'child_routes' => [
11840 eleazar 5133
                                    'add' => [
5134
                                        'type' => Segment::class,
5135
                                        'options' => [
5136
                                            'route' => '/add[/:id]',
5137
                                            'constraints' => [
5138
                                                'id' => '[A-Za-z0-9\-]+\=*'
5139
                                            ],
5140
                                            'defaults' => [
5141
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5142
                                                'action' => 'add'
5143
                                            ]
5144
                                        ]
5145
                                    ],
5146
                                    'edit' => [
5147
                                        'type' => Segment::class,
5148
                                        'options' => [
11860 eleazar 5149
                                            'route' => '/edit',
5150
 
11840 eleazar 5151
                                            'defaults' => [
5152
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5153
                                                'action' => 'edit'
5154
                                            ]
5155
                                        ]
5156
                                    ],
11810 eleazar 5157
                                    'delete' => [
5158
                                        'type' => Segment::class,
5159
                                        'options' => [
11859 eleazar 5160
                                            'route' => '/delete',
11810 eleazar 5161
                                            'defaults' => [
11812 eleazar 5162
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
11840 eleazar 5163
                                                'action' => 'delete'
11810 eleazar 5164
                                            ]
5165
                                        ]
5166
                                    ],
11884 eleazar 5167
                                    'feed' => [
5168
                                        'type' => Segment::class,
5169
                                        'options' => [
5170
                                            'route' => '/feed',
5171
                                            'defaults' => [
5172
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5173
                                                'action' => 'feed'
5174
                                            ],
5175
                                        ],
5176
                                    ],
11913 eleazar 5177
                                    'timeline' => [
5178
                                        'type' => Segment::class,
5179
                                        'options' => [
5180
                                            'route' => '/timeline',
5181
                                            'defaults' => [
11921 eleazar 5182
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
11913 eleazar 5183
                                                'action' => 'timeline'
11921 eleazar 5184
                                            ],
5185
                                        ],
11913 eleazar 5186
                                    ],
11840 eleazar 5187
                                    'comments' => [
5188
                                        'type' => Segment::class,
5189
                                        'options' => [
11860 eleazar 5190
                                            'route' => '/comments',
5191
 
11840 eleazar 5192
                                            'defaults' => [
5193
                                                'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5194
                                                'action' => 'comment'
5195
                                            ],
5196
                                        ],
5197
                                        'may_terminate' => true,
5198
                                        'child_routes' => [
5199
                                            'delete' => [
5200
                                                'type' => Segment::class,
5201
                                                'options' => [
5202
                                                    'route' => '/delete/:comment',
5203
                                                    'constraints' => [
5204
                                                        'comment' => '[A-Za-z0-9\-]+\=*',
5205
                                                    ],
5206
                                                    'defaults' => [
5207
                                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5208
                                                        'action' => 'commentDelete'
5209
                                                    ]
5210
                                                ]
5211
                                            ],
11948 eleazar 5212
                                            'answer' => [
5213
                                                'type' => Segment::class,
5214
                                                'options' => [
5215
                                                    'route' => '/answer/:comment',
5216
                                                    'constraints' => [
5217
                                                        'comment' => '[A-Za-z0-9\-]+\=*',
5218
                                                    ],
5219
                                                    'defaults' => [
5220
                                                        'controller' => '\LeadersLinked\Controller\MyTrainerAnswerController',
5221
                                                        'action' => 'answer'
5222
                                                    ]
5223
                                                ]
5224
                                            ],
11840 eleazar 5225
                                        ]
5226
                                    ],
5227
                                ],
11810 eleazar 5228
                            ],
11840 eleazar 5229
                        ],
8462 eleazar 5230
                    ],
1333 efrain 5231
                ]
5232
            ],
5233
 
1 www 5234
        ]
5235
    ],
5236
    'controllers' => [
5237
        'factories' => [
5238
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
5239
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
5240
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
5241
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
1469 eleazar 5242
            \LeadersLinked\Controller\RecruitmentSelectionController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionFactory::class,
1709 eleazar 5243
            \LeadersLinked\Controller\RecruitmentSelectionInterviewController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionInterviewFactory::class,
1712 eleazar 5244
            \LeadersLinked\Controller\RecruitmentSelectionInterviewFormController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionInterviewFormFactory::class,
8797 eleazar 5245
            \LeadersLinked\Controller\RecruitmentSelectionInterviewFileController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionInterviewFileControllerFactory::class,
1385 eleazar 5246
            \LeadersLinked\Controller\RecruitmentSelectionVacancyController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionVacancyFactory::class,
1459 eleazar 5247
            \LeadersLinked\Controller\RecruitmentSelectionCandidateController::class => \LeadersLinked\Factory\Controller\RecruitmentSelectionCandidateFactory::class,
1 www 5248
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
5249
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
5250
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
1115 geraldo 5251
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
1 www 5252
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
5253
            \LeadersLinked\Controller\CompetencyController::class => \LeadersLinked\Factory\Controller\CompetencyControllerFactory::class,
5254
            \LeadersLinked\Controller\DegreeController::class => \LeadersLinked\Factory\Controller\DegreeControllerFactory::class,
5255
            \LeadersLinked\Controller\EmailTemplateController::class => \LeadersLinked\Factory\Controller\EmailTemplateControllerFactory::class,
5256
            \LeadersLinked\Controller\PushTemplateController::class => \LeadersLinked\Factory\Controller\PushTemplateControllerFactory::class,
5257
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
5258
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
5259
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
28 efrain 5260
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
1 www 5261
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
67 efrain 5262
            \LeadersLinked\Controller\PositionController::class => \LeadersLinked\Factory\Controller\PositionControllerFactory::class,
1 www 5263
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
5264
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
5265
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
5266
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
115 efrain 5267
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
5268
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
1089 geraldo 5269
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
247 geraldo 5270
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
4375 eleazar 5271
            \LeadersLinked\Controller\SurveyController::class => \LeadersLinked\Factory\Controller\SurveyControllerFactory::class,
5272
            \LeadersLinked\Controller\SurveyFormController::class => \LeadersLinked\Factory\Controller\SurveyFormControllerFactory::class,
5868 eleazar 5273
            \LeadersLinked\Controller\SurveyReportController::class => \LeadersLinked\Factory\Controller\SurveyReportControllerFactory::class,
5287 eleazar 5274
            \LeadersLinked\Controller\SurveyTestController::class => \LeadersLinked\Factory\Controller\SurveyTestControllerFactory::class,
7218 eleazar 5275
            \LeadersLinked\Controller\OrganizationalClimateController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateControllerFactory::class,
5276
            \LeadersLinked\Controller\OrganizationalClimateFormController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateFormControllerFactory::class,
5277
            \LeadersLinked\Controller\OrganizationalClimateReportController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateReportControllerFactory::class,
5278
            \LeadersLinked\Controller\OrganizationalClimateTestController::class => \LeadersLinked\Factory\Controller\OrganizationalClimateTestControllerFactory::class,
987 geraldo 5279
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
9335 eleazar 5280
            \LeadersLinked\Controller\MyTrainerCategoriesController::class => \LeadersLinked\Factory\Controller\MyTrainerCategoriesControllerFactory::class,
12286 eleazar 5281
            \LeadersLinked\Controller\MyTrainerQuestionViewController::class => \LeadersLinked\Factory\Controller\MyTrainerQuestionViewControllerFactory::class,
9350 eleazar 5282
            \LeadersLinked\Controller\MyTrainerQuestionController::class => \LeadersLinked\Factory\Controller\MyTrainerQuestionControllerFactory::class,
10423 eleazar 5283
            \LeadersLinked\Controller\MyTrainerAnswerController::class => \LeadersLinked\Factory\Controller\MyTrainerAnswerControllerFactory::class,
1383 efrain 5284
            \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationEvaluationControllerFactory::class,
1 www 5285
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
66 efrain 5286
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
5287
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
5288
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
1 www 5289
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
5290
            \LeadersLinked\Controller\MicrolearningCapsuleController::class => \LeadersLinked\Factory\Controller\MicrolearningCapsuleControllerFactory::class,
5291
            \LeadersLinked\Controller\MicrolearningSlideController::class => \LeadersLinked\Factory\Controller\MicrolearningSlideControllerFactory::class,
5292
            \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningAccessForStudentsControllerFactory::class,
5293
            \LeadersLinked\Controller\MicrolearningStudentsController::class => \LeadersLinked\Factory\Controller\MicrolearningStudentsControllerFactory::class,
5294
            \LeadersLinked\Controller\MicrolearningReportsController::class => \LeadersLinked\Factory\Controller\MicrolearningReportsControllerFactory::class,
5295
            \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCompanyControllerFactory::class,
5296
            \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserFunctionControllerFactory::class,
5297
            \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserGroupControllerFactory::class,
5298
            \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserInstitutionControllerFactory::class,
5299
            \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserPartnerControllerFactory::class,
5300
            \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserProgramControllerFactory::class,
5301
            \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserSectorControllerFactory::class,
5302
            \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserStudentTypeControllerFactory::class,
5303
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
2232 nelberth 5304
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsControllerFactory::class,
2228 nelberth 5305
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsObjectivesControllerFactory::class,
2327 nelberth 5306
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsGoalsControllerFactory::class,
2517 nelberth 5307
            \LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesAndGoalsTaskControllerFactory::class,
4377 nelberth 5308
            \LeadersLinked\Controller\HighPerformanceTeamsController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsControllerFactory::class,
7224 nelberth 5309
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsControllerFactory::class,
9095 nelberth 5310
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewCalendarController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewCalendarControllerFactory::class,
9619 nelberth 5311
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewForoCategoriesControllerFactory::class,
9764 nelberth 5312
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewForoArticlesControllerFactory::class,
10143 nelberth 5313
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewForoControllerFactory::class,
9921 nelberth 5314
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesViewController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewForoArticlesViewControllerFactory::class,
7308 nelberth 5315
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewControllerFactory::class,
12433 nelberth 5316
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewObjectivesControllerFactory::class,
12736 nelberth 5317
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewGoalsControllerFactory::class,
12835 nelberth 5318
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewTaskControllerFactory::class,
11898 nelberth 5319
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewFeedControllerFactory::class,
7494 nelberth 5320
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsViewTopicControllerFactory::class,
7811 nelberth 5321
            \LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController::class => \LeadersLinked\Factory\Controller\HighPerformanceTeamsGroupsMembersControllerFactory::class,
13014 nelberth 5322
            \LeadersLinked\Controller\ChatController::class => \LeadersLinked\Factory\Controller\ChatControllerFactory::class,
13010 nelberth 5323
            \LeadersLinked\Controller\CommunicationController::class => \LeadersLinked\Factory\Controller\CommunicationControllerFactory::class,
13016 nelberth 5324
            \LeadersLinked\Controller\CommunicationCompanyController::class => \LeadersLinked\Factory\Controller\CommunicationCompanyControllerFactory::class,
1333 efrain 5325
 
5326
 
1666 nelberth 5327
 
1333 efrain 5328
            \LeadersLinked\Controller\UnknownController::class => \LeadersLinked\Factory\Controller\UnknownControllerFactory::class,
66 efrain 5329
            \LeadersLinked\Controller\TestController::class => \LeadersLinked\Factory\Controller\TestControllerFactory::class,
1 www 5330
        ],
5331
        'aliases' => [
5332
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
5333
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
5334
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
5335
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
1343 eleazar 5336
            '\LeadersLinked\Controller\RecruitmentSelectionController' => \LeadersLinked\Controller\RecruitmentSelectionController::class,
1385 eleazar 5337
            '\LeadersLinked\Controller\RecruitmentSelectionVacancyController' => \LeadersLinked\Controller\RecruitmentSelectionVacancyController::class,
1459 eleazar 5338
            '\LeadersLinked\Controller\RecruitmentSelectionCandidateController' => \LeadersLinked\Controller\RecruitmentSelectionCandidateController::class,
1712 eleazar 5339
            '\LeadersLinked\Controller\RecruitmentSelectionInterviewFormController' => \LeadersLinked\Controller\RecruitmentSelectionInterviewFormController::class,
8795 eleazar 5340
            '\LeadersLinked\Controller\RecruitmentSelectionInterviewFileController' => \LeadersLinked\Controller\RecruitmentSelectionInterviewFileController::class,
1 www 5341
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
5342
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
5343
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
5344
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
1102 geraldo 5345
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,
1 www 5346
            '\LeadersLinked\Controller\CompetencyController' => \LeadersLinked\Controller\CompetencyController::class,
5347
            '\LeadersLinked\Controller\DegreeController' => \LeadersLinked\Controller\DegreeController::class,
5348
            '\LeadersLinked\Controller\EmailTemplateController' => \LeadersLinked\Controller\EmailTemplateController::class,
1089 geraldo 5349
            '\LeadersLinked\Controller\PushTemplateController' => \LeadersLinked\Controller\PushTemplateController::class,
1 www 5350
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
5351
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
5352
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
66 efrain 5353
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
1 www 5354
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
67 efrain 5355
            '\LeadersLinked\Controller\PositionController' => \LeadersLinked\Controller\PositionController::class,
1 www 5356
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
5357
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
5358
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
5359
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
115 efrain 5360
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
5361
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
5362
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
247 geraldo 5363
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
4375 eleazar 5364
            '\LeadersLinked\Controller\SurveyController' => \LeadersLinked\Controller\SurveyController::class,
5365
            '\LeadersLinked\Controller\SurveyFormController' => \LeadersLinked\Controller\SurveyFormController::class,
5868 eleazar 5366
            '\LeadersLinked\Controller\SurveyReportController' => \LeadersLinked\Controller\SurveyReportController::class,
5287 eleazar 5367
            '\LeadersLinked\Controller\SurveyTestController' => \LeadersLinked\Controller\SurveyTestController::class,
7218 eleazar 5368
            '\LeadersLinked\Controller\OrganizationalClimateController' => \LeadersLinked\Controller\OrganizationalClimateController::class,
5369
            '\LeadersLinked\Controller\OrganizationalClimateFormController' => \LeadersLinked\Controller\OrganizationalClimateFormController::class,
5370
            '\LeadersLinked\Controller\OrganizationalClimateReportController' => \LeadersLinked\Controller\OrganizationalClimateReportController::class,
5371
            '\LeadersLinked\Controller\OrganizationalClimateTestController' => \LeadersLinked\Controller\OrganizationalClimateTestController::class,
982 geraldo 5372
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
1383 efrain 5373
            '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController' => \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class,
1 www 5374
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
66 efrain 5375
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
5376
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
5377
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
1 www 5378
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
5379
            '\LeadersLinked\Controller\MicrolearningCapsuleController' => \LeadersLinked\Controller\MicrolearningCapsuleController::class,
5380
            '\LeadersLinked\Controller\MicrolearningSlideController' => \LeadersLinked\Controller\MicrolearningSlideController::class,
5381
            '\LeadersLinked\Controller\MicrolearningStudentsController' => \LeadersLinked\Controller\MicrolearningStudentsController::class,
5382
            '\LeadersLinked\Controller\MicrolearningAccessForStudentsController' => \LeadersLinked\Controller\MicrolearningAccessForStudentsController::class,
5383
            '\LeadersLinked\Controller\MicrolearningReportsController' => \LeadersLinked\Controller\MicrolearningReportsController::class,
5384
            '\LeadersLinked\Controller\MicrolearningExtendUserCompanyController' => \LeadersLinked\Controller\MicrolearningExtendUserCompanyController::class,
5385
            '\LeadersLinked\Controller\MicrolearningExtendUserFunctionController' => \LeadersLinked\Controller\MicrolearningExtendUserFunctionController::class,
5386
            '\LeadersLinked\Controller\MicrolearningExtendUserGroupController' => \LeadersLinked\Controller\MicrolearningExtendUserGroupController::class,
5387
            '\LeadersLinked\Controller\MicrolearningExtendUserInstitutionController' => \LeadersLinked\Controller\MicrolearningExtendUserInstitutionController::class,
5388
            '\LeadersLinked\Controller\MicrolearningExtendUserPartnerController' => \LeadersLinked\Controller\MicrolearningExtendUserPartnerController::class,
12792 eleazar 5389
            '\LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController' => \LeadersLinked\Controller\MicrolearningExtendUserStudentTypeController::class,
1 www 5390
            '\LeadersLinked\Controller\MicrolearningExtendUserProgramController' => \LeadersLinked\Controller\MicrolearningExtendUserProgramController::class,
5391
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
9335 eleazar 5392
            '\LeadersLinked\Controller\MicrolearningExtendUserSectorController' => \LeadersLinked\Controller\MicrolearningExtendUserSectorController::class,
5393
            '\LeadersLinked\Controller\MyTrainerCategoriesController' => \LeadersLinked\Controller\MyTrainerCategoriesController::class,
12286 eleazar 5394
            '\LeadersLinked\Controller\MyTrainerQuestionViewController' => \LeadersLinked\Controller\MyTrainerQuestionViewController::class,
9350 eleazar 5395
            '\LeadersLinked\Controller\MyTrainerQuestionController' => \LeadersLinked\Controller\MyTrainerQuestionController::class,
10423 eleazar 5396
            '\LeadersLinked\Controller\MyTrainerAnswerController' => \LeadersLinked\Controller\MyTrainerAnswerController::class,
1 www 5397
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
2232 nelberth 5398
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsController::class,
2228 nelberth 5399
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsObjectivesController::class,
2517 nelberth 5400
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsTaskController::class,
4377 nelberth 5401
            '\LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController' => \LeadersLinked\Controller\PlanningObjectivesAndGoalsGoalsController::class,
5402
            '\LeadersLinked\Controller\HighPerformanceTeamsController' => \LeadersLinked\Controller\HighPerformanceTeamsController::class,
7224 nelberth 5403
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsController::class,
7308 nelberth 5404
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewController::class,
12435 nelberth 5405
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewObjectivesController::class,
12736 nelberth 5406
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewGoalsController::class,
12835 nelberth 5407
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTaskController::class,
11898 nelberth 5408
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewFeedController::class,
7494 nelberth 5409
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewTopicController::class,
9095 nelberth 5410
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewCalendarController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewCalendarController::class,
9619 nelberth 5411
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoCategoriesController::class,
9764 nelberth 5412
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesController::class,
10143 nelberth 5413
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoController::class,
9921 nelberth 5414
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesViewController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsViewForoArticlesViewController::class,
7811 nelberth 5415
            '\LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController' => \LeadersLinked\Controller\HighPerformanceTeamsGroupsMembersController::class,
11340 nelberth 5416
            '\LeadersLinked\Controller\ChatController' => \LeadersLinked\Controller\ChatController::class,
13010 nelberth 5417
            '\LeadersLinked\Controller\CommunicationController' => \LeadersLinked\Controller\CommunicationController::class,
13016 nelberth 5418
            '\LeadersLinked\Controller\CommunicationCompanyController' => \LeadersLinked\Controller\CommunicationCompanyController::class,
13014 nelberth 5419
 
1333 efrain 5420
            '\LeadersLinked\Controller\UnknownController' => \LeadersLinked\Controller\UnknownController::class,
13014 nelberth 5421
            '\LeadersLinked\Controller\TestController' => \LeadersLinked\Controller\TestController::class,
1 www 5422
        ]
5423
    ],
5424
    'laminas-cli' => [
5425
        'commands' => [
1089 geraldo 5426
        ]
1 www 5427
    ],
5428
    'service_manager' => [
5429
        'abstract_factories' => [
5430
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
5431
        ],
5432
        'factories' => [
5433
            'RenderingStrategy' => function ($container) {
5434
                $translator = $container->get('MvcTranslator');
5435
                return new \LeadersLinked\View\RenderingStrategy($translator);
5436
            },
5437
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
5438
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
1089 geraldo 5439
        ],
5440
        'aliases' => [// 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 5441
        ]
5442
    ],
5443
    'view_helpers' => [
5444
        'factories' => [
11351 nelberth 5445
            \LeadersLinked\Helper\ChatHelper::class => \LeadersLinked\Factory\Helper\ChatHelperFactory::class,
1 www 5446
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
4600 nelberth 5447
 
1 www 5448
        ],
5449
        'invokables' => [
11527 nelberth 5450
            'chatHelper' => \LeadersLinked\Helper\ChatHelper::class,
1 www 5451
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
5452
        ],
5453
        'aliases' => [
11527 nelberth 5454
 
1 www 5455
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
4600 nelberth 5456
 
1 www 5457
        ]
5458
    ],
5459
    'controller_plugins' => [
5460
        'invokables' => [],
5461
        'factories' => [
5462
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class
5463
        ],
5464
        'aliases' => [
5465
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class
5466
        ]
5467
    ],
5468
    'view_manager' => [
5469
        'display_not_found_reason' => true,
5470
        'display_exceptions' => true,
5471
        'doctype' => 'HTML5',
5472
        'not_found_template' => 'error/404',
5473
        'exception_template' => 'error/index',
5474
        'template_map' => [
5475
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
5476
            'error/404' => __DIR__ . '/../view/error/404.phtml',
5477
            'error/index' => __DIR__ . '/../view/error/index.phtml'
5478
        ],
5479
        'template_path_stack' => [
5480
            __DIR__ . '/../view'
5481
        ],
5482
        'strategies' => [
5483
            'ViewJsonStrategy',
5484
            'RenderingStrategy'
5485
        ]
5486
    ]
5487
];
5488