Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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