Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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