Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6605 | Rev 6850 | 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
553 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
 
1044 efrain 10
 
1 www 11
return [
12
    'navigation' => [
5612 anderson 13
        'menu' => [],
1 www 14
        'footer' => [
15
            [
16
                'label' => 'LABEL_PRIVACY_POLICY',
17
                'route' => 'privacy-policy'
18
            ],
19
            [
20
                'label' => 'LABEL_PROFESSIONALISM_POLICY',
21
                'route' => 'professionalism-policy'
22
            ],
23
            [
24
                'label' => 'LABEL_COOKIES_POLICY',
25
                'route' => 'cookies'
26
            ],
27
            [
28
                'label' => 'LABEL_TERMS_AND_CONDITIONS',
29
                'route' => 'terms-and-conditions'
30
            ],
31
        ]
32
    ],
33
    'router' => [
34
        'routes' => [
35
            'signin' => [
36
                'type' => Literal::class,
37
                'options' => [
38
                    'route' => '/signin',
39
                    'defaults' => [
40
                        'controller' => '\LeadersLinked\Controller\AuthController',
41
                        'action' => 'signin'
42
                    ]
43
                ],
44
                'may_terminate' => true,
45
                'child_routes' => [
3298 efrain 46
 
3639 efrain 47
 
1 www 48
                    'facebook' => [
49
                        'type' => Literal::class,
50
                        'options' => [
51
                            'route' => '/facebook',
52
                            'defaults' => [
53
                                'controller' => '\LeadersLinked\Controller\AuthController',
54
                                'action' => 'facebook',
55
                            ],
56
                        ],
57
                    ],
58
                    'twitter' => [
59
                        'type' => Literal::class,
60
                        'options' => [
61
                            'route' => '/twitter',
62
                            'defaults' => [
63
                                'controller' => '\LeadersLinked\Controller\AuthController',
64
                                'action' => 'twitter',
65
                            ],
66
                        ],
67
                    ],
68
                    'google' => [
69
                        'type' => Literal::class,
70
                        'options' => [
71
                            'route' => '/google',
72
                            'defaults' => [
73
                                'controller' => '\LeadersLinked\Controller\AuthController',
74
                                'action' => 'google',
75
                            ],
76
                        ],
77
                    ],
3639 efrain 78
                    'impersonate' => [
79
                        'type' => Literal::class,
80
                        'options' => [
81
                            'route' => '/impersonate',
82
                            'defaults' => [
83
                                'controller' => '\LeadersLinked\Controller\AuthController',
84
                                'action' => 'impersonate',
85
                            ],
86
                        ],
87
                    ],
1 www 88
                ]
89
            ],
3775 efrain 90
            //85a6de9c-c81e-4e47-b931-4cc32774defa
91
            'shorter' => [
92
                'type' => Segment::class,
93
                'options' => [
94
                    'route' => '/shorter/:code',
95
                    'constraints' => [
96
                        'code' => '[A-Za-z0-9\-]+\=*',
97
                    ],
98
                    'defaults' => [
99
                        'controller' => '\LeadersLinked\Controller\ShorterController',
100
                        'action' => 'index'
101
                    ]
102
                ],
103
                'may_terminate' => true,
104
                'child_routes' => [
105
                    'generate' => [
106
                        'type' => Segment::class,
107
                        'options' => [
108
                            'route' => '/generate/:type',
109
                            'constraints' => [
110
                                'type' => 'feed|post',
5612 anderson 111
 
3775 efrain 112
                            ],
113
                            'defaults' => [
114
                                'controller' => '\LeadersLinked\Controller\ShorterController',
115
                                'action' => 'generate'
116
                            ]
117
                        ]
118
                    ],
119
                ]
5612 anderson 120
 
3775 efrain 121
            ],
5612 anderson 122
 
1 www 123
            'reset-password' => [
124
                'type' => Segment::class,
125
                'options' => [
126
                    'route' => '/reset-password/:code',
127
                    'constraints' => [
128
                        'code' => '[a-zA-Z0-9--]+'
129
                    ],
130
                    'defaults' => [
131
                        'controller' => '\LeadersLinked\Controller\AuthController',
132
                        'action' => 'resetPassword'
133
                    ]
134
                ]
135
            ],
136
            'forgot-password' => [
137
                'type' => Literal::class,
138
                'options' => [
139
                    'route' => '/forgot-password',
140
                    'defaults' => [
141
                        'controller' => '\LeadersLinked\Controller\AuthController',
142
                        'action' => 'forgotPassword'
143
                    ]
144
                ]
145
            ],
146
            'signup' => [
147
                'type' => Literal::class,
148
                'options' => [
149
                    'route' => '/signup',
150
                    'defaults' => [
151
                        'controller' => '\LeadersLinked\Controller\AuthController',
152
                        'action' => 'signup'
153
                    ]
154
                ]
155
            ],
156
            'activate-account' => [
157
                'type' => Segment::class,
158
                'options' => [
159
                    'route' => '/activate-account/:code',
160
                    'constraints' => [
161
                        'code' => '[a-zA-Z0-9]+'
162
                    ],
163
                    'defaults' => [
164
                        'controller' => '\LeadersLinked\Controller\AuthController',
165
                        'action' => 'activateAccount'
166
                    ]
167
                ]
168
            ],
169
            'signout' => [
170
                'type' => Literal::class,
171
                'options' => [
172
                    'route' => '/signout',
173
                    'defaults' => [
174
                        'controller' => '\LeadersLinked\Controller\AuthController',
175
                        'action' => 'signout'
176
                    ]
177
                ]
178
            ],
210 efrain 179
            'csrf' => [
180
                'type' => Literal::class,
181
                'options' => [
182
                    'route' => '/csrf',
183
                    'defaults' => [
184
                        'controller' => '\LeadersLinked\Controller\AuthController',
185
                        'action' => 'csrf'
186
                    ]
187
                ]
188
            ],
2444 efrain 189
 
1 www 190
            'onroom' => [
191
                'type' => Literal::class,
192
                'options' => [
193
                    'route' => '/onroom',
194
                    'defaults' => [
195
                        'controller' => '\LeadersLinked\Controller\AuthController',
196
                        'action' => 'onroom'
197
                    ]
198
                ]
199
            ],
200
            'home' => [
201
                'type' => Literal::class,
202
                'options' => [
203
                    'route' => '/',
204
                    'defaults' => [
205
                        'controller' => '\LeadersLinked\Controller\HomeController',
206
                        'action' => 'index'
207
                    ]
208
                ]
209
            ],
5751 efrain 210
            'language' => [
211
                'type' => Literal::class,
212
                'options' => [
213
                    'route' => '/language',
214
                    'defaults' => [
215
                        'controller' => '\LeadersLinked\Controller\HomeController',
216
                        'action' => 'language'
217
                    ]
218
                ]
219
            ],
3298 efrain 220
            'share' => [
221
                'type' => Segment::class,
222
                'options' => [
3379 efrain 223
                    'route' => '/share/type/:type/code/:code/user/:user/timestamp/:timestamp/rand/:rand/password/:password',
3298 efrain 224
                    'constraints' => [
225
                        'type' => 'feed|post',
226
                        'code' => '[A-Za-z0-9\-]+\=*',
3379 efrain 227
                        'user' => '[A-Za-z0-9\-]+\=*',
228
                        'timestamp' => '[0-9]*',
229
                        'rand' => '[0-9]*',
230
                        'password' => '[A-Za-z0-9]*',
3298 efrain 231
                    ],
232
                    'defaults' => [
233
                        'controller' => '\LeadersLinked\Controller\HomeController',
234
                        'action' => 'share',
235
                    ],
236
                ],
4778 efrain 237
                'may_terminate' => true,
238
                'child_routes' => [
239
                    'increment-external-counter' => [
240
                        'type' => Segment::class,
241
                        'options' => [
242
                            'route' => '/increment-external-counter',
243
                            'defaults' => [
244
                                'controller' => '\LeadersLinked\Controller\HomeController',
245
                                'action' => 'incTotalExternalShared',
246
                            ],
247
                        ],
248
                    ],
249
                ]
3298 efrain 250
            ],
5612 anderson 251
 
1 www 252
            'post' => [
253
                'type' => Segment::class,
254
                'options' => [
255
                    'route' => '/post/:id',
256
                    'constraints' => [
257
                        'id' => '[A-Za-z0-9\-]+\=*',
258
                    ],
259
                    'defaults' => [
4808 efrain 260
                        'controller' => '\LeadersLinked\Controller\PostController',
261
                        'action' => 'view'
1 www 262
                    ]
4808 efrain 263
                ],
264
                'may_terminate' => true,
265
                'child_routes' => [
266
                    'comments' => [
267
                        'type' => Segment::class,
268
                        'options' => [
269
                            'route' => '/comments',
270
                            'defaults' => [
271
                                'controller' => '\LeadersLinked\Controller\PostController',
272
                                'action' => 'comments'
273
                            ]
274
                        ],
275
                        'may_terminate' => true,
276
                        'child_routes' => [
277
                            'add' => [
278
                                'type' => Segment::class,
279
                                'options' => [
280
                                    'route' => '/add',
281
                                    'defaults' => [
282
                                        'controller' => '\LeadersLinked\Controller\PostController',
283
                                        'action' => 'commentsAdd'
284
                                    ]
285
                                ]
286
                            ],
287
                            'delete' => [
288
                                'type' => Segment::class,
289
                                'options' => [
290
                                    'route' => '/delete/:comment',
291
                                    'constraints' => [
292
                                        'comment' => '[A-Za-z0-9\-]+\=*',
293
                                    ],
294
                                    'defaults' => [
295
                                        'controller' => '\LeadersLinked\Controller\PostController',
296
                                        'action' => 'commentsDelete'
297
                                    ]
298
                                ]
299
                            ],
300
                        ],
301
                    ],
5765 efrain 302
                    'save-reaction' => [
4808 efrain 303
                        'type' => Segment::class,
304
                        'options' => [
5765 efrain 305
                            'route' => '/save-reaction/:reaction',
306
                            'constraints' => [
307
                                'reaction' => 'r|s|l|i|f',
308
                            ],
4808 efrain 309
                            'defaults' => [
310
                                'controller' => '\LeadersLinked\Controller\PostController',
5765 efrain 311
                                'action' => 'saveReaction'
4808 efrain 312
                            ]
313
                        ]
314
                    ],
5765 efrain 315
 
316
                    'delete-reaction' => [
4808 efrain 317
                        'type' => Segment::class,
318
                        'options' => [
5765 efrain 319
                            'route' => '/delete-reaction',
4808 efrain 320
                            'defaults' => [
321
                                'controller' => '\LeadersLinked\Controller\PostController',
5765 efrain 322
                                'action' => 'deleteReaction'
4808 efrain 323
                            ]
324
                        ]
325
                    ],
6388 efrain 326
 
5612 anderson 327
 
4808 efrain 328
                ],
5612 anderson 329
 
1 www 330
            ],
331
            'privacy-policy' => [
332
                'type' => Literal::class,
333
                'options' => [
334
                    'route' => '/privacy-policy',
335
                    'defaults' => [
336
                        'controller' => '\LeadersLinked\Controller\HomeController',
337
                        'action' => 'privacyPolicy'
338
                    ]
339
                ]
340
            ],
341
            'cookies' => [
342
                'type' => Literal::class,
343
                'options' => [
344
                    'route' => '/cookies',
345
                    'defaults' => [
346
                        'controller' => '\LeadersLinked\Controller\HomeController',
347
                        'action' => 'cookies'
348
                    ]
349
                ]
350
            ],
351
            'professionalism-policy' => [
352
                'type' => Literal::class,
353
                'options' => [
354
                    'route' => '/professionalism-policy',
355
                    'defaults' => [
356
                        'controller' => '\LeadersLinked\Controller\HomeController',
357
                        'action' => 'professionalismPolicy'
358
                    ]
359
                ]
360
            ],
361
            'terms-and-conditions' => [
362
                'type' => Literal::class,
363
                'options' => [
364
                    'route' => '/terms-and-conditions',
365
                    'defaults' => [
366
                        'controller' => '\LeadersLinked\Controller\HomeController',
367
                        'action' => 'termsAndConditions'
368
                    ]
369
                ]
370
            ],
371
            'check-session' => [
372
                'type' => Literal::class,
373
                'options' => [
374
                    'route' => '/check-session',
375
                    'defaults' => [
376
                        'controller' => '\LeadersLinked\Controller\HomeController',
377
                        'action' => 'checkSession'
378
                    ]
379
                ]
380
            ],
381
            'notifications' => [
382
                'type' => Literal::class,
383
                'options' => [
384
                    'route' => '/notifications',
385
                    'defaults' => [
3262 efrain 386
                        'controller' => '\LeadersLinked\Controller\NotificationController',
387
                        'action' => 'index'
1 www 388
                    ]
3262 efrain 389
                ],
390
                'may_terminate' => true,
391
                'child_routes' => [
392
                    'mark-read' => [
393
                        'type' => Segment::class,
394
                        'options' => [
395
                            'route' => '/mark-read/:id',
396
                            'constraints' => [
397
                                'id' => '[A-Za-z0-9\-]+\=*',
398
                            ],
399
                            'defaults' => [
400
                                'controller' => '\LeadersLinked\Controller\NotificationController',
401
                                'action' => 'markRead'
402
                            ]
403
                        ]
404
                    ],
405
                    'mark-all-read' => [
406
                        'type' => Literal::class,
407
                        'options' => [
408
                            'route' => '/mark-all-read',
409
                            'defaults' => [
410
                                'controller' => '\LeadersLinked\Controller\NotificationController',
411
                                'action' => 'markAllRead'
412
                            ]
413
                        ]
414
                    ],
415
                    'delete' => [
416
                        'type' => Segment::class,
417
                        'options' => [
418
                            'route' => '/delete/:id',
419
                            'constraints' => [
420
                                'id' => '[A-Za-z0-9\-]+\=*',
421
                            ],
422
                            'defaults' => [
423
                                'controller' => '\LeadersLinked\Controller\NotificationController',
424
                                'action' => 'delete'
425
                            ]
426
                        ]
427
                    ],
428
                    'clear' => [
429
                        'type' => Literal::class,
430
                        'options' => [
431
                            'route' => '/clear',
432
                            'defaults' => [
433
                                'controller' => '\LeadersLinked\Controller\NotificationController',
434
                                'action' => 'clear'
435
                            ]
436
                        ]
437
                    ],
438
                    'unreads' => [
439
                        'type' => Literal::class,
440
                        'options' => [
441
                            'route' => '/unreads',
442
                            'defaults' => [
443
                                'controller' => '\LeadersLinked\Controller\NotificationController',
444
                                'action' => 'unreads'
445
                            ]
446
                        ]
447
                    ],
5612 anderson 448
                ]
1 www 449
            ],
3639 efrain 450
            'impersonate' => [
451
                'type' => Literal::class,
452
                'options' => [
453
                    'route' => '/impersonate',
454
                    'defaults' => [
455
                        'controller' => '\LeadersLinked\Controller\ImpersonateController',
456
                        'action' => 'index'
457
                    ]
458
                ],
459
                'may_terminate' => true,
460
                'child_routes' => [
461
                    'execute' => [
462
                        'type' => Segment::class,
463
                        'options' => [
464
                            'route' => '/execute/:id',
465
                            'constraints' => [
466
                                'id' => '[A-Za-z0-9\-]+\=*',
467
                            ],
468
                            'defaults' => [
469
                                'controller' => '\LeadersLinked\Controller\ImpersonateController',
470
                                'action' => 'execute'
471
                            ]
472
                        ]
473
                    ],
5612 anderson 474
                ]
475
            ],
476
 
5050 efrain 477
            'my-coach' => [
478
                'type' => Literal::class,
479
                'options' => [
480
                    'route' => '/my-coach',
481
                    'defaults' => [
482
                        'controller' => '\LeadersLinked\Controller\MyCoachController',
483
                        'action' => 'index'
484
                    ]
485
                ],
486
                'may_terminate' => true,
6388 efrain 487
                'child_routes' => [
488
                    'questions' => [
489
                        'type' => Literal::class,
490
                        'options' => [
491
                            'route' => '/questions',
492
                            'defaults' => [
6521 efrain 493
                                'controller' => '\LeadersLinked\Controller\MyCoachController',
494
                                'action' => 'questions'
6388 efrain 495
                            ],
496
                        ],
497
                        'may_terminate' => true,
498
                        'child_routes' => [
499
                            'add' => [
500
                                'type' => Literal::class,
501
                                'options' => [
502
                                    'route' => '/add',
503
                                    'defaults' => [
6521 efrain 504
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
505
                                        'action' => 'addQuestion'
6388 efrain 506
                                    ],
507
                                ],
508
                            ],
509
                            'view' => [
510
                                'type' => Segment::class,
511
                                'options' => [
512
                                    'route' => '/view/:id',
513
                                    'constraints' => [
514
                                        'id' => '[A-Za-z0-9\-]+\=*',
515
                                    ],
516
                                    'defaults' => [
6521 efrain 517
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
518
                                        'action' => 'viewQuestion'
6388 efrain 519
                                    ]
520
                                ]
521
                            ],
522
                            'edit' => [
523
                                'type' => Segment::class,
524
                                'options' => [
525
                                    'route' => '/edit/:id',
526
                                    'constraints' => [
527
                                        'id' => '[A-Za-z0-9\-]+\=*',
528
                                    ],
529
                                    'defaults' => [
6521 efrain 530
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
531
                                        'action' => 'editQuestion'
6388 efrain 532
                                    ]
533
                                ]
534
                            ],
535
                            'delete' => [
536
                                'type' => Segment::class,
537
                                'options' => [
538
                                    'route' => '/delete/:id',
539
                                    'constraints' => [
540
                                        'id' => '[A-Za-z0-9\-]+\=*',
541
                                    ],
542
                                    'defaults' => [
6521 efrain 543
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
544
                                        'action' => 'deleteQuestion'
6388 efrain 545
                                    ]
546
                                ]
547
                            ],
548
                            'reaction' => [
549
                                'type' => Segment::class,
550
                                'options' => [
551
                                    'route' => '/reaction/:id',
552
                                    'constraints' => [
553
                                        'id' => '[A-Za-z0-9\-]+\=*',
554
                                    ],
555
                                    'defaults' => [
6521 efrain 556
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
557
                                        'action' => 'reactions'
6388 efrain 558
                                    ]
559
                                ],
560
                                'may_terminate' => true,
561
                                'child_routes' => [
562
                                    'save' => [
563
                                        'type' => Literal::class,
564
                                        'options' => [
565
                                            'route' => '/save',
566
                                            'defaults' => [
6521 efrain 567
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
568
                                                'action' => 'saveReaction'
6388 efrain 569
                                            ],
570
                                        ],
571
                                    ],
572
                                    'delete' => [
573
                                        'type' =>Literal::class,
574
                                        'options' => [
575
                                            'route' => '/delete',
576
                                            'defaults' => [
6521 efrain 577
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
578
                                                'action' => 'deleteReaction'
6388 efrain 579
                                            ]
580
                                        ]
581
                                    ],
582
                                ]
583
                            ],
584
                            'answers' => [
585
                                'type' => Segment::class,
586
                                'options' => [
587
                                    'route' => '/answers/:id',
588
                                    'constraints' => [
589
                                        'id' => '[A-Za-z0-9\-]+\=*',
590
                                    ],
591
                                    'defaults' => [
6521 efrain 592
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
593
                                        'action' => 'answers'
6388 efrain 594
                                    ]
595
                                ],
596
                                'may_terminate' => true,
597
                                'child_routes' => [
598
                                    'add' => [
599
                                        'type' => Literal::class,
600
                                        'options' => [
601
                                            'route' => '/add',
602
                                            'defaults' => [
6521 efrain 603
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
604
                                                'action' => 'addAnswer'
6388 efrain 605
                                            ],
606
                                        ],
607
                                    ],
608
 
609
                                    'edit' => [
610
                                        'type' => Segment::class,
611
                                        'options' => [
612
                                            'route' => '/edit/:answer',
613
                                            'constraints' => [
614
                                                'answer' => '[A-Za-z0-9\-]+\=*',
615
                                            ],
616
                                            'defaults' => [
6521 efrain 617
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
618
                                                'action' => 'editAnswer'
6388 efrain 619
                                            ]
620
                                        ]
621
                                    ],
622
                                    'delete' => [
623
                                        'type' => Segment::class,
624
                                        'options' => [
625
                                            'route' => '/delete/:answer',
626
                                            'constraints' => [
627
                                                'answer' => '[A-Za-z0-9\-]+\=*',
628
                                            ],
629
                                            'defaults' => [
6521 efrain 630
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
631
                                                'action' => 'deleteAnswer'
6388 efrain 632
                                            ]
633
                                        ]
634
                                    ],
635
                                ]
636
                            ],
637
 
638
                            'comments' => [
639
                                'type' => Segment::class,
640
                                'options' => [
641
                                    'route' => '/comments/:id',
642
                                    'constraints' => [
643
                                        'id' => '[A-Za-z0-9\-]+\=*',
644
                                    ],
645
                                    'defaults' => [
6521 efrain 646
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
6388 efrain 647
                                        'action' => 'comments'
648
                                    ]
649
                                ],
650
                                'may_terminate' => true,
651
                                'child_routes' => [
652
                                    'add' => [
653
                                        'type' => Literal::class,
654
                                        'options' => [
655
                                            'route' => '/add',
656
                                            'defaults' => [
6521 efrain 657
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
6388 efrain 658
                                                'action' => 'addComment'
659
                                            ]
660
                                        ]
661
                                    ],
662
                                    'delete' => [
663
                                        'type' => Segment::class,
664
                                        'options' => [
665
                                            'route' => '/delete/:comment',
666
                                            'constraints' => [
667
                                                'comment' => '[A-Za-z0-9\-]+\=*',
668
                                            ],
669
                                            'defaults' => [
6521 efrain 670
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
6388 efrain 671
                                                'action' => 'deleteComment'
672
                                            ]
673
                                        ]
674
                                    ],
675
                                ]
676
                            ],
677
                        ]
678
                    ],
679
                ],
5612 anderson 680
            ],
681
 
6001 efrain 682
            'knowledge-area' => [
683
                'type' => Literal::class,
684
                'options' => [
685
                    'route' => '/knowledge-area',
686
                    'defaults' => [
687
                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
688
                        'action' => 'index'
689
                    ]
690
                ],
691
                'may_terminate' => true,
6056 efrain 692
                'child_routes' => [
693
                    'add' => [
694
                        'type' => Literal::class,
695
                        'options' => [
696
                            'route' => '/add',
697
                            'defaults' => [
698
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
699
                                'action' => 'add'
700
                            ],
701
                        ],
702
                    ],
703
                    'edit' => [
704
                        'type' => Segment::class,
705
                        'options' => [
706
                            'route' => '/edit/:id',
707
                            'constraints' => [
708
                                'id' => '[A-Za-z0-9\-]+\=*',
709
                            ],
710
                            'defaults' => [
711
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
712
                                'action' => 'edit'
713
                            ]
714
                        ]
715
                    ],
716
                    'delete' => [
717
                        'type' => Segment::class,
718
                        'options' => [
719
                            'route' => '/delete/:id',
720
                            'constraints' => [
721
                                'id' => '[A-Za-z0-9\-]+\=*',
722
                            ],
723
                            'defaults' => [
724
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
725
                                'action' => 'delete'
726
                            ]
727
                        ]
728
                    ],
729
                    'view' => [
730
                        'type' => Segment::class,
731
                        'options' => [
732
                            'route' => '/view/:id',
733
                            'constraints' => [
734
                                'id' => '[A-Za-z0-9\-]+\=*',
735
                            ],
736
                            'defaults' => [
737
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
738
                                'action' => 'view'
739
                            ]
740
                        ]
741
                    ],
742
                    'comments' => [
743
                        'type' => Segment::class,
744
                        'options' => [
745
                            'route' => '/comments/:id',
746
                            'constraints' => [
747
                                'id' => '[A-Za-z0-9\-]+\=*',
748
                            ],
749
                            'defaults' => [
750
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
751
                                'action' => 'comments'
752
                            ]
753
                        ],
754
                        'may_terminate' => true,
755
                        'child_routes' => [
756
                            'add' => [
757
                                'type' => Literal::class,
758
                                'options' => [
759
                                    'route' => '/add',
760
                                    'defaults' => [
761
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
762
                                        'action' => 'addComment'
763
                                    ]
764
                                ]
765
                            ],
766
                            'delete' => [
767
                                'type' => Segment::class,
768
                                'options' => [
769
                                    'route' => '/delete/:comment',
770
                                    'constraints' => [
771
                                        'comment' => '[A-Za-z0-9\-]+\=*',
772
                                    ],
773
                                    'defaults' => [
774
                                        'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
775
                                        'action' => 'deleteComment'
776
                                    ]
777
                                ]
778
                            ],
779
                        ]
780
                    ],
781
                    'save-reaction' => [
782
                        'type' => Segment::class,
783
                        'options' => [
784
                            'route' => '/save-reaction/:id',
785
                            'constraints' => [
786
                                'id' => '[A-Za-z0-9\-]+\=*',
787
                            ],
788
                            'defaults' => [
789
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
790
                                'action' => 'saveReaction'
791
                            ]
792
                        ]
793
                    ],
794
                    'delete-reaction' => [
795
                        'type' => Segment::class,
796
                        'options' => [
797
                            'route' => '/delete-reaction/:id',
798
                            'constraints' => [
799
                                'id' => '[A-Za-z0-9\-]+\=*',
800
                            ],
801
                            'defaults' => [
802
                                'controller' => '\LeadersLinked\Controller\KnowledgeAreaController',
803
                                'action' => 'deleteReaction'
804
                            ]
805
                        ]
806
                    ],
807
 
808
                ],
6001 efrain 809
            ],
810
 
811
 
1 www 812
            'backend' => [
813
                'type' => Literal::class,
814
                'options' => [
815
                    'route' => '/backend',
816
                    'defaults' => [
817
                        'controller' => '\LeadersLinked\Controller\BackendController',
818
                        'action' => 'index'
819
                    ]
820
                ],
821
                'may_terminate' => true,
822
                'child_routes' => [
823
                    'signin-admin' => [
824
                        'type' => Literal::class,
825
                        'options' => [
826
                            'route' => '/signin-admin',
827
                            'defaults' => [
828
                                'controller' => '\LeadersLinked\Controller\BackendController',
829
                                'action' => 'signinAdmin'
830
                            ],
831
                        ],
832
                    ],
833
                    'signin-company' => [
834
                        'type' => Segment::class,
835
                        'options' => [
4398 efrain 836
                            'route' => '/signin-company/:id[/relational/:relational/type/:type]',
1 www 837
                            'constraints' => [
838
                                'id' => '[A-Za-z0-9\-]+\=*',
4398 efrain 839
                                'relational' => '[A-Za-z0-9\-]+\=*',
840
                                'type' => '[A-Za-z0-9\-]+\=*',
1 www 841
                            ],
842
                            'defaults' => [
843
                                'controller' => '\LeadersLinked\Controller\BackendController',
844
                                'action' => 'signinCompany'
845
                            ],
846
                        ],
847
                    ],
553 geraldo 848
                ]
1 www 849
            ],
850
            'dashboard' => [
851
                'type' => Segment::class,
852
                'options' => [
853
                    'route' => '/dashboard[/feed/:feed]',
854
                    'constraints' => [
855
                        'feed' => '[A-Za-z0-9\-]+\=*',
856
                    ],
857
                    'defaults' => [
858
                        'controller' => '\LeadersLinked\Controller\DashboardController',
859
                        'action' => 'index'
860
                    ]
861
                ]
862
            ],
60 efrain 863
            'dashboard2' => [
1 www 864
                'type' => Segment::class,
865
                'options' => [
60 efrain 866
                    'route' => '/dashboard2',
1 www 867
                    'defaults' => [
868
                        'controller' => '\LeadersLinked\Controller\DashboardController',
60 efrain 869
                        'action' => 'dashboard2'
1 www 870
                    ]
871
                ]
872
            ],
873
            'storage' => [
874
                'type' => Segment::class,
875
                'options' => [
876
                    'route' => '/storage/type/:type[/code/:code][/filename/:filename][/]',
877
                    'constraints' => [
6056 efrain 878
                        'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|message|microlearning-topic|microlearning-capsule|microlearning-slide|daily-pulse|engagement-reward|knowledge-area',
1 www 879
                        'code' => '[A-Za-z0-9\-]+\=*',
880
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
881
                    ],
882
                    // MjM5ODk0Mzgg
883
                    'defaults' => [
884
                        'controller' => '\LeadersLinked\Controller\StorageController',
885
                        'action' => 'download'
886
                    ]
887
                ]
888
            ],
3639 efrain 889
            'storage-network' => [
890
                'type' => Segment::class,
891
                'options' => [
892
                    'route' => '/storage-network/type/:type[/]',
893
                    'constraints' => [
5848 efrain 894
                        'type' => 'navbar|logo|favico|moodle',
3639 efrain 895
                    ],
896
                    // MjM5ODk0Mzgg
897
                    'defaults' => [
898
                        'controller' => '\LeadersLinked\Controller\StorageNetworkController',
899
                        'action' => 'download'
900
                    ]
901
                ]
902
            ],
1 www 903
            'paypal' => [
904
                'type' => Literal::class,
905
                'options' => [
906
                    'route' => '/paypal',
907
                    'defaults' => [
908
                        'controller' => '\LeadersLinked\Controller\PaypalController',
909
                        'action' => 'index'
910
                    ]
911
                ],
912
                'may_terminate' => true,
913
                'child_routes' => [
914
                    'success' => [
915
                        'type' => Literal::class,
916
                        'options' => [
917
                            'route' => '/success',
918
                            'defaults' => [
919
                                'controller' => '\LeadersLinked\Controller\PaypalController',
920
                                'action' => 'success',
921
                            ],
922
                        ],
923
                    ],
924
                    'cancel' => [
925
                        'type' => Literal::class,
926
                        'options' => [
927
                            'route' => '/cancel',
928
                            'defaults' => [
929
                                'controller' => '\LeadersLinked\Controller\PaypalController',
930
                                'action' => 'cancel',
931
                            ],
932
                        ],
933
                    ],
934
                ]
553 geraldo 935
            ],
1 www 936
            'chat' => [
937
                'type' => Literal::class,
938
                'options' => [
939
                    'route' => '/chat',
940
                    'defaults' => [
941
                        'controller' => '\LeadersLinked\Controller\ChatController',
942
                        'action' => 'index'
943
                    ]
944
                ],
945
                'may_terminate' => true,
946
                'child_routes' => [
947
                    // Inicio de los Routes del Chat //
5612 anderson 948
 
4857 efrain 949
                    'users' => [
950
                        'type' => Literal::class,
951
                        'options' => [
952
                            'route' => '/users',
953
                            'defaults' => [
954
                                'controller' => '\LeadersLinked\Controller\ChatController',
955
                                'action' => 'users',
956
                            ],
957
                        ],
958
                    ],
553 geraldo 959
 
1 www 960
                    'heart-beat' => [
961
                        'type' => Literal::class,
962
                        'options' => [
963
                            'route' => '/heart-beat',
964
                            'defaults' => [
965
                                'controller' => '\LeadersLinked\Controller\ChatController',
966
                                'action' => 'heartBeat',
967
                            ],
968
                        ],
969
                    ],
970
                    'create-group' => [
971
                        'type' => Literal::class,
972
                        'options' => [
973
                            'route' => '/create-group',
974
                            'defaults' => [
975
                                'controller' => '\LeadersLinked\Controller\ChatController',
976
                                'action' => 'createGroup',
977
                            ],
978
                        ],
979
                    ],
4113 efrain 980
                    'zoom' => [
981
                        'type' => Segment::class,
982
                        'options' => [
4131 efrain 983
                            'route' => '/zoom/:id',
4113 efrain 984
                            'constraints' => [
985
                                'id' => '[A-Za-z0-9\-]+\=*',
986
                            ],
987
                            'defaults' => [
4131 efrain 988
                                'controller' => '\LeadersLinked\Controller\ChatController',
989
                                'action' => 'zoom',
4113 efrain 990
                            ],
991
                        ],
992
                    ],
5343 efrain 993
                    'open-or-create' => [
994
                        'type' => Segment::class,
995
                        'options' => [
996
                            'route' => '/open-or-create/:id',
997
                            'constraints' => [
998
                                'id' => '[A-Za-z0-9\-]+\=*',
999
                            ],
1000
                            'defaults' => [
1001
                                'controller' => '\LeadersLinked\Controller\ChatController',
1002
                                'action' => 'openOrCreate',
1003
                            ],
1004
                        ],
1005
                    ],
1 www 1006
                    'add-user-to-group' => [
1007
                        'type' => Segment::class,
1008
                        'options' => [
1009
                            'route' => '/add-user-to-group/:group_id',
1010
                            'constraints' => [
1011
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1012
                            ],
1013
                            'defaults' => [
1014
                                'controller' => '\LeadersLinked\Controller\ChatController',
1015
                                'action' => 'addUserToGroup',
1016
                            ],
1017
                        ],
1018
                    ],
1019
                    'mark-seen' => [
1020
                        'type' => Segment::class,
1021
                        'options' => [
1022
                            'route' => '/mark-seen/:id',
1023
                            'constraints' => [
1024
                                'id' => '[A-Za-z0-9\-]+\=*',
1025
                            ],
1026
                            'defaults' => [
1027
                                'controller' => '\LeadersLinked\Controller\ChatController',
1028
                                'action' => 'markSeen',
1029
                            ],
1030
                        ],
1031
                    ],
1032
                    'mark-received' => [
1033
                        'type' => Segment::class,
1034
                        'options' => [
1035
                            'route' => '/mark-received/:id',
1036
                            'constraints' => [
1037
                                'id' => '[A-Za-z0-9\-]+\=*',
1038
                            ],
1039
                            'defaults' => [
1040
                                'controller' => '\LeadersLinked\Controller\ChatController',
1041
                                'action' => 'markReceived',
1042
                            ],
1043
                        ],
1044
                    ],
1045
                    'remove-user-from-group' => [
1046
                        'type' => Segment::class,
1047
                        'options' => [
1048
                            'route' => '/remove-user-from-group/:group_id/:user_id',
1049
                            'constraints' => [
1050
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1051
                                'user_id' => '[A-Za-z0-9\-]+\=*',
1052
                            ],
1053
                            'defaults' => [
1054
                                'controller' => '\LeadersLinked\Controller\ChatController',
1055
                                'action' => 'removeUserFromGroup',
1056
                            ],
1057
                        ],
1058
                    ],
1059
                    'get-all-messages' => [
553 geraldo 1060
                        'type' => Segment::class,
1 www 1061
                        'options' => [
1062
                            'route' => '/get-all-messages/:id',
1063
                            'constraints' => [
1064
                                'id' => '[A-Za-z0-9\-]+\=*',
1065
                            ],
1066
                            'defaults' => [
1067
                                'controller' => '\LeadersLinked\Controller\ChatController',
1068
                                'action' => 'getAllMessages',
1069
                            ],
1070
                        ],
1071
                    ],
1072
                    'send' => [
553 geraldo 1073
                        'type' => Segment::class,
1 www 1074
                        'options' => [
1075
                            'route' => '/send/:id',
1076
                            'constraints' => [
1077
                                'id' => '[A-Za-z0-9\-]+\=*',
1078
                            ],
1079
                            'defaults' => [
1080
                                'controller' => '\LeadersLinked\Controller\ChatController',
1081
                                'action' => 'send',
1082
                            ],
1083
                        ],
1084
                    ],
1085
                    'get-contacts-availables-for-group' => [
1086
                        'type' => Segment::class,
1087
                        'options' => [
1088
                            'route' => '/get-contacts-availables-for-group/:group_id',
1089
                            'constraints' => [
1090
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1091
                            ],
1092
                            'defaults' => [
1093
                                'controller' => '\LeadersLinked\Controller\ChatController',
1094
                                'action' => 'contactAvailableGroupList',
1095
                            ],
1096
                        ],
1097
                    ],
1098
                    'get-contact-group-list' => [
1099
                        'type' => Segment::class,
1100
                        'options' => [
1101
                            'route' => '/get-contact-group-list/:group_id',
1102
                            'constraints' => [
1103
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1104
                            ],
1105
                            'defaults' => [
1106
                                'controller' => '\LeadersLinked\Controller\ChatController',
1107
                                'action' => 'contactGroupList',
1108
                            ],
1109
                        ],
1110
                    ],
1111
                    'leave-group' => [
1112
                        'type' => Segment::class,
1113
                        'options' => [
1114
                            'route' => '/leave-group/:group_id',
1115
                            'constraints' => [
1116
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1117
                            ],
1118
                            'defaults' => [
1119
                                'controller' => '\LeadersLinked\Controller\ChatController',
1120
                                'action' => 'leaveGroup',
1121
                            ],
1122
                        ],
1123
                    ],
1124
                    'delete-group' => [
1125
                        'type' => Segment::class,
1126
                        'options' => [
1127
                            'route' => '/delete-group/:group_id',
1128
                            'constraints' => [
1129
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1130
                            ],
1131
                            'defaults' => [
1132
                                'controller' => '\LeadersLinked\Controller\ChatController',
1133
                                'action' => 'deleteGroup',
1134
                            ],
1135
                        ],
1136
                    ],
3121 efrain 1137
                    'open' => [
1138
                        'type' => Segment::class,
1139
                        'options' => [
1140
                            'route' => '/open/:id',
1141
                            'constraints' => [
1142
                                'id' => '[A-Za-z0-9\-]+\=*',
1143
                            ],
1144
                            'defaults' => [
1145
                                'controller' => '\LeadersLinked\Controller\ChatController',
1146
                                'action' => 'open',
1147
                            ],
1148
                        ],
1149
                    ],
1 www 1150
                    'close' => [
1151
                        'type' => Segment::class,
1152
                        'options' => [
1153
                            'route' => '/close/:id',
1154
                            'constraints' => [
1155
                                'id' => '[A-Za-z0-9\-]+\=*',
1156
                            ],
1157
                            'defaults' => [
1158
                                'controller' => '\LeadersLinked\Controller\ChatController',
1159
                                'action' => 'close',
1160
                            ],
1161
                        ],
1162
                    ],
1163
                    'clear' => [
1164
                        'type' => Segment::class,
1165
                        'options' => [
1166
                            'route' => '/clear/:id',
1167
                            'constraints' => [
1168
                                'id' => '[A-Za-z0-9\-]+\=*',
1169
                            ],
1170
                            'defaults' => [
1171
                                'controller' => '\LeadersLinked\Controller\ChatController',
1172
                                'action' => 'clear',
1173
                            ],
1174
                        ],
1175
                    ],
1176
                    'upload' => [
1177
                        'type' => Segment::class,
1178
                        'options' => [
1179
                            'route' => '/upload/:id',
1180
                            'constraints' => [
1181
                                'id' => '[A-Za-z0-9\-]+\=*',
1182
                            ],
1183
                            'defaults' => [
1184
                                'controller' => '\LeadersLinked\Controller\ChatController',
1185
                                'action' => 'upload',
1186
                            ],
1187
                        ],
1188
                    ],
1189
                ],
553 geraldo 1190
            ],
4113 efrain 1191
            'calendar' => [
1192
                'type' => Literal::class,
1193
                'options' => [
1194
                    'route' => '/calendar',
1195
                    'defaults' => [
1196
                        'controller' => '\LeadersLinked\Controller\CalendarController',
1197
                        'action' => 'index'
1198
                    ]
1199
                ],
1200
                'may_terminate' => true,
1201
                'child_routes' => [
1202
                    'events' => [
1203
                        'type' => Segment::class,
1204
                        'options' => [
1205
                            'route' => '/events',
1206
                            /*'constraints' => [
1207
                                'id' => '[A-Za-z0-9\-]+\=*',
1208
                            ],*/
1209
                            'defaults' => [
1210
                                'controller' => '\LeadersLinked\Controller\CalendarController',
1211
                                'action' => 'events'
1212
                            ]
1213
                        ]
1214
                    ],
1215
                ]
5612 anderson 1216
            ],
1217
 
4419 efrain 1218
            /*
4113 efrain 1219
            'zoom' => [
1220
                'type' => Literal::class,
1221
                'options' => [
1222
                    'route' => '/zoom',
1223
                    'defaults' => [
1224
                        'controller' => '\LeadersLinked\Controller\ZoomController',
1225
                        'action' => 'index'
1226
                    ]
1227
                ],
1228
                'may_terminate' => true,
1229
                'child_routes' => [
4131 efrain 1230
                    'add' => [
1231
                        'type' => Literal::class,
4113 efrain 1232
                        'options' => [
4131 efrain 1233
                            'route' => '/add',
4113 efrain 1234
                            'defaults' => [
1235
                                'controller' => '\LeadersLinked\Controller\ZoomController',
4131 efrain 1236
                                'action' => 'add'
1237
                            ]
1238
                        ]
4113 efrain 1239
                    ],
1240
                    'delete' => [
1241
                        'type' => Segment::class,
1242
                        'options' => [
1243
                            'route' => '/delete/:id',
4419 efrain 1244
                            'constraints' => [
4113 efrain 1245
                                'id' => '[A-Za-z0-9\-]+\=*',
4419 efrain 1246
                            ],
4113 efrain 1247
                            'defaults' => [
1248
                                'controller' => '\LeadersLinked\Controller\ZoomController',
4131 efrain 1249
                                'action' => 'delete'
1250
                            ]
1251
                        ]
4113 efrain 1252
                    ],
1253
                    'listing' => [
1254
                        'type' => Literal::class,
1255
                        'options' => [
1256
                            'route' => '/listing',
1257
                            'defaults' => [
1258
                                'controller' => '\LeadersLinked\Controller\ZoomController',
4131 efrain 1259
                                'action' => 'listing'
1260
                            ]
1261
                        ]
4113 efrain 1262
                    ],
1263
                ]
4419 efrain 1264
            ],*/
5612 anderson 1265
 
1 www 1266
            'inmail' => [
1267
                'type' => Segment::class,
1268
                'options' => [
1269
                    'route' => '/inmail[/:id]',
1270
                    'constraints' => [
1271
                        'id' => '[A-Za-z0-9\-]+\=*',
1272
                    ],
1273
                    'defaults' => [
1274
                        'controller' => '\LeadersLinked\Controller\InMailController',
1275
                        'action' => 'index'
1276
                    ]
1277
                ],
1278
                'may_terminate' => true,
1279
                'child_routes' => [
1280
                    'block' => [
1281
                        'type' => Literal::class,
553 geraldo 1282
                        'options' => [
1 www 1283
                            'route' => '/block',
1284
                            'defaults' => [
1285
                                'controller' => '\LeadersLinked\Controller\InMailController',
1286
                                'action' => 'blockConversation'
1287
                            ]
553 geraldo 1288
                        ]
1289
                    ],
1290
                    'delete' => [
1291
                        'type' => Literal::class,
1292
                        'options' => [
1293
                            'route' => '/delete',
1294
                            'defaults' => [
1295
                                'controller' => '\LeadersLinked\Controller\InMailController',
5612 anderson 1296
                                'action' => 'delete'
1 www 1297
                            ]
553 geraldo 1298
                        ]
1299
                    ],
1300
                    'message' => [
1301
                        'type' => Literal::class,
1302
                        'options' => [
1303
                            'route' => '/message',
1304
                            'defaults' => [
1305
                                'controller' => '\LeadersLinked\Controller\InMailController',
1306
                                'action' => 'message'
1307
                            ]
1 www 1308
                        ],
553 geraldo 1309
                        'may_terminate' => true,
1310
                        'child_routes' => [
1311
                            'send' => [
1312
                                'type' => Segment::class,
1313
                                'options' => [
1314
                                    'route' => '/send[/encoding/:encoding]',
1315
                                    'constraints' => [
1316
                                        'encoding' => 'base64'
1317
                                    ],
1318
                                    'defaults' => [
1319
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1320
                                        'action' => 'sendMessage'
1321
                                    ]
1 www 1322
                                ]
1323
                            ],
553 geraldo 1324
                            'delete' => [
1325
                                'type' => Segment::class,
1326
                                'options' => [
1327
                                    'route' => '/delete/:message',
1328
                                    'constraints' => [
1329
                                        'message' => '[A-Za-z0-9\-]+\=*',
1330
                                    ],
1331
                                    'defaults' => [
1332
                                        'controller' => '\LeadersLinked\Controller\InMailController',
1333
                                        'action' => 'delete'
1 www 1334
                                    ]
553 geraldo 1335
                                ]
1336
                            ],
1337
                        ],
1 www 1338
                    ],
553 geraldo 1339
                ],
1340
            ],
1 www 1341
            'connection' => [
1342
                'type' => Literal::class,
1343
                'options' => [
1344
                    'route' => '/connection',
1345
                    'defaults' => [
1346
                        'controller' => '\LeadersLinked\Controller\ConnectionController',
1347
                        'action' => 'index'
1348
                    ]
1349
                ],
1350
                'may_terminate' => true,
1351
                'child_routes' => [
1352
                    'my-connections' => [
1353
                        'type' => Literal::class,
1354
                        'options' => [
1355
                            'route' => '/my-connections',
1356
                            'defaults' => [
1357
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1358
                                'action' => 'myConnections'
1359
                            ]
1360
                        ]
1361
                    ],
1362
                    'people-you-may-know' => [
1363
                        'type' => Literal::class,
1364
                        'options' => [
1365
                            'route' => '/people-you-may-know',
1366
                            'defaults' => [
1367
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1368
                                'action' => 'peopleYouMayKnow'
1369
                            ]
1370
                        ]
1371
                    ],
1372
                    'people-blocked' => [
1373
                        'type' => Literal::class,
1374
                        'options' => [
1375
                            'route' => '/people-blocked',
1376
                            'defaults' => [
1377
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1378
                                'action' => 'peopleBlocked'
1379
                            ]
1380
                        ],
1381
                    ],
1382
                    'invitations-sent' => [
1383
                        'type' => Literal::class,
1384
                        'options' => [
1385
                            'route' => '/invitations-sent',
1386
                            'defaults' => [
1387
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1388
                                'action' => 'invitationsSent'
1389
                            ]
1390
                        ]
1391
                    ],
1392
                    'invitations-received' => [
1393
                        'type' => Literal::class,
1394
                        'options' => [
1395
                            'route' => '/invitations-received',
1396
                            'defaults' => [
1397
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1398
                                'action' => 'invitationsReceived'
1399
                            ]
1400
                        ]
1401
                    ],
1402
                    'block' => [
1403
                        'type' => Segment::class,
1404
                        'options' => [
1405
                            'route' => '/block/:id',
1406
                            'constraints' => [
1407
                                'id' => '[A-Za-z0-9\-]+\=*',
1408
                            ],
1409
                            'defaults' => [
1410
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1411
                                'action' => 'block'
1412
                            ]
1413
                        ]
1414
                    ],
1415
                    'unblock' => [
1416
                        'type' => Segment::class,
1417
                        'options' => [
1418
                            'route' => '/unblock/:id',
1419
                            'constraints' => [
1420
                                'id' => '[A-Za-z0-9\-]+\=*',
1421
                            ],
1422
                            'defaults' => [
1423
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1424
                                'action' => 'unblock'
1425
                            ]
1426
                        ]
1427
                    ],
1428
                    'cancel' => [
1429
                        'type' => Segment::class,
1430
                        'options' => [
1431
                            'route' => '/cancel/:id',
1432
                            'constraints' => [
1433
                                'id' => '[A-Za-z0-9\-]+\=*',
1434
                            ],
1435
                            'defaults' => [
1436
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1437
                                'action' => 'cancel'
1438
                            ]
1439
                        ]
1440
                    ],
1441
                    'request' => [
1442
                        'type' => Segment::class,
1443
                        'options' => [
1444
                            'route' => '/request/:id',
1445
                            'constraints' => [
1446
                                'id' => '[A-Za-z0-9\-]+\=*',
1447
                            ],
1448
                            'defaults' => [
1449
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1450
                                'action' => 'request'
1451
                            ]
1452
                        ]
1453
                    ],
1454
                    'approve' => [
1455
                        'type' => Segment::class,
1456
                        'options' => [
1457
                            'route' => '/approve/:id',
1458
                            'constraints' => [
1459
                                'id' => '[A-Za-z0-9\-]+\=*',
1460
                            ],
1461
                            'defaults' => [
1462
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1463
                                'action' => 'approve'
1464
                            ]
1465
                        ]
1466
                    ],
1467
                    'reject' => [
1468
                        'type' => Segment::class,
1469
                        'options' => [
1470
                            'route' => '/reject/:id',
1471
                            'constraints' => [
1472
                                'id' => '[A-Za-z0-9\-]+\=*',
1473
                            ],
1474
                            'defaults' => [
1475
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1476
                                'action' => 'reject'
1477
                            ]
1478
                        ]
1479
                    ],
1480
                    'delete' => [
1481
                        'type' => Segment::class,
1482
                        'options' => [
1483
                            'route' => '/delete/:id',
1484
                            'constraints' => [
1485
                                'id' => '[A-Za-z0-9\-]+\=*',
1486
                            ],
1487
                            'defaults' => [
1488
                                'controller' => '\LeadersLinked\Controller\ConnectionController',
1489
                                'action' => 'delete'
1490
                            ]
1491
                        ]
1492
                    ],
1493
                ]
553 geraldo 1494
            ],
1 www 1495
            'feed' => [
1496
                'type' => Literal::class,
1497
                'options' => [
1498
                    'route' => '/feed',
1499
                    'defaults' => [
1500
                        'controller' => '\LeadersLinked\Controller\FeedController',
1501
                        'action' => 'index'
1502
                    ]
1503
                ],
1504
                'may_terminate' => true,
1505
                'child_routes' => [
1506
                    'timeline' => [
1507
                        'type' => Segment::class,
1508
                        'options' => [
1509
                            'route' => '/timeline/:id/:type[/feed/:feed]',
1510
                            'constraints' => [
1511
                                'id' => '[A-Za-z0-9\-]+\=*',
1512
                                'type' => 'user|company|group',
1513
                            ],
1514
                            'defaults' => [
1515
                                'controller' => '\LeadersLinked\Controller\FeedController',
1516
                                'action' => 'timeline'
1517
                            ]
1518
                        ]
1519
                    ],
1520
                    'delete' => [
1521
                        'type' => Segment::class,
1522
                        'options' => [
1523
                            'route' => '/delete/:id',
1524
                            'constraints' => [
1525
                                'id' => '[A-Za-z0-9\-]+\=*',
1526
                            ],
1527
                            'defaults' => [
1528
                                'controller' => '\LeadersLinked\Controller\FeedController',
1529
                                'action' => 'delete'
1530
                            ],
1531
                        ]
1532
                    ],
1533
                    'comment' => [
1534
                        'type' => Segment::class,
1535
                        'options' => [
1536
                            'route' => '/comment/:id',
1537
                            'constraints' => [
1538
                                'id' => '[A-Za-z0-9\-]+\=*',
1539
                            ],
1540
                            'defaults' => [
1541
                                'controller' => '\LeadersLinked\Controller\FeedController',
1542
                                'action' => 'comment'
1543
                            ],
1544
                        ],
1545
                        'may_terminate' => true,
1546
                        'child_routes' => [
1547
                            'delete' => [
1548
                                'type' => Segment::class,
1549
                                'options' => [
1550
                                    'route' => '/delete/:comment',
1551
                                    'constraints' => [
1552
                                        'comment' => '[A-Za-z0-9\-]+\=*',
1553
                                    ],
1554
                                    'defaults' => [
1555
                                        'controller' => '\LeadersLinked\Controller\FeedController',
1556
                                        'action' => 'commentDelete'
1557
                                    ]
1558
                                ]
1559
                            ],
1560
                        ]
1561
                    ],
1562
                    'share' => [
1563
                        'type' => Segment::class,
1564
                        'options' => [
1565
                            'route' => '/share/:id[/company/:company_id][/group/:group_id][/encoding/:encoding]',
1566
                            'constraints' => [
1567
                                'id' => '[A-Za-z0-9\-]+\=*',
1568
                                'company_id' => '[A-Za-z0-9\-]+\=*',
1569
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1570
                                'encoding' => 'base64'
1571
                            ],
1572
                            'defaults' => [
1573
                                'controller' => '\LeadersLinked\Controller\FeedController',
1574
                                'action' => 'share'
1575
                            ]
1576
                        ]
1577
                    ],
5765 efrain 1578
                    'save-reaction' => [
1 www 1579
                        'type' => Segment::class,
1580
                        'options' => [
5765 efrain 1581
                            'route' => '/save-reaction/:id/:reaction',
1 www 1582
                            'constraints' => [
1583
                                'id' => '[A-Za-z0-9\-]+\=*',
5765 efrain 1584
                                'reaction' => 'r|s|l|i|f',
1 www 1585
                            ],
1586
                            'defaults' => [
1587
                                'controller' => '\LeadersLinked\Controller\FeedController',
5765 efrain 1588
                                'action' => 'saveReaction'
1 www 1589
                            ]
1590
                        ]
1591
                    ],
5765 efrain 1592
 
1593
                    'delete-reaction' => [
1 www 1594
                        'type' => Segment::class,
1595
                        'options' => [
5765 efrain 1596
                            'route' => '/delete-reaction/:id',
1 www 1597
                            'constraints' => [
1598
                                'id' => '[A-Za-z0-9\-]+\=*',
1599
                            ],
1600
                            'defaults' => [
1601
                                'controller' => '\LeadersLinked\Controller\FeedController',
5765 efrain 1602
                                'action' => 'deleteReaction'
1 www 1603
                            ]
1604
                        ]
1605
                    ],
1606
                    'add' => [
1607
                        'type' => Segment::class,
1608
                        'options' => [
2455 efrain 1609
                            'route' => '/add[/company/:company_id][/group/:group_id][/encoding/:encoding]',
1 www 1610
                            'constraints' => [
2455 efrain 1611
                                'company_id' => '[A-Za-z0-9\-]+\=*',
1612
                                'group_id' => '[A-Za-z0-9\-]+\=*',
1 www 1613
                                'encoding' => 'base64'
1614
                            ],
1615
                            'defaults' => [
1616
                                'controller' => '\LeadersLinked\Controller\FeedController',
1617
                                'action' => 'add'
1618
                            ]
1619
                        ]
1620
                    ],
6388 efrain 1621
                    'vote' => [
1622
                        'type' => Segment::class,
1623
                        'options' => [
1624
                            'route' => '/vote/:id',
1625
                            'constraints' => [
1626
                                'id' => '[A-Za-z0-9\-]+\=*',
1627
                            ],
1628
                            'defaults' => [
1629
                                'controller' => '\LeadersLinked\Controller\FeedController',
1630
                                'action' => 'vote'
1631
                            ]
1632
                        ]
1633
                    ],
1 www 1634
                ],
553 geraldo 1635
            ],
1 www 1636
            'job' => [
1637
                'type' => Literal::class,
1638
                'options' => [
1639
                    'route' => '/job',
1640
                    'defaults' => [
1641
                        'controller' => '\LeadersLinked\Controller\JobController',
1642
                        'action' => 'index'
1643
                    ]
1644
                ],
1645
                'may_terminate' => true,
1646
                'child_routes' => [
1647
                    'view' => [
1648
                        'type' => Segment::class,
1649
                        'options' => [
1650
                            'route' => '/view/:id',
1651
                            'constraints' => [
1652
                                'id' => '[A-Za-z0-9\-]+\=*'
1653
                            ],
1654
                            'defaults' => [
1655
                                'controller' => '\LeadersLinked\Controller\JobController',
1656
                                'action' => 'view'
1657
                            ]
1658
                        ]
1659
                    ],
1660
                    'apply-job' => [
1661
                        'type' => Segment::class,
1662
                        'options' => [
1663
                            'route' => '/apply-job/:id',
1664
                            'constraints' => [
1665
                                'id' => '[A-Za-z0-9\-]+\=*'
1666
                            ],
1667
                            'defaults' => [
1668
                                'controller' => '\LeadersLinked\Controller\JobController',
1669
                                'action' => 'applyJob'
1670
                            ]
1671
                        ]
1672
                    ],
1673
                    'remove-apply-job' => [
1674
                        'type' => Segment::class,
1675
                        'options' => [
1676
                            'route' => '/remove-apply-job/:id',
1677
                            'constraints' => [
1678
                                'id' => '[A-Za-z0-9\-]+\=*'
1679
                            ],
1680
                            'defaults' => [
1681
                                'controller' => '\LeadersLinked\Controller\JobController',
1682
                                'action' => 'removeApplyJob'
1683
                            ]
1684
                        ]
1685
                    ],
1686
                    'save-job' => [
1687
                        'type' => Segment::class,
1688
                        'options' => [
1689
                            'route' => '/save-job/:id',
1690
                            'constraints' => [
1691
                                'id' => '[A-Za-z0-9\-]+\=*'
1692
                            ],
1693
                            'defaults' => [
1694
                                'controller' => '\LeadersLinked\Controller\JobController',
1695
                                'action' => 'saveJob'
1696
                            ]
1697
                        ]
1698
                    ],
1699
                    'remove-save-job' => [
1700
                        'type' => Segment::class,
1701
                        'options' => [
1702
                            'route' => '/remove-save-job/:id',
1703
                            'constraints' => [
1704
                                'id' => '[A-Za-z0-9\-]+\=*'
1705
                            ],
1706
                            'defaults' => [
1707
                                'controller' => '\LeadersLinked\Controller\JobController',
1708
                                'action' => 'removeSaveJob'
1709
                            ]
1710
                        ]
1711
                    ],
1712
                    'applied-jobs' => [
1713
                        'type' => Literal::class,
1714
                        'options' => [
1715
                            'route' => '/applied-jobs',
1716
                            'defaults' => [
1717
                                'controller' => '\LeadersLinked\Controller\JobController',
1718
                                'action' => 'appliedJobs'
1719
                            ]
1720
                        ]
1721
                    ],
1722
                    'saved-jobs' => [
1723
                        'type' => Literal::class,
1724
                        'options' => [
1725
                            'route' => '/saved-jobs',
1726
                            'defaults' => [
1727
                                'controller' => '\LeadersLinked\Controller\JobController',
1728
                                'action' => 'savedJobs'
1729
                            ]
1730
                        ]
1731
                    ],
553 geraldo 1732
                ]
1 www 1733
            ],
1734
            /*
553 geraldo 1735
              'job' => [
1736
              'type' => Literal::class,
1737
              'options' => [
1738
              'route' => '/job',
1739
              'defaults' => [
1740
              'controller' => '\LeadersLinked\Controller\JobController',
1741
              'action' => 'index'
1742
              ]
1743
              ],
1744
              'may_terminate' => true,
1745
              'child_routes' => [
1746
              'view' => [
1747
              'type' => Segment::class,
1748
              'options' => [
1749
              'route' => '/view/:id',
1750
              'constraints' => [
1751
              'id' => '[A-Za-z0-9\-]+\=*'
1752
              ],
1753
              'defaults' => [
1754
              'controller' => '\LeadersLinked\Controller\CompanyController',
1755
              'action' => 'job'
1756
              ]
1757
              ]
1758
              ],
1759
              ]
1760
              ],
1 www 1761
             */
1762
            'search' => [
1763
                'type' => Segment::class,
1764
                'options' => [
1765
                    'route' => '/search[/entity/:entity]',
1766
                    'constraints' => [
1767
                        'entity' => 'user|company|group|job'
1768
                    ],
1769
                    'defaults' => [
1770
                        'controller' => '\LeadersLinked\Controller\SearchController',
1771
                        'action' => 'index'
1772
                    ]
1773
                ],
1774
            ],
1775
            'group' => [
1776
                'type' => Literal::class,
1777
                'options' => [
1778
                    'route' => '/group',
1779
                    'defaults' => [
1780
                        'controller' => '\LeadersLinked\GroupController',
1781
                        'action' => 'index'
1782
                    ]
1783
                ],
1784
                'may_terminate' => true,
1785
                'child_routes' => [
1786
                    'view' => [
1787
                        'type' => Segment::class,
1788
                        'options' => [
1789
                            'route' => '/view/:id',
1790
                            'constraints' => [
1791
                                'id' => '[A-Za-z0-9\-]+\=*'
1792
                            ],
1793
                            'defaults' => [
1794
                                'controller' => '\LeadersLinked\Controller\GroupController',
1795
                                'action' => 'view'
1796
                            ]
1797
                        ]
1798
                    ],
1799
                    'request' => [
1800
                        'type' => Segment::class,
1801
                        'options' => [
1802
                            'route' => '/request/:id',
1803
                            'constraints' => [
1804
                                'id' => '[A-Za-z0-9\-]+\=*'
1805
                            ],
1806
                            'defaults' => [
1807
                                'controller' => '\LeadersLinked\Controller\GroupController',
1808
                                'action' => 'request'
1809
                            ]
1810
                        ]
1811
                    ],
1812
                    'leave' => [
1813
                        'type' => Segment::class,
1814
                        'options' => [
1815
                            'route' => '/leave/:id',
1816
                            'constraints' => [
1817
                                'id' => '[A-Za-z0-9\-]+\=*'
1818
                            ],
1819
                            'defaults' => [
1820
                                'controller' => '\LeadersLinked\Controller\GroupController',
1821
                                'action' => 'leave'
1822
                            ]
1823
                        ]
1824
                    ],
1825
                    'accept' => [
1826
                        'type' => Segment::class,
1827
                        'options' => [
1828
                            'route' => '/accept/:id',
1829
                            'constraints' => [
1830
                                'id' => '[A-Za-z0-9\-]+\=*'
1831
                            ],
1832
                            'defaults' => [
1833
                                'controller' => '\LeadersLinked\Controller\GroupController',
1834
                                'action' => 'accept'
1835
                            ]
1836
                        ]
1837
                    ],
1838
                    'cancel' => [
1839
                        'type' => Segment::class,
1840
                        'options' => [
1841
                            'route' => '/cancel/:id',
1842
                            'constraints' => [
1843
                                'id' => '[A-Za-z0-9\-]+\=*'
1844
                            ],
1845
                            'defaults' => [
1846
                                'controller' => '\LeadersLinked\Controller\GroupController',
1847
                                'action' => 'cancel'
1848
                            ]
1849
                        ]
1850
                    ],
1851
                    'reject' => [
1852
                        'type' => Segment::class,
1853
                        'options' => [
1854
                            'route' => '/reject/:id',
1855
                            'constraints' => [
1856
                                'id' => '[A-Za-z0-9\-]+\=*'
1857
                            ],
1858
                            'defaults' => [
1859
                                'controller' => '\LeadersLinked\Controller\GroupController',
1860
                                'action' => 'reject'
1861
                            ]
1862
                        ]
1863
                    ],
1864
                    'joined-groups' => [
1865
                        'type' => Literal::class,
1866
                        'options' => [
1867
                            'route' => '/joined-groups',
1868
                            'defaults' => [
1869
                                'controller' => '\LeadersLinked\Controller\GroupController',
1870
                                'action' => 'joinedGroups'
1871
                            ]
1872
                        ],
1873
                    ],
1874
                    'requests-sent' => [
1875
                        'type' => Literal::class,
1876
                        'options' => [
1877
                            'route' => '/requests-sent',
1878
                            'defaults' => [
1879
                                'controller' => '\LeadersLinked\Controller\GroupController',
1880
                                'action' => 'requestsSent'
1881
                            ]
1882
                        ],
1883
                    ],
1884
                    'invitations-received' => [
1885
                        'type' => Literal::class,
1886
                        'options' => [
1887
                            'route' => '/invitations-received',
1888
                            'defaults' => [
1889
                                'controller' => '\LeadersLinked\Controller\GroupController',
1890
                                'action' => 'invitationsReceived'
1891
                            ]
1892
                        ],
1893
                    ],
1894
                    'my-groups' => [
1895
                        'type' => Literal::class,
1896
                        'options' => [
1897
                            'route' => '/my-groups',
1898
                            'defaults' => [
1899
                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
1900
                                'action' => 'index'
1901
                            ]
1902
                        ],
1903
                        'may_terminate' => true,
1904
                        'child_routes' => [
1905
                            'add' => [
1906
                                'type' => Literal::class,
1907
                                'options' => [
1908
                                    'route' => '/add',
1909
                                    'defaults' => [
1910
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1911
                                        'action' => 'add'
1912
                                    ]
1913
                                ]
1914
                            ],
1915
                            'edit' => [
1916
                                'type' => Segment::class,
1917
                                'options' => [
1918
                                    'route' => '/edit/:id',
1919
                                    'constraints' => [
1920
                                        'id' => '[A-Za-z0-9\-]+\=*'
1921
                                    ],
1922
                                    'defaults' => [
1923
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1924
                                        'action' => 'edit'
1925
                                    ]
1926
                                ]
1927
                            ],
1928
                            'delete' => [
1929
                                'type' => Segment::class,
1930
                                'options' => [
1931
                                    'route' => '/delete/:id',
1932
                                    'constraints' => [
1933
                                        'id' => '[A-Za-z0-9\-]+\=*'
1934
                                    ],
1935
                                    'defaults' => [
1936
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1937
                                        'action' => 'delete'
1938
                                    ]
1939
                                ]
1940
                            ],
1941
                            'extended' => [
1942
                                'type' => Segment::class,
1943
                                'options' => [
1944
                                    'route' => '/extended/:id',
1945
                                    'constraints' => [
1946
                                        'id' => '[A-Za-z0-9\-]+\=*'
1947
                                    ],
1948
                                    'defaults' => [
1949
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1950
                                        'action' => 'extended'
1951
                                    ]
1952
                                ]
1953
                            ],
1954
                            'image' => [
1955
                                'type' => Segment::class,
1956
                                'options' => [
1957
                                    'route' => '/image/:id/operation/:operation',
1958
                                    'constraints' => [
1959
                                        'id' => '[A-Za-z0-9\-]+\=*',
1960
                                        'operation' => 'upload|delete'
1961
                                    ],
1962
                                    'defaults' => [
1963
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1964
                                        'action' => 'image'
1965
                                    ]
1966
                                ]
1967
                            ],
1968
                            'cover' => [
1969
                                'type' => Segment::class,
1970
                                'options' => [
1971
                                    'route' => '/cover/:id/operation/:operation',
1972
                                    'constraints' => [
1973
                                        'id' => '[A-Za-z0-9\-]+\=*',
1974
                                        'operation' => 'upload|delete'
1975
                                    ],
1976
                                    'defaults' => [
1977
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1978
                                        'action' => 'cover'
1979
                                    ]
1980
                                ]
1981
                            ],
1982
                            'privacy' => [
1983
                                'type' => Segment::class,
1984
                                'options' => [
1985
                                    'route' => '/privacy/:id',
1986
                                    'constraints' => [
1987
                                        'id' => '[A-Za-z0-9\-]+\=*'
1988
                                    ],
1989
                                    'defaults' => [
1990
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
1991
                                        'action' => 'privacy'
1992
                                    ]
1993
                                ]
1994
                            ],
1995
                            'website' => [
1996
                                'type' => Segment::class,
1997
                                'options' => [
1998
                                    'route' => '/website/:id',
1999
                                    'constraints' => [
2000
                                        'id' => '[A-Za-z0-9\-]+\=*'
2001
                                    ],
2002
                                    'defaults' => [
2003
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2004
                                        'action' => 'website'
2005
                                    ]
2006
                                ]
2007
                            ],
2008
                            'industry' => [
2009
                                'type' => Segment::class,
2010
                                'options' => [
2011
                                    'route' => '/industry/:id',
2012
                                    'constraints' => [
2013
                                        'id' => '[A-Za-z0-9\-]+\=*'
2014
                                    ],
2015
                                    'defaults' => [
2016
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2017
                                        'action' => 'industry'
2018
                                    ]
2019
                                ]
2020
                            ],
2021
                            'accessibility' => [
2022
                                'type' => Segment::class,
2023
                                'options' => [
2024
                                    'route' => '/accessibility/:id',
2025
                                    'constraints' => [
2026
                                        'id' => '[A-Za-z0-9\-]+\=*'
2027
                                    ],
2028
                                    'defaults' => [
2029
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2030
                                        'action' => 'accessibility'
2031
                                    ]
2032
                                ]
2033
                            ],
2034
                            'type' => [
2035
                                'type' => Segment::class,
2036
                                'options' => [
2037
                                    'route' => '/type/:id',
2038
                                    'constraints' => [
2039
                                        'id' => '[A-Za-z0-9\-]+\=*'
2040
                                    ],
2041
                                    'defaults' => [
2042
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2043
                                        'action' => 'type'
2044
                                    ]
2045
                                ]
2046
                            ],
2047
                            'status' => [
2048
                                'type' => Segment::class,
2049
                                'options' => [
2050
                                    'route' => '/status/:id',
2051
                                    'constraints' => [
2052
                                        'id' => '[A-Za-z0-9\-]+\=*'
2053
                                    ],
2054
                                    'defaults' => [
2055
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2056
                                        'action' => 'status'
2057
                                    ]
2058
                                ]
2059
                            ],
2060
                            'members' => [
2061
                                'type' => Segment::class,
2062
                                'options' => [
2063
                                    'route' => '/members/:id',
2064
                                    'constraints' => [
2065
                                        'id' => '[A-Za-z0-9\-]+\=*'
2066
                                    ],
2067
                                    'defaults' => [
2068
                                        'controller' => '\LeadersLinked\Controller\MyGroupsController',
2069
                                        'action' => 'members'
2070
                                    ]
2071
                                ],
2072
                                'may_terminate' => true,
2073
                                'child_routes' => [
2074
                                    'invite' => [
2075
                                        'type' => Segment::class,
2076
                                        'options' => [
2077
                                            'route' => '/invite/:user_id',
2078
                                            'constraints' => [
2079
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2080
                                            ],
2081
                                            'defaults' => [
2082
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2083
                                                'action' => 'invite'
2084
                                            ]
2085
                                        ]
2086
                                    ],
2087
                                    'approve' => [
2088
                                        'type' => Segment::class,
2089
                                        'options' => [
2090
                                            'route' => '/approve/:user_id',
2091
                                            'constraints' => [
2092
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2093
                                            ],
2094
                                            'defaults' => [
2095
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2096
                                                'action' => 'approve'
2097
                                            ]
2098
                                        ]
2099
                                    ],
2100
                                    'reject' => [
2101
                                        'type' => Segment::class,
2102
                                        'options' => [
2103
                                            'route' => '/reject/:user_id',
2104
                                            'constraints' => [
2105
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2106
                                            ],
2107
                                            'defaults' => [
2108
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2109
                                                'action' => 'reject'
2110
                                            ]
2111
                                        ]
2112
                                    ],
2113
                                    'cancel' => [
2114
                                        'type' => Segment::class,
2115
                                        'options' => [
2116
                                            'route' => '/cancel/:user_id',
2117
                                            'constraints' => [
2118
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
2119
                                            ],
2120
                                            'defaults' => [
2121
                                                'controller' => '\LeadersLinked\Controller\MyGroupsController',
2122
                                                'action' => 'cancel'
2123
                                            ]
2124
                                        ]
2125
                                    ],
553 geraldo 2126
                                ]
1 www 2127
                            ],
2128
                        ]
2129
                    ]
2130
                ]
2131
            ],
2132
            'profile' => [
2133
                'type' => Literal::class,
2134
                'options' => [
2135
                    'route' => '/profile',
2136
                    'defaults' => [
2137
                        'controller' => '\LeadersLinked\ControllerProfileController',
2138
                        'action' => 'index'
2139
                    ]
2140
                ],
2141
                'may_terminate' => true,
2142
                'child_routes' => [
2143
                    'microlearning' => [
2144
                        'type' => Literal::class,
2145
                        'options' => [
2146
                            'route' => '/microlearning',
2147
                            'defaults' => [
2148
                                'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
2149
                                'action' => 'index'
2150
                            ]
2151
                        ],
2152
                        'may_terminate' => true,
2153
                        'child_routes' => [
2154
                            'timeline' => [
2155
                                'type' => Literal::class,
2156
                                'options' => [
2157
                                    'route' => '/timeline',
2158
                                    'defaults' => [
2159
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
2160
                                        'action' => 'timeline'
2161
                                    ]
2162
                                ]
2163
                            ],
2164
                            'progress' => [
2165
                                'type' => Literal::class,
2166
                                'options' => [
2167
                                    'route' => '/progress',
2168
                                    'defaults' => [
2169
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
2170
                                        'action' => 'progress'
2171
                                    ]
2172
                                ]
2173
                            ],
2174
                        ]
2175
                    ],
2176
                    'people-viewed-profile' => [
2177
                        'type' => Literal::class,
2178
                        'options' => [
2179
                            'route' => '/people-viewed-profile',
2180
                            'defaults' => [
2181
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2182
                                'action' => 'peopleViewedProfile'
2183
                            ]
2184
                        ]
2185
                    ],
580 geraldo 2186
                    'view' => [
2187
                        'type' => Segment::class,
263 geraldo 2188
                        'options' => [
580 geraldo 2189
                            'route' => '/view/:id',
2190
                            'constraints' => [
2191
                                'id' => '[A-Za-z0-9\-]+\=*'
2192
                            ],
263 geraldo 2193
                            'defaults' => [
580 geraldo 2194
                                'controller' => '\LeadersLinked\Controller\ProfileController',
2195
                                'action' => 'view'
263 geraldo 2196
                            ]
2197
                        ]
2198
                    ],
580 geraldo 2199
                    'self-evaluation' => [
553 geraldo 2200
                        'type' => Literal::class,
2201
                        'options' => [
580 geraldo 2202
                            'route' => '/self-evaluation',
553 geraldo 2203
                            'defaults' => [
580 geraldo 2204
                                'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 2205
                                'action' => 'index'
2206
                            ]
2207
                        ],
2208
                        'may_terminate' => true,
2209
                        'child_routes' => [
2210
                            'take-a-test' => [
580 geraldo 2211
                                'type' => Segment::class,
553 geraldo 2212
                                'options' => [
2213
                                    'route' => '/take-a-test/:id',
2214
                                    'constraints' => [
2215
                                        'id' => '[A-Za-z0-9\-]+\=*'
2216
                                    ],
2217
                                    'defaults' => [
578 geraldo 2218
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 2219
                                        'action' => 'takeaTest'
2220
                                    ]
2221
                                ]
2222
                            ],
2223
                            'report' => [
580 geraldo 2224
                                'type' => Segment::class,
553 geraldo 2225
                                'options' => [
2226
                                    'route' => '/report/:id',
2227
                                    'constraints' => [
2228
                                        'id' => '[A-Za-z0-9\-]+\=*'
2229
                                    ],
2230
                                    'defaults' => [
580 geraldo 2231
                                        'controller' => '\LeadersLinked\Controller\SelfEvaluationController',
553 geraldo 2232
                                        'action' => 'report'
2233
                                    ]
2234
                                ]
2235
                            ],
2236
                        ]
2237
                    ],
581 geraldo 2238
                    'performance-evaluation' => [
2239
                        'type' => Literal::class,
2240
                        'options' => [
2241
                            'route' => '/performance-evaluation',
2242
                            'defaults' => [
2243
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2244
                                'action' => 'index'
2245
                            ]
2246
                        ],
2247
                        'may_terminate' => true,
2248
                        'child_routes' => [
2249
                            'take-a-test' => [
2250
                                'type' => Segment::class,
2251
                                'options' => [
2252
                                    'route' => '/take-a-test/:id',
2253
                                    'constraints' => [
2254
                                        'id' => '[A-Za-z0-9\-]+\=*'
2255
                                    ],
2256
                                    'defaults' => [
2257
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2258
                                        'action' => 'takeaTest'
2259
                                    ]
2260
                                ]
2261
                            ],
2262
                            'report' => [
2263
                                'type' => Segment::class,
2264
                                'options' => [
2265
                                    'route' => '/report/:id',
2266
                                    'constraints' => [
2267
                                        'id' => '[A-Za-z0-9\-]+\=*'
2268
                                    ],
2269
                                    'defaults' => [
2270
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationController',
2271
                                        'action' => 'report'
2272
                                    ]
2273
                                ]
2274
                            ],
2275
                        ]
2276
                    ],
1 www 2277
                    'my-profiles' => [
2278
                        'type' => Literal::class,
2279
                        'options' => [
2280
                            'route' => '/my-profiles',
2281
                            'defaults' => [
2282
                                'controller' => '\LeadersLinked\Controller\MyProfilesController',
2283
                                'action' => 'index'
2284
                            ]
2285
                        ],
2286
                        'may_terminate' => true,
2287
                        'child_routes' => [
2288
                            'add' => [
2289
                                'type' => Literal::class,
2290
                                'options' => [
2291
                                    'route' => '/add',
2292
                                    'defaults' => [
2293
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2294
                                        'action' => 'add'
2295
                                    ]
2296
                                ]
2297
                            ],
2298
                            'edit' => [
2299
                                'type' => Segment::class,
2300
                                'options' => [
2301
                                    'route' => '/edit/:id',
2302
                                    'constraints' => [
2303
                                        'id' => '[A-Za-z0-9\-]+\=*'
2304
                                    ],
2305
                                    'defaults' => [
2306
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2307
                                        'action' => 'edit'
2308
                                    ]
2309
                                ]
2310
                            ],
2311
                            'delete' => [
2312
                                'type' => Segment::class,
2313
                                'options' => [
2314
                                    'route' => '/delete/:id',
2315
                                    'constraints' => [
2316
                                        'id' => '[A-Za-z0-9\-]+\=*'
2317
                                    ],
2318
                                    'defaults' => [
2319
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2320
                                        'action' => 'delete'
2321
                                    ]
2322
                                ]
2323
                            ],
2324
                            'extended' => [
2325
                                'type' => Segment::class,
2326
                                'options' => [
2327
                                    'route' => '/extended/:id',
2328
                                    'constraints' => [
2329
                                        'id' => '[A-Za-z0-9\-]+\=*'
2330
                                    ],
2331
                                    'defaults' => [
2332
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2333
                                        'action' => 'extended'
2334
                                    ]
2335
                                ]
2336
                            ],
2337
                            'image' => [
2338
                                'type' => Segment::class,
2339
                                'options' => [
2340
                                    'route' => '/image/:id/operation/:operation',
2341
                                    'constraints' => [
2342
                                        'id' => '[A-Za-z0-9\-]+\=*',
2343
                                        'operation' => 'upload|delete'
2344
                                    ],
2345
                                    'defaults' => [
2346
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2347
                                        'action' => 'image'
2348
                                    ]
2349
                                ]
2350
                            ],
2351
                            'cover' => [
2352
                                'type' => Segment::class,
2353
                                'options' => [
2354
                                    'route' => '/cover/:id/operation/:operation',
2355
                                    'constraints' => [
2356
                                        'id' => '[A-Za-z0-9\-]+\=*',
2357
                                        'operation' => 'upload|delete'
2358
                                    ],
2359
                                    'defaults' => [
2360
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2361
                                        'action' => 'cover'
2362
                                    ]
2363
                                ]
2364
                            ],
2365
                            'experience' => [
2366
                                'type' => Segment::class,
2367
                                'options' => [
2368
                                    'route' => '/experience/:id/operation/:operation[/:user_experience_id]',
2369
                                    'constraints' => [
2370
                                        'id' => '[A-Za-z0-9\-]+\=*',
2371
                                        'operation' => 'add|edit|delete',
2372
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
2373
                                    ],
2374
                                    'defaults' => [
2375
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2376
                                        'action' => 'experience'
2377
                                    ]
2378
                                ]
2379
                            ],
2380
                            'education' => [
2381
                                'type' => Segment::class,
2382
                                'options' => [
2383
                                    'route' => '/education/:id/operation/:operation[/:user_education_id]',
2384
                                    'constraints' => [
2385
                                        'id' => '[A-Za-z0-9\-]+\=*',
2386
                                        'operation' => 'add|edit|delete',
2387
                                        'user_education_id' => '[A-Za-z0-9\-]+\=*'
2388
                                    ],
2389
                                    'defaults' => [
2390
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2391
                                        'action' => 'education'
2392
                                    ]
2393
                                ]
2394
                            ],
2395
                            'language' => [
2396
                                'type' => Segment::class,
2397
                                'options' => [
2398
                                    'route' => '/language/:id',
2399
                                    'constraints' => [
2400
                                        'id' => '[A-Za-z0-9\-]+\=*'
2401
                                    ],
2402
                                    'defaults' => [
2403
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2404
                                        'action' => 'language'
2405
                                    ]
2406
                                ]
2407
                            ],
2408
                            'location' => [
2409
                                'type' => Segment::class,
2410
                                'options' => [
2411
                                    'route' => '/location/:id',
2412
                                    'constraints' => [
2413
                                        'id' => '[A-Za-z0-9\-]+\=*'
2414
                                    ],
2415
                                    'defaults' => [
2416
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2417
                                        'action' => 'location'
2418
                                    ]
2419
                                ]
2420
                            ],
2421
                            'skill' => [
2422
                                'type' => Segment::class,
2423
                                'options' => [
2424
                                    'route' => '/skill/:id',
2425
                                    'constraints' => [
2426
                                        'id' => '[A-Za-z0-9\-]+\=*'
2427
                                    ],
2428
                                    'defaults' => [
2429
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2430
                                        'action' => 'skill'
2431
                                    ]
2432
                                ]
2433
                            ],
2434
                            'social-network' => [
2435
                                'type' => Segment::class,
2436
                                'options' => [
2437
                                    'route' => '/social-network/:id',
2438
                                    'constraints' => [
2439
                                        'id' => '[A-Za-z0-9\-]+\=*'
2440
                                    ],
2441
                                    'defaults' => [
2442
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2443
                                        'action' => 'socialNetwork'
2444
                                    ]
2445
                                ]
3912 efrain 2446
                            ],
2447
                            'aptitude' => [
2448
                                'type' => Segment::class,
2449
                                'options' => [
2450
                                    'route' => '/aptitude/:id',
2451
                                    'constraints' => [
2452
                                        'id' => '[A-Za-z0-9\-]+\=*'
2453
                                    ],
2454
                                    'defaults' => [
2455
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2456
                                        'action' => 'aptitude'
2457
                                    ]
2458
                                ]
2459
                            ],
2460
                            'hobby-and-interest' => [
2461
                                'type' => Segment::class,
2462
                                'options' => [
2463
                                    'route' => '/hobby-and-interest/:id',
2464
                                    'constraints' => [
2465
                                        'id' => '[A-Za-z0-9\-]+\=*'
2466
                                    ],
2467
                                    'defaults' => [
2468
                                        'controller' => '\LeadersLinked\Controller\MyProfilesController',
2469
                                        'action' => 'hobbyAndInterest'
2470
                                    ]
2471
                                ]
1 www 2472
                            ]
2473
                        ]
2474
                    ]
2475
                ]
2476
            ],
2477
            'company' => [
2478
                'type' => Literal::class,
2479
                'options' => [
2480
                    'route' => '/company',
2481
                    'defaults' => [
2482
                        'controller' => '\LeadersLinked\Controller\CompanyController',
2483
                        'action' => 'index'
2484
                    ]
2485
                ],
2486
                'may_terminate' => true,
2487
                'child_routes' => [
2488
                    'view' => [
2489
                        'type' => Segment::class,
2490
                        'options' => [
2491
                            'route' => '/view/:id',
2492
                            'constraints' => [
2493
                                'id' => '[A-Za-z0-9\-]+\=*'
2494
                            ],
2495
                            'defaults' => [
2496
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2497
                                'action' => 'view'
2498
                            ]
2499
                        ]
2500
                    ],
2501
                    'follow' => [
2502
                        'type' => Segment::class,
2503
                        'options' => [
2504
                            'route' => '/follow/:id',
2505
                            'constraints' => [
2506
                                'id' => '[A-Za-z0-9\-]+\=*'
2507
                            ],
2508
                            'defaults' => [
2509
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2510
                                'action' => 'follow'
2511
                            ]
2512
                        ]
2513
                    ],
2514
                    'unfollow' => [
2515
                        'type' => Segment::class,
2516
                        'options' => [
2517
                            'route' => '/unfollow/:id',
2518
                            'constraints' => [
2519
                                'id' => '[A-Za-z0-9\-]+\=*'
2520
                            ],
2521
                            'defaults' => [
2522
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2523
                                'action' => 'unfollow'
2524
                            ]
2525
                        ]
2526
                    ],
2527
                    'request' => [
2528
                        'type' => Segment::class,
2529
                        'options' => [
2530
                            'route' => '/request/:id',
2531
                            'constraints' => [
2532
                                'id' => '[A-Za-z0-9\-]+\=*'
2533
                            ],
2534
                            'defaults' => [
2535
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2536
                                'action' => 'request'
2537
                            ]
2538
                        ]
2539
                    ],
2540
                    'accept' => [
2541
                        'type' => Segment::class,
2542
                        'options' => [
2543
                            'route' => '/accept/:id',
2544
                            'constraints' => [
2545
                                'id' => '[A-Za-z0-9\-]+\=*'
2546
                            ],
2547
                            'defaults' => [
2548
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2549
                                'action' => 'accept'
2550
                            ]
2551
                        ]
2552
                    ],
2553
                    'cancel' => [
2554
                        'type' => Segment::class,
2555
                        'options' => [
2556
                            'route' => '/cancel/:id',
2557
                            'constraints' => [
2558
                                'id' => '[A-Za-z0-9\-]+\=*'
2559
                            ],
2560
                            'defaults' => [
2561
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2562
                                'action' => 'cancel'
2563
                            ]
2564
                        ]
2565
                    ],
2566
                    'reject' => [
2567
                        'type' => Segment::class,
2568
                        'options' => [
2569
                            'route' => '/reject/:id',
2570
                            'constraints' => [
2571
                                'id' => '[A-Za-z0-9\-]+\=*'
2572
                            ],
2573
                            'defaults' => [
2574
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2575
                                'action' => 'reject'
2576
                            ]
2577
                        ]
2578
                    ],
2579
                    'leave' => [
2580
                        'type' => Segment::class,
2581
                        'options' => [
2582
                            'route' => '/leave/:id',
2583
                            'constraints' => [
2584
                                'id' => '[A-Za-z0-9\-]+\=*'
2585
                            ],
2586
                            'defaults' => [
2587
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2588
                                'action' => 'leave'
2589
                            ]
2590
                        ]
2591
                    ],
2592
                    'following-companies' => [
2593
                        'type' => Literal::class,
2594
                        'options' => [
2595
                            'route' => '/following-companies',
2596
                            'defaults' => [
2597
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2598
                                'action' => 'followingCompanies'
2599
                            ]
2600
                        ],
2601
                    ],
2602
                    'requests-sent' => [
2603
                        'type' => Literal::class,
2604
                        'options' => [
2605
                            'route' => '/requests-sent',
2606
                            'defaults' => [
2607
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2608
                                'action' => 'requestsSent'
2609
                            ]
2610
                        ],
2611
                        'may_terminate' => true,
2612
                    ],
2613
                    'invitations-received' => [
2614
                        'type' => Literal::class,
2615
                        'options' => [
2616
                            'route' => '/invitations-received',
2617
                            'defaults' => [
2618
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2619
                                'action' => 'invitationsReceived'
2620
                            ]
2621
                        ],
2622
                        'may_terminate' => true,
2623
                    ],
2624
                    'i-work-with' => [
2625
                        'type' => Literal::class,
2626
                        'options' => [
2627
                            'route' => '/i-work-with',
2628
                            'defaults' => [
2629
                                'controller' => '\LeadersLinked\Controller\CompanyController',
2630
                                'action' => 'iWorkWith'
2631
                            ]
2632
                        ],
2633
                        'may_terminate' => true,
2634
                    ],
2635
                    'my-companies' => [
2636
                        'type' => Literal::class,
2637
                        'options' => [
2638
                            'route' => '/my-companies',
2639
                            'defaults' => [
2640
                                'controller' => '\LeadersLinked\Controller\MyCompaniesController',
2641
                                'action' => 'index'
2642
                            ]
2643
                        ],
2644
                        'may_terminate' => true,
2645
                        'child_routes' => [
2646
                            'add' => [
2647
                                'type' => Literal::class,
2648
                                'options' => [
2649
                                    'route' => '/add',
2650
                                    'defaults' => [
2651
                                        'controller' => '\LeadersLinked\Controller\MyCompaniesController',
2652
                                        'action' => 'add'
2653
                                    ]
2654
                                ]
2655
                            ],
2656
                        ]
2657
                    ],
2658
                ]
2659
            ],
2660
            'account-settings' => [
2661
                'type' => Literal::class,
2662
                'options' => [
2663
                    'route' => '/account-settings',
2664
                    'defaults' => [
2665
                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
2666
                        'action' => 'index'
2667
                    ]
2668
                ],
2669
                'may_terminate' => true,
2670
                'child_routes' => [
2671
                    'image' => [
2672
                        'type' => Segment::class,
2673
                        'options' => [
2674
                            'route' => '/image/:operation',
2675
                            'cconstraints' => [
2676
                                'operation' => 'upload|delete'
2677
                            ],
2678
                            'defaults' => [
2679
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2680
                                'action' => 'image',
2681
                                'operation' => 'upload'
2682
                            ]
2683
                        ]
2684
                    ],
2685
                    'deactivate' => [
2686
                        'type' => Literal::class,
2687
                        'options' => [
2688
                            'route' => '/deactivate',
2689
                            'defaults' => [
2690
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2691
                                'action' => 'deactivate'
2692
                            ]
2693
                        ]
2694
                    ],
2695
                    'notifications' => [
2696
                        'type' => Literal::class,
2697
                        'options' => [
2698
                            'route' => '/notification',
2699
                            'defaults' => [
2700
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2701
                                'action' => 'notification'
2702
                            ]
2703
                        ]
2704
                    ],
2705
                    'password' => [
2706
                        'type' => Literal::class,
2707
                        'options' => [
2708
                            'route' => '/password',
2709
                            'defaults' => [
2710
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2711
                                'action' => 'password'
2712
                            ]
2713
                        ]
2714
                    ],
2715
                    'add-facebook' => [
2716
                        'type' => Literal::class,
2717
                        'options' => [
2718
                            'route' => '/add-facebook',
2719
                            'defaults' => [
2720
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2721
                                'action' => 'addFacebook'
2722
                            ]
2723
                        ]
2724
                    ],
2725
                    'remove-facebook' => [
2726
                        'type' => Literal::class,
2727
                        'options' => [
2728
                            'route' => '/remove-facebook',
2729
                            'defaults' => [
2730
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2731
                                'action' => 'removeFacebook'
2732
                            ]
2733
                        ]
2734
                    ],
2735
                    'add-twitter' => [
2736
                        'type' => Literal::class,
2737
                        'options' => [
2738
                            'route' => '/add-twitter',
2739
                            'defaults' => [
2740
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2741
                                'action' => 'addTwitter'
2742
                            ]
2743
                        ]
2744
                    ],
2745
                    'remove-twitter' => [
2746
                        'type' => Literal::class,
2747
                        'options' => [
2748
                            'route' => '/remove-twitter',
2749
                            'defaults' => [
2750
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2751
                                'action' => 'removeTwitter'
2752
                            ]
2753
                        ]
2754
                    ],
2755
                    'add-google' => [
2756
                        'type' => Literal::class,
2757
                        'options' => [
2758
                            'route' => '/add-google',
2759
                            'defaults' => [
2760
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2761
                                'action' => 'addGoogle'
2762
                            ]
2763
                        ]
2764
                    ],
2765
                    'remove-google' => [
2766
                        'type' => Literal::class,
2767
                        'options' => [
2768
                            'route' => '/remove-google',
2769
                            'defaults' => [
2770
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2771
                                'action' => 'removeGoogle'
2772
                            ]
2773
                        ]
2774
                    ],
2775
                    'location' => [
2776
                        'type' => Literal::class,
2777
                        'options' => [
2778
                            'route' => '/location',
2779
                            'defaults' => [
2780
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2781
                                'action' => 'location'
2782
                            ]
2783
                        ]
2784
                    ],
2785
                    'privacy' => [
2786
                        'type' => Literal::class,
2787
                        'options' => [
2788
                            'route' => '/privacy',
2789
                            'defaults' => [
2790
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2791
                                'action' => 'privacy'
2792
                            ]
2793
                        ]
2794
                    ],
2795
                    'basic' => [
2796
                        'type' => Literal::class,
2797
                        'options' => [
2798
                            'route' => '/basic',
2799
                            'defaults' => [
2800
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2801
                                'action' => 'basic'
2802
                            ]
2803
                        ]
2804
                    ],
2805
                    'transactions' => [
2806
                        'type' => Literal::class,
2807
                        'options' => [
2808
                            'route' => '/transactions',
2809
                            'defaults' => [
2810
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2811
                                'action' => 'transactions'
2812
                            ]
2813
                        ],
2814
                        'may_terminate' => true,
2815
                        'child_routes' => [
2816
                            'add-funds' => [
2817
                                'type' => Literal::class,
2818
                                'options' => [
2819
                                    'route' => '/add-funds',
2820
                                    'defaults' => [
2821
                                        'controller' => '\LeadersLinked\Controller\AccountSettingController',
2822
                                        'action' => 'addFund'
2823
                                    ]
2824
                                ]
2825
                            ],
2826
                        ]
2827
                    ],
2828
                    'browsers' => [
2829
                        'type' => Literal::class,
2830
                        'options' => [
2831
                            'route' => '/browsers',
2832
                            'defaults' => [
2833
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2834
                                'action' => 'browsers'
2835
                            ]
2836
                        ]
2837
                    ],
2838
                    'ips' => [
2839
                        'type' => Literal::class,
2840
                        'options' => [
2841
                            'route' => '/ips',
2842
                            'defaults' => [
2843
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2844
                                'action' => 'ips'
2845
                            ]
2846
                        ]
2847
                    ],
2848
                    'devices' => [
2849
                        'type' => Literal::class,
2850
                        'options' => [
2851
                            'route' => '/devices',
2852
                            'defaults' => [
2853
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2854
                                'action' => 'devices'
2855
                            ]
2856
                        ]
1979 efrain 2857
                    ],
2858
                    'delete-account' => [
2859
                        'type' => Literal::class,
2860
                        'options' => [
2861
                            'route' => '/delete-account',
2862
                            'defaults' => [
2863
                                'controller' => '\LeadersLinked\Controller\AccountSettingController',
2864
                                'action' => 'deleteAccount'
2865
                            ]
2866
                        ]
2867
                    ],
1 www 2868
                ],
2869
                'may_terminate' => true
2870
            ],
2871
            'moodle' => [
2872
                'type' => Literal::class,
2873
                'options' => [
2874
                    'route' => '/moodle',
2875
                    'defaults' => [
2876
                        'controller' => '\LeadersLinked\Controller\MoodleController',
2877
                        'action' => 'index'
2878
                    ]
2879
                ],
2880
                'may_terminate' => true
2881
            ],
2882
            'oauth' => [
2883
                'type' => Literal::class,
2884
                'options' => [
2885
                    'route' => '/oauth',
2886
                    'defaults' => [
2887
                        'controller' => '\LeadersLinked\Controller\OauthController',
2888
                        'action' => 'index'
2889
                    ]
2890
                ],
2891
                'may_terminate' => true,
2892
                'child_routes' => [
2893
                    'facebook' => [
2894
                        'type' => Literal::class,
2895
                        'options' => [
2896
                            'route' => '/facebook',
2897
                            'defaults' => [
2898
                                'controller' => '\LeadersLinked\Controller\OauthController',
2899
                                'action' => 'facebook'
2900
                            ]
2901
                        ],
2902
                        'may_terminate' => true,
2903
                        'child_routes' => [
2904
                            'delete' => [
2905
                                'type' => Literal::class,
2906
                                'options' => [
2907
                                    'route' => '/delete',
2908
                                    'defaults' => [
2909
                                        'controller' => '\LeadersLinked\Controller\OauthController',
2910
                                        'action' => 'facebookDelete'
2911
                                    ]
2912
                                ],
2913
                                'may_terminate' => true,
2914
                            ],
2915
                            'cancel' => [
2916
                                'type' => Literal::class,
2917
                                'options' => [
2918
                                    'route' => '/cancel',
2919
                                    'defaults' => [
2920
                                        'controller' => '\LeadersLinked\Controller\OauthController',
2921
                                        'action' => 'facebookCancel'
2922
                                    ]
2923
                                ],
2924
                                'may_terminate' => true,
2925
                            ],
553 geraldo 2926
                        ],
1 www 2927
                    ],
2928
                    'twitter' => [
2929
                        'type' => Literal::class,
2930
                        'options' => [
2931
                            'route' => '/twitter',
2932
                            'defaults' => [
2933
                                'controller' => '\LeadersLinked\Controller\OauthController',
2934
                                'action' => 'twitter'
2935
                            ]
2936
                        ],
2937
                        'may_terminate' => true,
2938
                    ],
2939
                    'google' => [
2940
                        'type' => Literal::class,
2941
                        'options' => [
2942
                            'route' => '/google',
2943
                            'defaults' => [
2944
                                'controller' => '\LeadersLinked\Controller\OauthController',
2945
                                'action' => 'google'
2946
                            ]
2947
                        ],
2948
                        'may_terminate' => true,
2949
                    ],
5612 anderson 2950
                    /* 'facebook' => [
553 geraldo 2951
                  'type' => Literal::class,
2952
                  'options' => [
2953
                  'route' => '/facebook',
2954
                  'defaults' => [
2955
                  'controller' => '\LeadersLinked\Controller\OauthController',
2956
                  'action' => 'facebook'
2957
                  ]
2958
                  ],
2959
                  'may_terminate' => true,
2960
                  'child_routes' => [
2961
                  'cancel' => [
2962
                  'type' => Literal::class,
2963
                  'options' => [
2964
                  'route' => '/cancel',
2965
                  'defaults' => [
2966
                  'controller' => '\LeadersLinked\Controller\OauthController',
2967
                  'action' => 'facebookCancel'
2968
                  ]
2969
                  ]
2970
                  ],
2971
                  'delete' => [
2972
                  'type' => Literal::class,
2973
                  'options' => [
2974
                  'route' => '/delete',
2975
                  'defaults' => [
2976
                  'controller' => '\LeadersLinked\Controller\OauthController',
2977
                  'action' => 'facebookDelete'
2978
                  ]
2979
                  ]
2980
                  ]
2981
                  ]
2982
                  ] */
1 www 2983
                ]
2984
            ],
5205 efrain 2985
            'daily-pulse' => [
2986
                'type' => Literal::class,
2987
                'options' => [
2988
                    'route' => '/daily-pulse',
2989
                    'defaults' => [
2990
                        'controller' => '\LeadersLinked\Controller\DailyPulseController',
2991
                        'action' => 'index'
2992
                    ]
2993
                ],
2994
                'may_terminate' => true,
2995
                'child_routes' => [
2996
                    'how_are_you_feel' => [
2997
                        'type' => Segment::class,
2998
                        'options' => [
2999
                            'route' => '/how_are_you_feel/:id',
3000
                            'constraints' => [
3001
                                'id' => '[A-Za-z0-9\-]+\=*'
3002
                            ],
3003
                            'defaults' => [
3004
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3005
                                'action' => 'howAreYouFeel'
3006
                            ]
3007
                        ]
3008
                    ],
3009
                    'climate_on_your_organization' => [
3010
                        'type' => Segment::class,
3011
                        'options' => [
3012
                            'route' => '/climate_on_your_organization/:id',
3013
                            'constraints' => [
3014
                                'id' => '[A-Za-z0-9\-]+\=*'
3015
                            ],
3016
                            'defaults' => [
3017
                                'controller' => '\LeadersLinked\Controller\DailyPulseController',
3018
                                'action' => 'climateOnYourOrganization'
3019
                            ]
3020
                        ]
3021
                    ],
5612 anderson 3022
                ],
5205 efrain 3023
            ],
5612 anderson 3024
 
3025
 
1 www 3026
            'helpers' => [
3027
                'type' => Literal::class,
3028
                'options' => [
3029
                    'route' => '/helpers',
3030
                    'defaults' => [
3031
                        'controller' => '\LeadersLinked\Controller\HelperController',
3032
                        'action' => 'index'
3033
                    ]
3034
                ],
3035
                'may_terminate' => true,
3036
                'child_routes' => [
6605 efrain 3037
                    'menu' => [
3038
                        'type' => Literal::class,
3039
                        'options' => [
3040
                            'route' => '/menu',
3041
                            'defaults' => [
3042
                                'controller' => '\LeadersLinked\Controller\HelperController',
3043
                                'action' => 'menu'
3044
                            ]
3045
                        ]
3046
                    ],
3047
 
1 www 3048
                    'search-people' => [
3049
                        'type' => Literal::class,
3050
                        'options' => [
3051
                            'route' => '/search-people',
3052
                            'defaults' => [
3053
                                'controller' => '\LeadersLinked\Controller\HelperController',
3054
                                'action' => 'searchPeople'
3055
                            ]
3056
                        ]
3057
                    ],
3058
                    'company-suggestion' => [
3059
                        'type' => Segment::class,
3060
                        'options' => [
3061
                            'route' => '/company-suggestion/:company_id',
3062
                            'constraints' => [
3063
                                'company_id' => '[A-Za-z0-9\-]+\=*'
3064
                            ],
3065
                            'defaults' => [
3066
                                'controller' => '\LeadersLinked\Controller\HelperController',
3067
                                'action' => 'companySuggestion'
3068
                            ]
3069
                        ]
3070
                    ],
3071
                    'posts' => [
3072
                        'type' => Literal::class,
3073
                        'options' => [
3074
                            'route' => '/posts',
3075
                            'defaults' => [
3076
                                'controller' => '\LeadersLinked\Controller\HelperController',
3077
                                'action' => 'posts'
3078
                            ]
3079
                        ]
3080
                    ],
3081
                    'people-you-may-know' => [
3082
                        'type' => Literal::class,
3083
                        'options' => [
3084
                            'route' => '/people-you-may-know',
3085
                            'defaults' => [
3086
                                'controller' => '\LeadersLinked\Controller\HelperController',
3087
                                'action' => 'peopleYouMayKnow'
3088
                            ]
3089
                        ]
3090
                    ],
3091
                    'people-viewed-profile' => [
3092
                        'type' => Segment::class,
3093
                        'options' => [
3094
                            'route' => '/people-viewed-profile/:user_profile_id',
3095
                            'constraints' => [
3096
                                'user_profile_id' => '[A-Za-z0-9\-]+\=*'
3097
                            ],
3098
                            'defaults' => [
3099
                                'controller' => '\LeadersLinked\Controller\HelperController',
3100
                                'action' => 'peopleViewedProfile'
3101
                            ]
3102
                        ]
3103
                    ],
3104
                    'company-follower' => [
3105
                        'type' => Segment::class,
3106
                        'options' => [
3107
                            'route' => '/company-follower/:company_id',
3108
                            'constraints' => [
3109
                                'company_id' => '[A-Za-z0-9\-]+\=*'
3110
                            ],
3111
                            'defaults' => [
3112
                                'controller' => '\LeadersLinked\Controller\HelperController',
3113
                                'action' => 'companyFollower'
3114
                            ]
3115
                        ]
3116
                    ],
3117
                    'group-members' => [
3118
                        'type' => Segment::class,
3119
                        'options' => [
3120
                            'route' => '/group-members/:group_id',
3121
                            'constraints' => [
3122
                                'group_id' => '[A-Za-z0-9\-]+\=*'
3123
                            ],
3124
                            'defaults' => [
3125
                                'controller' => '\LeadersLinked\Controller\HelperController',
3126
                                'action' => 'groupMembers'
3127
                            ]
3128
                        ],
3129
                        'may_terminate' => true,
3130
                        'child_routes' => [
3131
                            'invite' => [
3132
                                'type' => Literal::class,
3133
                                'options' => [
3134
                                    'route' => '/invite',
3135
                                    'defaults' => [
3136
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3137
                                        'action' => 'groupMemberInvite'
3138
                                    ]
3139
                                ]
3140
                            ],
3141
                            'reject' => [
3142
                                'type' => Segment::class,
3143
                                'options' => [
3144
                                    'route' => '/reject/:user_id',
3145
                                    'constraints' => [
3146
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
3147
                                    ],
3148
                                    'defaults' => [
3149
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3150
                                        'action' => 'groupMemberReject'
3151
                                    ]
3152
                                ]
3153
                            ],
3154
                            'cancel' => [
3155
                                'type' => Segment::class,
3156
                                'options' => [
3157
                                    'route' => '/cancel/:user_id',
3158
                                    'constraints' => [
3159
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
3160
                                    ],
3161
                                    'defaults' => [
3162
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3163
                                        'action' => 'groupMemberCancel'
3164
                                    ]
3165
                                ]
3166
                            ],
3167
                            'approve' => [
3168
                                'type' => Segment::class,
3169
                                'options' => [
3170
                                    'route' => '/approve/:user_id',
3171
                                    'constraints' => [
3172
                                        'user_id' => '[A-Za-z0-9\-]+\=*'
3173
                                    ],
3174
                                    'defaults' => [
3175
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3176
                                        'action' => 'groupMemberApprove'
3177
                                    ]
3178
                                ]
3179
                            ],
553 geraldo 3180
                        ]
1 www 3181
                    ],
3182
                    'groups-suggestion' => [
2920 efrain 3183
                        'type' => Literal::class,
1 www 3184
                        'options' => [
2920 efrain 3185
                            'route' => '/groups-suggestion',
1 www 3186
                            'defaults' => [
3187
                                'controller' => '\LeadersLinked\Controller\HelperController',
3188
                                'action' => 'groupsSuggestion'
3189
                            ]
3190
                        ]
3191
                    ],
3298 efrain 3192
                    'my-groups' => [
3193
                        'type' => Literal::class,
3194
                        'options' => [
3195
                            'route' => '/my-groups',
3196
                            'defaults' => [
3197
                                'controller' => '\LeadersLinked\Controller\HelperController',
3198
                                'action' => 'myGroups'
3199
                            ]
3200
                        ]
3201
                    ],
2444 efrain 3202
                    'footer' => [
3203
                        'type' => Literal::class,
3204
                        'options' => [
3205
                            'route' => '/footer',
3206
                            'defaults' => [
3207
                                'controller' => '\LeadersLinked\Controller\HelperController',
3208
                                'action' => 'footer'
3209
                            ]
3210
                        ]
3211
                    ],
4179 efrain 3212
                    'next-events' => [
3213
                        'type' => Literal::class,
3214
                        'options' => [
3215
                            'route' => '/next-events',
3216
                            'defaults' => [
3217
                                'controller' => '\LeadersLinked\Controller\HelperController',
3218
                                'action' => 'nextEvents'
3219
                            ]
3220
                        ]
3221
                    ],
6749 efrain 3222
                    'company-sizes' => [
3223
                        'type' => Literal::class,
3224
                        'options' => [
3225
                            'route' => '/company-sizes',
3226
                            'defaults' => [
3227
                                'controller' => '\LeadersLinked\Controller\HelperController',
3228
                                'action' => 'companySizes'
3229
                            ]
3230
                        ]
3231
                    ],
3232
                    'degrees' => [
3233
                        'type' => Literal::class,
3234
                        'options' => [
3235
                            'route' => '/degrees',
3236
                            'defaults' => [
3237
                                'controller' => '\LeadersLinked\Controller\HelperController',
3238
                                'action' => 'degrees'
3239
                            ]
3240
                        ]
3241
                    ],
3242
                    'languages' => [
3243
                        'type' => Literal::class,
3244
                        'options' => [
3245
                            'route' => '/languages',
3246
                            'defaults' => [
3247
                                'controller' => '\LeadersLinked\Controller\HelperController',
3248
                                'action' => 'languages'
3249
                            ]
3250
                        ]
3251
                    ],
3252
 
3253
                    'skills' => [
3254
                        'type' => Literal::class,
3255
                        'options' => [
3256
                            'route' => '/skills',
3257
                            'defaults' => [
3258
                                'controller' => '\LeadersLinked\Controller\HelperController',
3259
                                'action' => 'skills'
3260
                            ]
3261
                        ]
3262
                    ],
3263
 
3264
                    'aptitudes' => [
3265
                        'type' => Literal::class,
3266
                        'options' => [
3267
                            'route' => '/aptitudes',
3268
                            'defaults' => [
3269
                                'controller' => '\LeadersLinked\Controller\HelperController',
3270
                                'action' => 'aptitudes'
3271
                            ]
3272
                        ]
3273
                    ],
3274
 
3275
                    'hobbies' => [
3276
                        'type' => Literal::class,
3277
                        'options' => [
3278
                            'route' => '/hobbies',
3279
                            'defaults' => [
3280
                                'controller' => '\LeadersLinked\Controller\HelperController',
3281
                                'action' => 'hobbies'
3282
                            ]
3283
                        ]
3284
                    ],
1 www 3285
                ]
3286
            ],
3287
            'help' => [
3288
                'type' => Literal::class,
3289
                'options' => [
3290
                    'route' => '/help',
3291
                    'defaults' => [
3292
                        'controller' => '\LeadersLinked\Controller\HelpController',
3293
                        'action' => 'send'
3294
                    ]
3295
                ],
3296
                'may_terminate' => true,
553 geraldo 3297
            ],
1 www 3298
            'services' => [
3299
                'type' => Literal::class,
3300
                'options' => [
3301
                    'route' => '/services',
3302
                    'defaults' => [
3303
                        'controller' => '\LeadersLinked\Controller\ServiceController',
3304
                        'action' => 'index'
3305
                    ]
3306
                ],
3307
                'may_terminate' => true,
3308
                'child_routes' => [
3309
                    'storage' => [
3310
                        'type' => Segment::class,
3311
                        'options' => [
3312
                            'route' => '/storage/type/:type[/code/:code][/filename/:filename]',
3313
                            'constraints' => [
3314
                                'type' => 'user|user-profile|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|microlearning-topic|microlearning-capsule|microlearning-slide',
3315
                                'code' => '[A-Za-z0-9\-]+\=*',
3316
                                'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
3317
                            ],
3318
                            // MjM5ODk0Mzgg
3319
                            'defaults' => [
3320
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3321
                                'action' => 'storage'
3322
                            ]
3323
                        ]
3324
                    ],
3325
                    'device' => [
3326
                        'type' => Literal::class,
3327
                        'options' => [
3328
                            'route' => '/device',
3329
                            'defaults' => [
3330
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3331
                                'action' => 'device'
3332
                            ]
3333
                        ]
3334
                    ],
3335
                    'fcm' => [
3336
                        'type' => Literal::class,
3337
                        'options' => [
3338
                            'route' => '/fcm',
3339
                            'defaults' => [
3340
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3341
                                'action' => 'fcm'
3342
                            ]
3343
                        ]
3344
                    ],
3345
                    'signin' => [
3346
                        'type' => Literal::class,
3347
                        'options' => [
3348
                            'route' => '/signin',
3349
                            'defaults' => [
3350
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3351
                                'action' => 'signin'
3352
                            ]
3353
                        ]
3354
                    ],
3355
                    'check-session' => [
3356
                        'type' => Literal::class,
3357
                        'options' => [
3358
                            'route' => '/check-session',
3359
                            'defaults' => [
3360
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3361
                                'action' => 'checkSession'
3362
                            ]
3363
                        ]
3364
                    ],
3365
                    'signout' => [
3366
                        'type' => Literal::class,
3367
                        'options' => [
3368
                            'route' => '/signout',
3369
                            'defaults' => [
3370
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3371
                                'action' => 'signout'
3372
                            ]
3373
                        ]
3374
                    ],
3375
                    'sync' => [
3376
                        'type' => Literal::class,
3377
                        'options' => [
3378
                            'route' => '/sync',
3379
                            'defaults' => [
3380
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3381
                                'action' => 'sync'
3382
                            ]
3383
                        ]
3384
                    ],
3385
                    'sync-batch' => [
3386
                        'type' => Literal::class,
3387
                        'options' => [
3388
                            'route' => '/sync-batch',
3389
                            'defaults' => [
3390
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3391
                                'action' => 'syncBatch'
3392
                            ]
3393
                        ]
3394
                    ],
2004 efrain 3395
                    'delete-account' => [
3396
                        'type' => Literal::class,
3397
                        'options' => [
3398
                            'route' => '/delete-account',
3399
                            'defaults' => [
3400
                                'controller' => '\LeadersLinked\Controller\ServiceController',
3401
                                'action' => 'deleteAccount'
3402
                            ]
3403
                        ]
3404
                    ],
1 www 3405
                    'microlearning' => [
3406
                        'type' => Literal::class,
3407
                        'options' => [
3408
                            'route' => '/microlearning',
3409
                            'defaults' => [
3410
                                'controller' => '\LeadersLinked\Controller\ServiceMicrolearningController',
3411
                                'action' => 'index'
3412
                            ]
3413
                        ],
3414
                        'may_terminate' => true,
3415
                        'child_routes' => [
3416
                            'refresh' => [
3417
                                'type' => Literal::class,
3418
                                'options' => [
3419
                                    'route' => '/refresh',
3420
                                    'defaults' => [
3421
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
3422
                                        'action' => 'microlearningRefresh'
3423
                                    ]
3424
                                ]
3425
                            ],
1979 efrain 3426
                            'delete-account' => [
3427
                                'type' => Literal::class,
3428
                                'options' => [
3429
                                    'route' => '/delete-account',
3430
                                    'defaults' => [
3431
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
3432
                                        'action' => 'deleteAccount'
3433
                                    ]
3434
                                ]
3435
                            ],
1 www 3436
                            'check-changes' => [
3437
                                'type' => Literal::class,
3438
                                'options' => [
3439
                                    'route' => '/check-changes',
3440
                                    'defaults' => [
3441
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
3442
                                        'action' => 'microlearningCheckChanges'
3443
                                    ]
3444
                                ]
3445
                            ],
280 efrain 3446
                            'capsules' => [
3447
                                'type' => Literal::class,
3448
                                'options' => [
3449
                                    'route' => '/capsules',
3450
                                    'defaults' => [
3451
                                        'controller' => '\LeadersLinked\Controller\ServiceController',
3452
                                        'action' => 'microlearningCapsules'
3453
                                    ]
3454
                                ],
3455
                                'may_terminate' => true,
3456
                                'child_routes' => [
3457
                                    'comments' => [
553 geraldo 3458
                                        'type' => Segment::class,
280 efrain 3459
                                        'options' => [
3460
                                            'route' => '/comments/:capsule_id',
3461
                                            'constraints' => [
3462
                                                'capsule_id' => '[A-Za-z0-9\-]+\=*'
3463
                                            ],
3464
                                            'defaults' => [
3465
                                                'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
3466
                                                'action' => 'index'
3467
                                            ]
3468
                                        ],
3469
                                        'may_terminate' => true,
3470
                                        'child_routes' => [
3471
                                            'add' => [
3472
                                                'type' => Literal::class,
3473
                                                'options' => [
3474
                                                    'route' => '/add',
3475
                                                    'defaults' => [
3476
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
3477
                                                        'action' => 'add'
3478
                                                    ]
3479
                                                ]
3480
                                            ],
3481
                                            'get' => [
3482
                                                'type' => Segment::class,
3483
                                                'options' => [
1323 efrain 3484
                                                    'route' => '/get/:comment_id',
280 efrain 3485
                                                    'constraints' => [
1323 efrain 3486
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
280 efrain 3487
                                                    ],
3488
                                                    'defaults' => [
3489
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
3490
                                                        'action' => 'get'
3491
                                                    ]
3492
                                                ]
3493
                                            ],
1323 efrain 3494
                                            'edit' => [
3495
                                                'type' => Segment::class,
3496
                                                'options' => [
3497
                                                    'route' => '/edit/:comment_id',
3498
                                                    'constraints' => [
3499
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
3500
                                                    ],
3501
                                                    'defaults' => [
3502
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
3503
                                                        'action' => 'edit'
3504
                                                    ]
3505
                                                ]
3506
                                            ],
280 efrain 3507
                                            'delete' => [
3508
                                                'type' => Segment::class,
3509
                                                'options' => [
1323 efrain 3510
                                                    'route' => '/delete/:comment_id',
280 efrain 3511
                                                    'constraints' => [
1323 efrain 3512
                                                        'comment_id' => '[A-Za-z0-9\-]+\=*'
280 efrain 3513
                                                    ],
3514
                                                    'defaults' => [
3515
                                                        'controller' => '\LeadersLinked\Controller\ServiceCapsuleCommentsController',
3516
                                                        'action' => 'delete'
3517
                                                    ]
3518
                                                ]
3519
                                            ],
3520
                                        ]
3521
                                    ],
553 geraldo 3522
                                ]
280 efrain 3523
                            ],
733 efrain 3524
 
553 geraldo 3525
                        ]
1 www 3526
                    ],
3527
                ]
3528
            ],
3529
            'marketplace' => [
3530
                'type' => Literal::class,
3531
                'options' => [
3532
                    'route' => '/marketplace',
3533
                    'defaults' => [
3534
                        'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3535
                        'action' => 'index'
3536
                    ]
3537
                ],
3538
                'may_terminate' => true,
3539
                'child_routes' => [
3540
                    'categories' => [
3541
                        'type' => Segment::class,
3542
                        'options' => [
3543
                            'route' => '/categories',
3544
                            'defaults' => [
3545
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3546
                                'action' => 'getCategories'
3547
                            ]
3548
                        ]
3549
                    ],
3550
                    'enroll' => [
3551
                        'type' => Segment::class,
3552
                        'options' => [
3553
                            'route' => '/enroll/:company_id/:topic_id/:capsule_id',
3554
                            'constraints' => [
3555
                                'company_id' => '[A-Za-z0-9\-]+\=*',
3556
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
3557
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
3558
                            ],
3559
                            'defaults' => [
3560
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3561
                                'action' => 'enroll'
3562
                            ]
3563
                        ]
3564
                    ],
5224 efrain 3565
                    'claim' => [
3566
                        'type' => Segment::class,
3567
                        'options' => [
3568
                            'route' => '/claim/:id',
3569
                            'constraints' => [
3570
                                'id' => '[A-Za-z0-9\-]+\=*',
3571
                            ],
3572
                            'defaults' => [
3573
                                'controller' => '\LeadersLinked\Controller\MarketPlaceController',
3574
                                'action' => 'claim'
3575
                            ]
3576
                        ]
3577
                    ],
1 www 3578
                ]
553 geraldo 3579
            ],
1 www 3580
        ]
3581
    ],
3582
    'controllers' => [
3583
        'factories' => [
3584
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
3585
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
3586
            \LeadersLinked\Controller\BackendController::class => \LeadersLinked\Factory\Controller\BackendControllerFactory::class,
4113 efrain 3587
            \LeadersLinked\Controller\CalendarController::class => \LeadersLinked\Factory\Controller\CalendarControllerFactory::class,
1 www 3588
            \LeadersLinked\Controller\ChatController::class => \LeadersLinked\Factory\Controller\ChatControllerFactory::class,
3589
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
3590
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
5205 efrain 3591
            \LeadersLinked\Controller\DailyPulseController::class => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
1 www 3592
            \LeadersLinked\Controller\ConnectionController::class => \LeadersLinked\Factory\Controller\ConnectionControllerFactory::class,
3593
            \LeadersLinked\Controller\HomeController::class => \LeadersLinked\Factory\Controller\HomeControllerFactory::class,
3594
            \LeadersLinked\Controller\HelperController::class => \LeadersLinked\Factory\Controller\HelperControllerFactory::class,
3595
            \LeadersLinked\Controller\HelpController::class => \LeadersLinked\Factory\Controller\HelpControllerFactory::class,
3596
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
3597
            \LeadersLinked\Controller\MarketPlaceController::class => \LeadersLinked\Factory\Controller\MarketPlaceControllerFactory::class,
3598
            \LeadersLinked\Controller\MoodleController::class => \LeadersLinked\Factory\Controller\MoodleControllerFactory::class,
3599
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
3600
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
3601
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
3639 efrain 3602
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
1 www 3603
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
3604
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
3605
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
3262 efrain 3606
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
1 www 3607
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
4808 efrain 3608
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
1 www 3609
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3610
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
5612 anderson 3611
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
5050 efrain 3612
            //\LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
3613
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
6388 efrain 3614
 
3615
 
6001 efrain 3616
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
1 www 3617
            \LeadersLinked\Controller\MyProfilesController::class => \LeadersLinked\Factory\Controller\MyProfilesControllerFactory::class,
3618
            \LeadersLinked\Controller\SearchController::class => \LeadersLinked\Factory\Controller\SearchControllerFactory::class,
3775 efrain 3619
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
1 www 3620
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
3639 efrain 3621
            \LeadersLinked\Controller\StorageNetworkController::class => \LeadersLinked\Factory\Controller\StorageNetworkControllerFactory::class,
1 www 3622
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
1323 efrain 3623
            \LeadersLinked\Controller\ServiceCapsuleCommentsController::class => \LeadersLinked\Factory\Controller\ServiceCapsuleCommentsControllerFactory::class,
5837 efrain 3624
           // \LeadersLinked\Controller\ZoomController::class => \LeadersLinked\Factory\Controller\ZoomControllerFactory::class,
5612 anderson 3625
 
1 www 3626
        ],
3627
        'aliases' => [
3628
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
3629
            '\LeadersLinked\Controller\BackendController' => \LeadersLinked\Controller\BackendController::class,
3630
            '\LeadersLinked\Controller\AccountSettingController' => \LeadersLinked\Controller\AccountSettingController::class,
4113 efrain 3631
            '\LeadersLinked\Controller\CalendarController' => \LeadersLinked\Controller\CalendarController::class,
1 www 3632
            '\LeadersLinked\Controller\ChatController' => \LeadersLinked\Controller\ChatController::class,
3633
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
3634
            '\LeadersLinked\Controller\ConnectionController' => \LeadersLinked\Controller\ConnectionController::class,
3635
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
3636
            '\LeadersLinked\Controller\HomeController' => \LeadersLinked\Controller\HomeController::class,
3637
            '\LeadersLinked\Controller\HelpController' => \LeadersLinked\Controller\HelpController::class,
3638
            '\LeadersLinked\Controller\HelperController' => \LeadersLinked\Controller\HelperController::class,
3639
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
553 geraldo 3640
            '\LeadersLinked\Controller\InMailController' => \LeadersLinked\Controller\InMailController::class,
3639 efrain 3641
            '\LeadersLinked\Controller\ImpersonateController' => \LeadersLinked\Controller\ImpersonateController::class,
1 www 3642
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
3643
            '\LeadersLinked\Controller\GroupController' => \LeadersLinked\Controller\GroupController::class,
3644
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
3645
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3646
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
4808 efrain 3647
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
1 www 3648
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
6521 efrain 3649
 
1 www 3650
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3651
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3652
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3262 efrain 3653
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
1 www 3654
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
3655
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
3639 efrain 3656
            '\LeadersLinked\Controller\StorageNetworkController' => \LeadersLinked\Controller\StorageNetworkController::class,
1 www 3657
            '\LeadersLinked\Controller\OauthController' => \LeadersLinked\Controller\OauthController::class,
3658
            '\LeadersLinked\Controller\ServiceController' => \LeadersLinked\Controller\ServiceController::class,
1323 efrain 3659
            '\LeadersLinked\Controller\ServiceCapsuleCommentsController' => \LeadersLinked\Controller\ServiceCapsuleCommentsController::class,
3775 efrain 3660
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
5612 anderson 3661
 
3662
 
6001 efrain 3663
 
3664
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
5050 efrain 3665
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
5205 efrain 3666
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
5612 anderson 3667
 
3668
 
5050 efrain 3669
            //'\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
5837 efrain 3670
            //'\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
1 www 3671
        ]
3672
    ],
3673
    'laminas-cli' => [
3674
        'commands' => [
3675
            'process-queue-email' => \LeadersLinked\Command\ProcessQueueEmailCommand::class,
3676
            'process-queue-push' => \LeadersLinked\Command\ProcessQueuePushCommand::class,
1979 efrain 3677
            'process-queue-user-deleted' => \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class,
1 www 3678
            'process-queue-video-convert' => \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class,
3679
            'recalculate-microlearning-progress' => \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class,
3680
            'check-owner-user-for-company' => \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class,
242 efrain 3681
            'check-preview-poster-for-feed' => \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class,
5237 efrain 3682
            'daily-pulse-simulate' => \LeadersLinked\Command\DailyPulseSimulateCommand::class,
5612 anderson 3683
 
1 www 3684
        ]
3685
    ],
3686
    'service_manager' => [
3687
        'abstract_factories' => [
3688
            \Laminas\Db\Adapter\AdapterAbstractServiceFactory::class
3689
        ],
3690
        'factories' => [
3691
            'RenderingStrategy' => function ($container) {
3692
                $translator = $container->get('MvcTranslator');
3693
                return new \LeadersLinked\View\RenderingStrategy($translator);
3694
            },
3695
            'menuNavigation' => \LeadersLinked\Navigation\MenuNavigation::class,
3696
            'footerNavigation' => \LeadersLinked\Navigation\FooterNavigation::class,
5612 anderson 3697
 
1 www 3698
            \LeadersLinked\Command\ProcessQueueEmailCommand::class => \LeadersLinked\Factory\Command\ProcessQueueEmailCommandFactory::class,
3699
            \LeadersLinked\Command\ProcessQueuePushCommand::class => \LeadersLinked\Factory\Command\ProcessQueuePushCommandFactory::class,
1979 efrain 3700
            \LeadersLinked\Command\ProcessQueueUserDeletedCommand::class => \LeadersLinked\Factory\Command\ProcessQueueUserDeletedCommandFactory::class,
5612 anderson 3701
 
1 www 3702
            \LeadersLinked\Command\ProcessQueueVideoConvertCommand::class => \LeadersLinked\Factory\Command\ProcessQueueVideoConvertCommandFactory::class,
3703
            \LeadersLinked\Command\RecalculateMicrolearningProgressCommand::class => \LeadersLinked\Factory\Command\RecalculateMicrolearningProgressCommandFactory::class,
3704
            \LeadersLinked\Command\CheckOwnerUserForCompanyCommand::class => \LeadersLinked\Factory\Command\CheckOwnerUserForCompanyCommandFactory::class,
5612 anderson 3705
 
242 efrain 3706
            \LeadersLinked\Command\CheckPreviewPosterForFeedCommand::class => \LeadersLinked\Factory\Command\CheckPreviewPosterForFeedCommandFactory::class,
5612 anderson 3707
 
3708
 
5237 efrain 3709
            \LeadersLinked\Command\DailyPulseSimulateCommand::class => \LeadersLinked\Factory\Command\DailyPulseSimulateCommandFactory::class,
5612 anderson 3710
 
1 www 3711
        ],
4419 efrain 3712
        'aliases' => [
3713
            // 'leaders-linked-storage' => \LeadersLinked\Service\StorageService::class
1 www 3714
        ]
3715
    ],
3716
    'view_helpers' => [
3717
        'factories' => [
3718
            \LeadersLinked\Helper\ChatHelper::class => \LeadersLinked\Factory\Helper\ChatHelperFactory::class,
5612 anderson 3719
            // \LeadersLinked\Helper\CompanyFollowerHelper::class => \LeadersLinked\Factory\Helper\CompanyFollowerHelperFactory::class,
3720
            // \LeadersLinked\Helper\CompanySuggestionHelper::class => \LeadersLinked\Factory\Helper\CompanySuggestionHelperFactory::class,
1 www 3721
            \LeadersLinked\Helper\CurrentUserHelper::class => \LeadersLinked\Factory\Helper\CurrentUserHelperFactory::class,
3639 efrain 3722
            \LeadersLinked\Helper\CurrentNetworkHelper::class => \LeadersLinked\Factory\Helper\CurrentNetworkHelperFactory::class,
5612 anderson 3723
            // \LeadersLinked\Helper\GroupMembersHelper::class => \LeadersLinked\Factory\Helper\GroupMembersHelperFactory::class,
3724
            // \LeadersLinked\Helper\GroupsSuggestionHelper::class => \LeadersLinked\Factory\Helper\GroupsSuggestionHelperFactory::class,
3725
            \LeadersLinked\Helper\MenuHelper::class => \LeadersLinked\Factory\Helper\MenuHelperFactory::class,
3726
            // \LeadersLinked\Helper\PeopleViewedProfileHelper::class => \LeadersLinked\Factory\Helper\PeopleViewedProfileHelperFactory::class,
3727
            //  \LeadersLinked\Helper\PeopleYouMayKnowHelper::class => \LeadersLinked\Factory\Helper\PeopleYouMayKnowHelperFactory::class,
3728
            //  \LeadersLinked\Helper\SimilarGroupsHelper::class => \LeadersLinked\Factory\Helper\SimilarGroupsHelperFactory::class
3639 efrain 3729
            \LeadersLinked\Helper\NetworkFavicoHelper::class => \LeadersLinked\Factory\Helper\NetworkFavicoHelperFactory::class,
3730
            \LeadersLinked\Helper\NetworkIntroHelper::class => \LeadersLinked\Factory\Helper\NetworkIntroHelperFactory::class,
3731
            \LeadersLinked\Helper\NetworkLogoHelper::class => \LeadersLinked\Factory\Helper\NetworkLogoHelperFactory::class,
3732
            \LeadersLinked\Helper\NetworkNavbarHelper::class => \LeadersLinked\Factory\Helper\NetworkNavbarHelperFactory::class,
3733
            \LeadersLinked\Helper\NetworkStylesAndColorsHelper::class => \LeadersLinked\Factory\Helper\NetworkStylesAndColorsHelperFactory::class,
5612 anderson 3734
 
1 www 3735
        ],
3736
        'invokables' => [
3639 efrain 3737
            //'menuBackendHelper' => \LeadersLinked\Helper\MenuBackendHelper::class,
5612 anderson 3738
            // 'menuMyCompanyHelper' => \LeadersLinked\Helper\MenuMyCompanyHelper::class,
1 www 3739
            'footerHelper' => \LeadersLinked\Helper\FooterHelper::class
3740
        ],
3741
        'aliases' => [
3742
            'chatHelper' => \LeadersLinked\Helper\ChatHelper::class,
3639 efrain 3743
            //'companyFollowerHelper' => \LeadersLinked\Helper\CompanyFollowerHelper::class,
5612 anderson 3744
            // 'companySuggestionHelper' => \LeadersLinked\Helper\CompanySuggestionHelper::class,
1 www 3745
            'currentUserHelper' => \LeadersLinked\Helper\CurrentUserHelper::class,
3639 efrain 3746
            'currentNetworkHelper' => \LeadersLinked\Helper\CurrentNetworkHelper::class,
1 www 3747
            'menuHelper' => \LeadersLinked\Helper\MenuHelper::class,
3639 efrain 3748
            //'peopleViewedProfileHelper' => \LeadersLinked\Helper\PeopleViewedProfileHelper::class,
3749
            //'peopleYouMayKnowHelper' => \LeadersLinked\Helper\PeopleYouMayKnowHelper::class,
3750
            //'groupMembersHelper' => \LeadersLinked\Helper\GroupMembersHelper::class,
3751
            //'similarGroupsHelper' => \LeadersLinked\Helper\SimilarGroupsHelper::class
3752
            'networkFavicoHelper'  => \LeadersLinked\Helper\NetworkFavicoHelper::class,
3753
            'networkIntroHelper' => \LeadersLinked\Helper\NetworkIntroHelper::class,
3754
            'networkLogoHelper'  => \LeadersLinked\Helper\NetworkLogoHelper::class,
3755
            'networkNavbarHelper'  => \LeadersLinked\Helper\NetworkNavbarHelper::class,
3756
            'networkStylesAndColorsHelper'  => \LeadersLinked\Helper\NetworkStylesAndColorsHelper::class,
5612 anderson 3757
 
1 www 3758
        ]
3759
    ],
3760
    'controller_plugins' => [
3761
        'invokables' => [],
3762
        'factories' => [
2920 efrain 3763
            \LeadersLinked\Plugin\CurrentUserPlugin::class => \LeadersLinked\Factory\Plugin\CurrentUserPluginFactory::class,
3764
            \LeadersLinked\Plugin\CurrentNetworkPlugin::class => \LeadersLinked\Factory\Plugin\CurrentNetworkPluginFactory::class,
1 www 3765
        ],
3766
        'aliases' => [
2920 efrain 3767
            'currentUserPlugin' => \LeadersLinked\Plugin\CurrentUserPlugin::class,
3768
            'currentNetworkPlugin' => \LeadersLinked\Plugin\CurrentNetworkPlugin::class,
1 www 3769
        ]
3770
    ],
3771
    'view_manager' => [
3772
        'display_not_found_reason' => true,
3773
        'display_exceptions' => true,
3774
        'doctype' => 'HTML5',
3775
        'not_found_template' => 'error/404',
3776
        'exception_template' => 'error/index',
3777
        'template_map' => [
3778
            'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
3779
            'error/404' => __DIR__ . '/../view/error/404.phtml',
3780
            'error/index' => __DIR__ . '/../view/error/index.phtml'
3781
        ],
3782
        'template_path_stack' => [
3783
            __DIR__ . '/../view'
3784
        ],
3785
        'strategies' => [
3786
            'ViewJsonStrategy',
3787
            'RenderingStrategy'
3788
        ]
3789
    ]
3790
];