Proyectos de Subversion LeadersLinked - Services

Rev

Rev 117 | Rev 161 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 117 Rev 119
Línea 82... Línea 82...
82
                                'controller' => '\LeadersLinked\Controller\AuthController',
82
                                'controller' => '\LeadersLinked\Controller\AuthController',
83
                                'action' => 'impersonate',
83
                                'action' => 'impersonate',
84
                            ],
84
                            ],
85
                        ],
85
                        ],
86
                    ],
86
                    ],
-
 
87
                    'autologin' => [
-
 
88
                        'type' => Literal::class,
-
 
89
                        'options' => [
-
 
90
                            'route' => '/autologin',
-
 
91
                            'defaults' => [
-
 
92
                                'controller' => '\LeadersLinked\Controller\AuthController',
-
 
93
                                'action' => 'autologin',
-
 
94
                            ],
-
 
95
                        ],
-
 
96
                    ],
87
                ]
97
                ]
88
            ],
98
            ],
89
            //85a6de9c-c81e-4e47-b931-4cc32774defa
99
            //85a6de9c-c81e-4e47-b931-4cc32774defa
90
            'shorter' => [
100
            'shorter' => [
91
                'type' => Segment::class,
101
                'type' => Segment::class,
Línea 2133... Línea 2143...
2133
                        'action' => 'index'
2143
                        'action' => 'index'
2134
                    ]
2144
                    ]
2135
                ],
2145
                ],
2136
                'may_terminate' => true,
2146
                'may_terminate' => true,
2137
                'child_routes' => [
2147
                'child_routes' => [
2138
                    'microlearning' => [
-
 
2139
                        'type' => Literal::class,
-
 
2140
                        'options' => [
-
 
2141
                            'route' => '/microlearning',
-
 
2142
                            'defaults' => [
-
 
2143
                                'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
-
 
2144
                                'action' => 'index'
-
 
2145
                            ]
-
 
2146
                        ],
-
 
2147
                        'may_terminate' => true,
-
 
2148
                        'child_routes' => [
-
 
2149
                            'timeline' => [
-
 
-
 
2148
 
2150
                                'type' => Literal::class,
-
 
2151
                                'options' => [
-
 
2152
                                    'route' => '/timeline',
-
 
2153
                                    'defaults' => [
-
 
2154
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
-
 
2155
                                        'action' => 'timeline'
-
 
2156
                                    ]
-
 
2157
                                ]
-
 
2158
                            ],
-
 
2159
                            'progress' => [
-
 
2160
                                'type' => Literal::class,
-
 
2161
                                'options' => [
-
 
2162
                                    'route' => '/progress',
-
 
2163
                                    'defaults' => [
-
 
2164
                                        'controller' => '\LeadersLinked\Controller\ProfileMicrolearningController',
-
 
2165
                                        'action' => 'progress'
-
 
2166
                                    ]
-
 
2167
                                ]
-
 
2168
                            ],
-
 
2169
                        ]
-
 
2170
                    ],
-
 
2171
                    'people-viewed-profile' => [
2149
                    'people-viewed-profile' => [
2172
                        'type' => Literal::class,
2150
                        'type' => Literal::class,
2173
                        'options' => [
2151
                        'options' => [
2174
                            'route' => '/people-viewed-profile',
2152
                            'route' => '/people-viewed-profile',
2175
                            'defaults' => [
2153
                            'defaults' => [
Línea 3602... Línea 3580...
3602
                            ]
3580
                            ]
3603
                        ]
3581
                        ]
3604
                    ],
3582
                    ],
3605
                ]
3583
                ]
3606
            ],
3584
            ],
-
 
3585
            'microlearning' => [
-
 
3586
                'type' => Literal::class,
-
 
3587
                'options' => [
-
 
3588
                    'route' => '/microlearning',
-
 
3589
                    'defaults' => [
-
 
3590
                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3591
                        'action' => 'index'
-
 
3592
                    ]
-
 
3593
                ],
-
 
3594
                'may_terminate' => true,
-
 
3595
                'child_routes' => [
-
 
3596
                    'profile' => [
-
 
3597
                        'type' => Segment::class,
-
 
3598
                        'options' => [
-
 
3599
                            'route' => '/profile',
-
 
3600
                            'defaults' => [
-
 
3601
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3602
                                'action' => 'profile'
-
 
3603
                            ]
-
 
3604
                        ]
-
 
3605
                    ],
-
 
3606
                    'companies' => [
-
 
3607
                        'type' => Segment::class,
-
 
3608
                        'options' => [
-
 
3609
                            'route' => '/companies',
-
 
3610
                            'defaults' => [
-
 
3611
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3612
                                'action' => 'companies'
-
 
3613
                            ]
-
 
3614
                        ]
-
 
3615
                    ],
-
 
3616
                    'progress' => [
-
 
3617
                        'type' => Segment::class,
-
 
3618
                        'options' => [
-
 
3619
                            'route' => '/progress/:id',
-
 
3620
                            'constraints' => [
-
 
3621
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3622
                            ],
-
 
3623
                            'defaults' => [
-
 
3624
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3625
                                'action' => 'progress'
-
 
3626
                            ]
-
 
3627
                        ]
-
 
3628
                    ],
-
 
3629
                    'timeline' => [
-
 
3630
                        'type' => Segment::class,
-
 
3631
                        'options' => [
-
 
3632
                            'route' => '/timeline',
-
 
3633
                            'defaults' => [
-
 
3634
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3635
                                'action' => 'timeline'
-
 
3636
                            ]
-
 
3637
                        ]
-
 
3638
                    ],
-
 
3639
                    'topics' => [
-
 
3640
                        'type' => Segment::class,
-
 
3641
                        'options' => [
-
 
3642
                            'route' => '/topics',
-
 
3643
                            'defaults' => [
-
 
3644
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3645
                                'action' => 'topics'
-
 
3646
                            ]
-
 
3647
                        ]
-
 
3648
                    ],
-
 
3649
                    'capsules' => [
-
 
3650
                        'type' => Segment::class,
-
 
3651
                        'options' => [
-
 
3652
                            'route' => '/capsules/:topic_id',
-
 
3653
                            'constraints' => [
-
 
3654
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
-
 
3655
                            ],
-
 
3656
                            'defaults' => [
-
 
3657
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3658
                                'action' => 'capsules'
-
 
3659
                            ]
-
 
3660
                        ]
-
 
3661
                    ],
-
 
3662
                    'slides' => [
-
 
3663
                        'type' => Segment::class,
-
 
3664
                        'options' => [
-
 
3665
                            'route' => '/slides/:topic_id/:capsule_id',
-
 
3666
                            'constraints' => [
-
 
3667
                                'topic_id' => '[A-Za-z0-9\-]+\=*',
-
 
3668
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
-
 
3669
                                
-
 
3670
                            ],
-
 
3671
                            'defaults' => [
-
 
3672
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3673
                                'action' => 'slides'
-
 
3674
                            ]
-
 
3675
                        ]
-
 
3676
                    ],
-
 
3677
                    'sync' => [
-
 
3678
                        'type' => Segment::class,
-
 
3679
                        'options' => [
-
 
3680
                            'route' => '/sync',
-
 
3681
                            'defaults' => [
-
 
3682
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3683
                                'action' => 'sync'
-
 
3684
                            ]
-
 
3685
                        ]
-
 
3686
                    ],
-
 
3687
                    'last-capsule-in-progress' => [
-
 
3688
                        'type' => Segment::class,
-
 
3689
                        'options' => [
-
 
3690
                            'route' => '/last-capsule-in-progress',
-
 
3691
                            'defaults' => [
-
 
3692
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3693
                                'action' => 'lastCapsuleInProgress'
-
 
3694
                            ]
-
 
3695
                        ]
-
 
3696
                    ],
-
 
3697
                    'capsules-pending' => [
-
 
3698
                        'type' => Segment::class,
-
 
3699
                        'options' => [
-
 
3700
                            'route' => '/capsules-pending',
-
 
3701
                            'defaults' => [
-
 
3702
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3703
                                'action' => 'capsulesPending'
-
 
3704
                            ]
-
 
3705
                        ]
-
 
3706
                    ],
-
 
3707
                    'capsules-completed' => [
-
 
3708
                        'type' => Segment::class,
-
 
3709
                        'options' => [
-
 
3710
                            'route' => '/capsules-completed',
-
 
3711
                            'defaults' => [
-
 
3712
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3713
                                'action' => 'capsulesCompleted'
-
 
3714
                            ]
-
 
3715
                        ]
-
 
3716
                    ],
-
 
3717
                    'capsules-in-progress' => [
-
 
3718
                        'type' => Segment::class,
-
 
3719
                        'options' => [
-
 
3720
                            'route' => '/capsules-in-progress',
-
 
3721
                            'defaults' => [
-
 
3722
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3723
                                'action' => 'capsulesInProgress'
-
 
3724
                            ]
-
 
3725
                        ]
-
 
3726
                    ],
-
 
3727
                    'capsules-comments' => [
-
 
3728
                        'type' => Segment::class,
-
 
3729
                        'options' => [
-
 
3730
                            'route' => '/capsules-comments/:capsule_id',
-
 
3731
                            'constraints' => [
-
 
3732
                                'capsule_id' => '[A-Za-z0-9\-]+\=*',
-
 
3733
                            ],
-
 
3734
                            'defaults' => [
-
 
3735
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3736
                                'action' => 'capsuleComments'
-
 
3737
                            ]
-
 
3738
                        ],
-
 
3739
                        'may_terminate' => true,
-
 
3740
                        'child_routes' => [
-
 
3741
                            'add' => [
-
 
3742
                                'type' => Segment::class,
-
 
3743
                                'options' => [
-
 
3744
                                    'route' => '/add',
-
 
3745
                                    'defaults' => [
-
 
3746
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3747
                                        'action' => 'capsuleAddMyComment'
-
 
3748
                                    ]
-
 
3749
                                ]
-
 
3750
                            ],
-
 
3751
                            'delete' => [
-
 
3752
                                'type' => Segment::class,
-
 
3753
                                'options' => [
-
 
3754
                                    'route' => '/delete/:comment_id',
-
 
3755
                                    'constraints' => [
-
 
3756
                                        'comment_id' => '[A-Za-z0-9\-]+\=*',
-
 
3757
                                    ],
-
 
3758
                                    'defaults' => [
-
 
3759
                                        'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3760
                                        'action' => 'capsuleDeleteMyComment'
-
 
3761
                                    ]
-
 
3762
                                ]
-
 
3763
                            ],
-
 
3764
                        ]    
-
 
3765
                    ],
-
 
3766
               
-
 
3767
 
-
 
3768
                    
-
 
3769
                    /*
-
 
3770
                    
-
 
3771
                    'capsule' => [
-
 
3772
                        'type' => Segment::class,
-
 
3773
                        'options' => [
-
 
3774
                            'route' => '/capsule',
-
 
3775
                            'defaults' => [
-
 
3776
                                'controller' => '\LeadersLinked\Controller\MicrolearningController',
-
 
3777
                                'action' => 'lastCapsuleInProgress'
-
 
3778
                            ]
-
 
3779
                        ]
-
 
3780
                    ],
-
 
3781
                    
-
 
3782
                    
-
 
3783
                    capsuleCommentsAction
-
 
3784
                    capsuleDeleteMyCommentAction
-
 
3785
                    capsuleAddMyCommentAction
-
 
3786
                    
-
 
3787
                    */
-
 
3788
                    
-
 
3789
                    
-
 
3790
                ]
-
 
3791
            ]  
3607
        ]
3792
        ],
-
 
3793
        
3608
    ],
3794
    ],
3609
    'controllers' => [
3795
    'controllers' => [
3610
        'factories' => [
3796
        'factories' => [
3611
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
3797
            \LeadersLinked\Controller\AccountSettingController::class => \LeadersLinked\Factory\Controller\AccountSettingControllerFactory::class,
3612
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
3798
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
Línea 3626... Línea 3812...
3626
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
3812
            \LeadersLinked\Controller\OauthController::class => \LeadersLinked\Factory\Controller\OauthControllerFactory::class,
3627
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
3813
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
3628
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
3814
            \LeadersLinked\Controller\InMailController::class => \LeadersLinked\Factory\Controller\InMailControllerFactory::class,
3629
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
3815
            \LeadersLinked\Controller\ImpersonateController::class => \LeadersLinked\Factory\Controller\ImpersonateControllerFactory::class,
3630
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
3816
            \LeadersLinked\Controller\GroupController::class => \LeadersLinked\Factory\Controller\GroupControllerFactory::class,
-
 
3817
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
3631
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
3818
            \LeadersLinked\Controller\MyGroupsController::class => \LeadersLinked\Factory\Controller\MyGroupsControllerFactory::class,
3632
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
3819
            \LeadersLinked\Controller\MyCompaniesController::class => \LeadersLinked\Factory\Controller\MyCompaniesControllerFactory::class,
3633
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
3820
            \LeadersLinked\Controller\NotificationController::class => \LeadersLinked\Factory\Controller\NotificationControllerFactory::class,
3634
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
3821
            \LeadersLinked\Controller\PaypalController::class => \LeadersLinked\Factory\Controller\PaypalControllerFactory::class,
3635
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
3822
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
Línea 3672... Línea 3859...
3672
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3859
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3673
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
3860
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
3674
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
3861
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
3675
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3862
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
Línea -... Línea 3863...
-
 
3863
          
3676
          
3864
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
3677
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3865
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3678
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3866
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3679
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3867
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3680
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
3868
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,