Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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