Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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