Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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