Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15540 Rev 15543
Línea 73... Línea 73...
73
            'storage' => [
73
            'storage' => [
74
                'type' => Segment::class,
74
                'type' => Segment::class,
75
                'options' => [
75
                'options' => [
76
                    'route' => '/storage/type/:type[/code/:code][/code2/:code2][/filename/:filename]',
76
                    'route' => '/storage/type/:type[/code/:code][/code2/:code2][/filename/:filename]',
77
                    'constraints' => [
77
                    'constraints' => [
78
                        'type' => 'user|user-profile|message|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|post-type|microlearning-topic|microlearning-capsule|microlearning-slide|recruitment-selection|daily-pulse',
78
                        'type' => 'user|user-profile|message|user-cover|company|company-cover|group|group-cover|job|chat|image|feed|post|post-type|microlearning-topic|microlearning-capsule|microlearning-slide|recruitment-selection|daily-pulse|engagement-reward',
79
                        'code' => '[A-Za-z0-9\-]+\=*',
79
                        'code' => '[A-Za-z0-9\-]+\=*',
80
                        'code2' => '[A-Za-z0-9\-]+\=*',
80
                        'code2' => '[A-Za-z0-9\-]+\=*',
81
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
81
                        'filename' => '[a-zA-Z0-9\-\_]+\.(jpg|jpeg|gif|png|mp3|mp4|flv|doc|pdf|docx|xls|ppt|pdf|xlsx|pptx)'
82
                    ],
82
                    ],
83
                    'defaults' => [
83
                    'defaults' => [
Línea 2275... Línea 2275...
2275
                                'controller' => '\LeadersLinked\Controller\EngagementController',
2275
                                'controller' => '\LeadersLinked\Controller\EngagementController',
2276
                                'action' => 'setup'
2276
                                'action' => 'setup'
2277
                            ]
2277
                            ]
2278
                        ],
2278
                        ],
2279
                    ],
2279
                    ],
-
 
2280
                    'rewards' => [
-
 
2281
                        'type' => Literal::class,
-
 
2282
                        'options' => [
-
 
2283
                            'route' => '/rewards',
-
 
2284
                            'defaults' => [
-
 
2285
                                'controller' => '\LeadersLinked\Controller\EngagementRewardController',
-
 
2286
                                'action' => 'index'
-
 
2287
                            ]
-
 
2288
                        ],
-
 
2289
                        'may_terminate' => true,
-
 
2290
                        'child_routes' => [
-
 
2291
                            'add' => [
-
 
2292
                                'type' => Literal::class,
-
 
2293
                                'options' => [
-
 
2294
                                    'route' => '/add',
-
 
2295
                                    'defaults' => [
-
 
2296
                                        'controller' => '\LeadersLinked\Controller\EngagementRewardController',
-
 
2297
                                        'action' => 'add'
-
 
2298
                                    ]
-
 
2299
                                ]
-
 
2300
                            ],
-
 
2301
                            'edit' => [
-
 
2302
                                'type' => Segment::class,
-
 
2303
                                'options' => [
-
 
2304
                                    'route' => '/edit/:id',
-
 
2305
                                    'constraints' => [
-
 
2306
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
2307
                                    ],
-
 
2308
                                    'defaults' => [
-
 
2309
                                        'controller' => '\LeadersLinked\Controller\EngagementRewardController',
-
 
2310
                                        'action' => 'edit'
-
 
2311
                                    ]
-
 
2312
                                ]
-
 
2313
                            ],
-
 
2314
                            'delete' => [
-
 
2315
                                'type' => Segment::class,
-
 
2316
                                'options' => [
-
 
2317
                                    'route' => '/delete/:id',
-
 
2318
                                    'constraints' => [
-
 
2319
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
2320
                                    ],
-
 
2321
                                    'defaults' => [
-
 
2322
                                        'controller' => '\LeadersLinked\Controller\EngagementRewardController',
-
 
2323
                                        'action' => 'delete'
-
 
2324
                                    ]
-
 
2325
                                ]
-
 
2326
                            ]
-
 
2327
                        ],
-
 
2328
                        
-
 
2329
                    ],
2280
                    'reports' => [
2330
                    'reports' => [
2281
                        'type' => Literal::class,
2331
                        'type' => Literal::class,
2282
                        'options' => [
2332
                        'options' => [
2283
                            'route' => '/reports',
2333
                            'route' => '/reports',
2284
                            'defaults' => [
2334
                            'defaults' => [
Línea 6896... Línea 6946...
6896
            \LeadersLinked\Controller\ActivityCenterController::Class  => \LeadersLinked\Factory\Controller\ActivityCenterControllerFactory::class,
6946
            \LeadersLinked\Controller\ActivityCenterController::Class  => \LeadersLinked\Factory\Controller\ActivityCenterControllerFactory::class,
6897
            \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class  => \LeadersLinked\Factory\Controller\ActivityCenterPerformanceEvaluationControllerFactory::class,
6947
            \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class  => \LeadersLinked\Factory\Controller\ActivityCenterPerformanceEvaluationControllerFactory::class,
6898
            \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class  => \LeadersLinked\Factory\Controller\ActivityCenterRecruitmentSelectionControllerFactory::class,
6948
            \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class  => \LeadersLinked\Factory\Controller\ActivityCenterRecruitmentSelectionControllerFactory::class,
Línea 6899... Línea 6949...
6899
            
6949
            
-
 
6950
            \LeadersLinked\Controller\EngagementController::class => \LeadersLinked\Factory\Controller\EngagementControllerFactory::class,
6900
            \LeadersLinked\Controller\EngagementController::class => \LeadersLinked\Factory\Controller\EngagementControllerFactory::class,
6951
            \LeadersLinked\Controller\EngagementRewardController::class => \LeadersLinked\Factory\Controller\EngagementRewardControllerFactory::class,
Línea 6901... Línea 6952...
6901
            \LeadersLinked\Controller\EngagementReportsController::class => \LeadersLinked\Factory\Controller\EngagementReportsControllerFactory::class,
6952
            \LeadersLinked\Controller\EngagementReportsController::class => \LeadersLinked\Factory\Controller\EngagementReportsControllerFactory::class,
6902
            
6953
            
6903
            \LeadersLinked\Controller\DailyPulseController::Class  => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
6954
            \LeadersLinked\Controller\DailyPulseController::Class  => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
Línea 7023... Línea 7074...
7023
            '\LeadersLinked\Controller\ActivityCenterController' => \LeadersLinked\Controller\ActivityCenterController::class,
7074
            '\LeadersLinked\Controller\ActivityCenterController' => \LeadersLinked\Controller\ActivityCenterController::class,
7024
            '\LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController' => \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class,
7075
            '\LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController' => \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class,
7025
            '\LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController' => \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class,
7076
            '\LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController' => \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class,
Línea 7026... Línea 7077...
7026
            
7077
            
-
 
7078
            '\LeadersLinked\Controller\EngagementController' => \LeadersLinked\Controller\EngagementController::class,
7027
            '\LeadersLinked\Controller\EngagementController' => \LeadersLinked\Controller\EngagementController::class,
7079
            '\LeadersLinked\Controller\EngagementRewardController' => \LeadersLinked\Controller\EngagementRewardController::class,
Línea 7028... Línea 7080...
7028
            '\LeadersLinked\Controller\EngagementReportsController' => \LeadersLinked\Controller\EngagementReportsController::class,
7080
            '\LeadersLinked\Controller\EngagementReportsController' => \LeadersLinked\Controller\EngagementReportsController::class,
7029
            
7081
            
7030
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
7082
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,