Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

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