Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4113 | Rev 4131 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

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