Proyectos de Subversion LeadersLinked - Backend

Rev

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