Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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