Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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