Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15461 Rev 15540
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',
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',
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 2254... Línea 2254...
2254
                            ]
2254
                            ]
2255
                        ]
2255
                        ]
2256
                    ],
2256
                    ],
2257
                ]
2257
                ]
2258
            ],
2258
            ],
-
 
2259
            'engagement' => [
-
 
2260
                'type' => Literal::class,
-
 
2261
                'options' => [
-
 
2262
                    'route' => '/engagement',
-
 
2263
                    'defaults' => [
-
 
2264
                        'controller' => '\LeadersLinked\Controller\EngagementController',
-
 
2265
                        'action' => 'index'
-
 
2266
                    ]
-
 
2267
                ],
-
 
2268
                'may_terminate' => true,
-
 
2269
                'child_routes' => [
-
 
2270
                    'setup' => [
-
 
2271
                        'type' => Literal::class,
-
 
2272
                        'options' => [
-
 
2273
                            'route' => '/setup',
-
 
2274
                            'defaults' => [
-
 
2275
                                'controller' => '\LeadersLinked\Controller\EngagementController',
-
 
2276
                                'action' => 'setup'
-
 
2277
                            ]
-
 
2278
                        ],
-
 
2279
                    ],
-
 
2280
                    'reports' => [
-
 
2281
                        'type' => Literal::class,
-
 
2282
                        'options' => [
-
 
2283
                            'route' => '/reports',
-
 
2284
                            'defaults' => [
-
 
2285
                                'controller' => '\LeadersLinked\Controller\EngagementReportsController',
-
 
2286
                                'action' => 'index'
-
 
2287
                            ]
-
 
2288
                        ],
-
 
2289
                        'may_terminate' => true,
-
 
2290
                        'child_routes' => [
-
 
2291
                            'overview' => [
-
 
2292
                                'type' => Literal::class,
-
 
2293
                                'options' => [
-
 
2294
                                    'route' => '/overview',
-
 
2295
                                    'defaults' => [
-
 
2296
                                        'controller' => '\LeadersLinked\Controller\EngagementReportsController',
-
 
2297
                                        'action' => 'overview'
-
 
2298
                                    ]
-
 
2299
                                ]
-
 
2300
                            ],
-
 
2301
                            
-
 
2302
                        ]
-
 
2303
                    ],    
-
 
2304
                ],        
-
 
2305
            ],   
-
 
2306
            
-
 
2307
            /*** DAILY PULSE ****/
-
 
2308
            'daily-pulse' => [
-
 
2309
                'type' => Literal::class,
-
 
2310
                'options' => [
-
 
2311
                    'route' => '/daily-pulse',
-
 
2312
                    'defaults' => [
-
 
2313
                        'controller' => '\LeadersLinked\Controller\DailyPulseController',
-
 
2314
                        'action' => 'index'
-
 
2315
                    ]
-
 
2316
                ],
-
 
2317
                'may_terminate' => true,
-
 
2318
                'child_routes' => [
-
 
2319
                    'emojis' => [
-
 
2320
                        'type' => Literal::class,
-
 
2321
                        'options' => [
-
 
2322
                            'route' => '/emojis',
-
 
2323
                            'defaults' => [
-
 
2324
                                'controller' => '\LeadersLinked\Controller\DailyPulseEmojiController',
-
 
2325
                                'action' => 'index'
-
 
2326
                            ]
-
 
2327
                        ],
-
 
2328
                        'may_terminate' => true,
-
 
2329
                        'child_routes' => [
-
 
2330
                            'add' => [
-
 
2331
                                'type' => Literal::class,
-
 
2332
                                'options' => [
-
 
2333
                                    'route' => '/add',
-
 
2334
                                    'defaults' => [
-
 
2335
                                        'controller' => '\LeadersLinked\Controller\DailyPulseEmojiController',
-
 
2336
                                        'action' => 'add'
-
 
2337
                                    ]
-
 
2338
                                ]
-
 
2339
                            ],
-
 
2340
                            'edit' => [
-
 
2341
                                'type' => Segment::class,
-
 
2342
                                'options' => [
-
 
2343
                                    'route' => '/edit/:id',
-
 
2344
                                    'constraints' => [
-
 
2345
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
2346
                                    ],
-
 
2347
                                    'defaults' => [
-
 
2348
                                        'controller' => '\LeadersLinked\Controller\DailyPulseEmojiController',
-
 
2349
                                        'action' => 'edit'
-
 
2350
                                    ]
-
 
2351
                                ]
-
 
2352
                            ],
-
 
2353
                            'delete' => [
-
 
2354
                                'type' => Segment::class,
-
 
2355
                                'options' => [
-
 
2356
                                    'route' => '/delete/:id',
-
 
2357
                                    'constraints' => [
-
 
2358
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
2359
                                    ],
-
 
2360
                                    'defaults' => [
-
 
2361
                                        'controller' => '\LeadersLinked\Controller\DailyPulseEmojiController',
-
 
2362
                                        'action' => 'delete'
-
 
2363
                                    ]
-
 
2364
                                ]
-
 
2365
                            ]
-
 
2366
                        ],
-
 
2367
                      
-
 
2368
                    ],
-
 
2369
                    'reports' => [
-
 
2370
                        'type' => Literal::class,
-
 
2371
                        'options' => [
-
 
2372
                            'route' => '/reports',
-
 
2373
                            'defaults' => [
-
 
2374
                                'controller' => '\LeadersLinked\Controller\DailyPulseReportsController',
-
 
2375
                                'action' => 'index'
-
 
2376
                            ]
-
 
2377
                        ],
-
 
2378
                        'may_terminate' => true,
-
 
2379
                        'child_routes' => [
-
 
2380
                            'overview' => [
-
 
2381
                                'type' => Literal::class,
-
 
2382
                                'options' => [
-
 
2383
                                    'route' => '/overview',
-
 
2384
                                    'defaults' => [
-
 
2385
                                        'controller' => '\LeadersLinked\Controller\DailyPulseReportsController',
-
 
2386
                                        'action' => 'overview'
-
 
2387
                                    ]
-
 
2388
                                ],
-
 
2389
                                'may_terminate' => true,
-
 
2390
                                'child_routes' => [
-
 
2391
                                    'download' => [
-
 
2392
                                        'type' => Literal::class,
-
 
2393
                                        'options' => [
-
 
2394
                                            'route' => '/download',
-
 
2395
                                            'defaults' => [
-
 
2396
                                                'controller' => '\LeadersLinked\Controller\DailyPulseReportsController',
-
 
2397
                                                'action' => 'overviewDownload'
-
 
2398
                                            ]
-
 
2399
                                        ]
-
 
2400
                                    ],
-
 
2401
                                ]
-
 
2402
                            ],
-
 
2403
                            
-
 
2404
                        ]
-
 
2405
                    ],    
-
 
2406
                ],
-
 
2407
            ],    
2259
            /*             * * START SELF EVALUATION ** */
2408
            /*             * * START SELF EVALUATION ** */
2260
            'self-evaluation' => [
2409
            'self-evaluation' => [
2261
                'type' => Literal::class,
2410
                'type' => Literal::class,
2262
                'options' => [
2411
                'options' => [
2263
                    'route' => '/self-evaluation',
2412
                    'route' => '/self-evaluation',
Línea 6746... Línea 6895...
6746
        
6895
        
6747
            \LeadersLinked\Controller\ActivityCenterController::Class  => \LeadersLinked\Factory\Controller\ActivityCenterControllerFactory::class,
6896
            \LeadersLinked\Controller\ActivityCenterController::Class  => \LeadersLinked\Factory\Controller\ActivityCenterControllerFactory::class,
6748
            \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class  => \LeadersLinked\Factory\Controller\ActivityCenterPerformanceEvaluationControllerFactory::class,
6897
            \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class  => \LeadersLinked\Factory\Controller\ActivityCenterPerformanceEvaluationControllerFactory::class,
Línea -... Línea 6898...
-
 
6898
            \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class  => \LeadersLinked\Factory\Controller\ActivityCenterRecruitmentSelectionControllerFactory::class,
-
 
6899
            
-
 
6900
            \LeadersLinked\Controller\EngagementController::class => \LeadersLinked\Factory\Controller\EngagementControllerFactory::class,
-
 
6901
            \LeadersLinked\Controller\EngagementReportsController::class => \LeadersLinked\Factory\Controller\EngagementReportsControllerFactory::class,
-
 
6902
            
-
 
6903
            \LeadersLinked\Controller\DailyPulseController::Class  => \LeadersLinked\Factory\Controller\DailyPulseControllerFactory::class,
-
 
6904
            \LeadersLinked\Controller\DailyPulseEmojiController::Class  => \LeadersLinked\Factory\Controller\DailyPulseEmojiControllerFactory::class,
-
 
6905
            \LeadersLinked\Controller\DailyPulseReportsController::Class  => \LeadersLinked\Factory\Controller\DailyPulseReportsControllerFactory::class,
6749
            \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class  => \LeadersLinked\Factory\Controller\ActivityCenterRecruitmentSelectionControllerFactory::class,
6906
            
6750
            
6907
            
Línea 6751... Línea 6908...
6751
            \LeadersLinked\Controller\MyCoachController::Class  => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
6908
            \LeadersLinked\Controller\MyCoachController::Class  => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
6752
            \LeadersLinked\Controller\MyCoachCategoryController::class  => \LeadersLinked\Factory\Controller\MyCoachCategoryControllerFactory::class,
-
 
6753
            
6909
            \LeadersLinked\Controller\MyCoachCategoryController::class  => \LeadersLinked\Factory\Controller\MyCoachCategoryControllerFactory::class,
Línea 6754... Línea 6910...
6754
            \LeadersLinked\Controller\UserRequestAccessController::class  => \LeadersLinked\Factory\Controller\UserRequestAccessControllerFactory::class,
6910
            
6755
            
6911
            \LeadersLinked\Controller\UserRequestAccessController::class  => \LeadersLinked\Factory\Controller\UserRequestAccessControllerFactory::class,
6756
            
6912
  
6757
            
6913
            
Línea 6866... Línea 7022...
6866
            
7022
            
6867
            '\LeadersLinked\Controller\ActivityCenterController' => \LeadersLinked\Controller\ActivityCenterController::class,
7023
            '\LeadersLinked\Controller\ActivityCenterController' => \LeadersLinked\Controller\ActivityCenterController::class,
6868
            '\LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController' => \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class,
7024
            '\LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController' => \LeadersLinked\Controller\ActivityCenterPerformanceEvaluationController::class,
Línea -... Línea 7025...
-
 
7025
            '\LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController' => \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class,
-
 
7026
            
6869
            '\LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController' => \LeadersLinked\Controller\ActivityCenterRecruitmentSelectionController::class,
7027
            '\LeadersLinked\Controller\EngagementController' => \LeadersLinked\Controller\EngagementController::class,
-
 
7028
            '\LeadersLinked\Controller\EngagementReportsController' => \LeadersLinked\Controller\EngagementReportsController::class,
-
 
7029
            
-
 
7030
            '\LeadersLinked\Controller\DailyPulseController' => \LeadersLinked\Controller\DailyPulseController::class,
-
 
7031
            '\LeadersLinked\Controller\DailyPulseEmojiController' => \LeadersLinked\Controller\DailyPulseEmojiController::class,
6870
            
7032
            '\LeadersLinked\Controller\DailyPulseReportsController' => \LeadersLinked\Controller\DailyPulseReportsController::class,
6871
        
7033
            
Línea 6872... Línea 7034...
6872
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
7034
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,