Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16770 Rev 16785
Línea 5... Línea 5...
5
namespace LeadersLinked;
5
namespace LeadersLinked;
Línea 6... Línea 6...
6
 
6
 
7
use Laminas\Router\Http\Literal;
7
use Laminas\Router\Http\Literal;
Línea -... Línea 8...
-
 
8
use Laminas\Router\Http\Segment;
8
use Laminas\Router\Http\Segment;
9
 
9
 
10
 
10
return [
11
return [
11
    'navigation' => [
12
    'navigation' => [
12
        'menu' => [],
13
        'menu' => [],
Línea 4190... Línea 4191...
4190
                        'action' => 'index'
4191
                        'action' => 'index'
4191
                    ]
4192
                    ]
4192
                ],
4193
                ],
4193
                'may_terminate' => true,
4194
                'may_terminate' => true,
4194
                'child_routes' => [
4195
                'child_routes' => [
-
 
4196
                    'periods' => [
-
 
4197
                        'type' => Literal::class,
-
 
4198
                        'options' => [
-
 
4199
                            'route' => '/periods',
-
 
4200
                            'defaults' => [
-
 
4201
                                'controller' => '\LeadersLinked\Controller\PlanningPeriodController',
-
 
4202
                                'action' => 'index'
-
 
4203
                            ]
-
 
4204
                        ],
-
 
4205
                        'may_terminate' => true,
-
 
4206
                        'child_routes' => [
-
 
4207
                            'add' => [
-
 
4208
                                'type' => Literal::class,
-
 
4209
                                'options' => [
-
 
4210
                                    'route' => '/add',
-
 
4211
                                    'defaults' => [
-
 
4212
                                        'controller' => '\LeadersLinked\Controller\PlanningPeriodController',
-
 
4213
                                        'action' => 'add'
-
 
4214
                                    ]
-
 
4215
                                ]
-
 
4216
                            ],
-
 
4217
                            'edit' => [
-
 
4218
                                'type' => Segment::class,
-
 
4219
                                'options' => [
-
 
4220
                                    'route' => '/edit/:id',
-
 
4221
                                    'constraints' => [
-
 
4222
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4223
                                    ],
-
 
4224
                                    'defaults' => [
-
 
4225
                                        'controller' => '\LeadersLinked\Controller\PlanningPeriodController',
-
 
4226
                                        'action' => 'edit'
-
 
4227
                                    ]
-
 
4228
                                ]
-
 
4229
                            ],
-
 
4230
                            'delete' => [
-
 
4231
                                'type' => Segment::class,
-
 
4232
                                'options' => [
-
 
4233
                                    'route' => '/delete/:id',
-
 
4234
                                    'constraints' => [
-
 
4235
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4236
                                    ],
-
 
4237
                                    'defaults' => [
-
 
4238
                                        'controller' => '\LeadersLinked\Controller\PlanningPeriodController',
-
 
4239
                                        'action' => 'delete'
-
 
4240
                                    ]
-
 
4241
                                ]
-
 
4242
                            ],
-
 
4243
                        ]        
-
 
4244
                    ],
-
 
4245
                    
4195
                    'objectives' => [
4246
                    'objectives' => [
4196
                        'type' => Literal::class,
4247
                        'type' => Literal::class,
4197
                        'options' => [
4248
                        'options' => [
4198
                            'route' => '/objectives',
4249
                            'route' => '/objectives',
4199
                            'defaults' => [
4250
                            'defaults' => [
4200
                                'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4251
                                'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4201
                                'action' => 'index'
4252
                                'action' => 'index'
4202
                            ]
4253
                            ]
4203
                        ],
4254
                        ],
Línea 4204... Línea 4255...
4204
 
4255
 
4205
                        'may_terminate' => true,
4256
                        'may_terminate' => true,
Línea 4206... Línea 4257...
4206
                        'child_routes' => [
4257
                        'child_routes' => [
4207
 
4258
 
4208
                            'add' => [
4259
                            'add' => [
4209
                                'type' => Literal::class,
4260
                                'type' => Segment::class,
-
 
4261
                                'options' => [
-
 
4262
                                    'route' => '/add/[:period_id]',
-
 
4263
                                    'constraints' => [
4210
                                'options' => [
4264
                                        'period_id' => '[A-Za-z0-9\-]+\=*'
4211
                                    'route' => '/add',
4265
                                    ],
4212
                                    'defaults' => [
4266
                                    'defaults' => [
4213
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4267
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4214
                                        'action' => 'add'
4268
                                        'action' => 'add'
4215
                                    ]
4269
                                    ]
4216
                                ]
4270
                                ]
Línea 4221... Línea 4275...
4221
                                    'route' => '/edit/:id',
4275
                                    'route' => '/edit/:id',
4222
                                    'constraints' => [
4276
                                    'constraints' => [
4223
                                        'id' => '[A-Za-z0-9\-]+\=*'
4277
                                        'id' => '[A-Za-z0-9\-]+\=*'
4224
                                    ],
4278
                                    ],
4225
                                    'defaults' => [
4279
                                    'defaults' => [
4226
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4280
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4227
                                        'action' => 'edit'
4281
                                        'action' => 'edit'
4228
                                    ]
4282
                                    ]
4229
                                ]
4283
                                ]
4230
                            ],
4284
                            ],
4231
                            'delete' => [
4285
                            'delete' => [
Línea 4239... Línea 4293...
4239
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4293
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4240
                                        'action' => 'delete'
4294
                                        'action' => 'delete'
4241
                                    ]
4295
                                    ]
4242
                                ]
4296
                                ]
4243
                            ],
4297
                            ],
4244
                            'report' => [
4298
                            'analysis' => [
4245
                                'type' => Segment::class,
4299
                                'type' => Segment::class,
4246
                                'options' => [
4300
                                'options' => [
4247
                                    'route' => '/report/:id',
4301
                                    'route' => '/analysis/:id',
4248
                                    'constraints' => [
4302
                                    'constraints' => [
4249
                                        'id' => '[A-Za-z0-9\-]+\=*'
4303
                                        'id' => '[A-Za-z0-9\-]+\=*'
4250
                                    ],
4304
                                    ],
4251
                                    'defaults' => [
4305
                                    'defaults' => [
4252
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4306
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4253
                                        'action' => 'report'
4307
                                        'action' => 'analysis'
4254
                                    ]
4308
                                    ]
4255
                                ]
4309
                                ]
4256
                            ],
4310
                            ],
4257
                            'reportall' => [
4311
                            'full' => [
4258
                                'type' => Literal::class,
4312
                                'type' => Segment::class,
4259
                                'options' => [
4313
                                'options' => [
4260
                                    'route' => '/reportall',
4314
                                    'route' => '/report-full/:id',
-
 
4315
                                    'constraints' => [
-
 
4316
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4317
                                    ],
4261
                                    'defaults' => [
4318
                                    'defaults' => [
4262
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4319
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4263
                                        'action' => 'reportall'
4320
                                        'action' => 'full'
4264
                                    ]
4321
                                    ]
4265
                                ]
4322
                                ]
4266
                            ],
4323
                            ],
4267
 
-
 
4268
                            'matriz' => [
4324
                            'matrix' => [
4269
                                'type' => Literal::class,
4325
                                'type' => Segment::class,
4270
                                'options' => [
4326
                                'options' => [
4271
                                    'route' => '/matriz',
4327
                                    'route' => '/matrix/:id',
-
 
4328
                                    'constraints' => [
-
 
4329
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4330
                                    ],
4272
                                    'defaults' => [
4331
                                    'defaults' => [
4273
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectivesController',
4332
                                        'controller' => '\LeadersLinked\Controller\PlanningObjectiveController',
4274
                                        'action' => 'matriz'
4333
                                        'action' => 'matrix'
4275
                                    ]
4334
                                    ]
4276
                                ]
4335
                                ]
4277
                            ],
4336
                            ],
-
 
4337
 
-
 
4338
                        ]
-
 
4339
                    ],
-
 
4340
                    
-
 
4341
                    'goals' => [
-
 
4342
                        'type' => Literal::class,
-
 
4343
                        'options' => [
-
 
4344
                            'route' => '/goals',
-
 
4345
                            'defaults' => [
-
 
4346
                                'controller' => '\LeadersLinked\Controller\PlanningGoalController',
-
 
4347
                                'action' => 'index'
-
 
4348
                            ]
-
 
4349
                        ],
-
 
4350
                        
-
 
4351
                        'may_terminate' => true,
-
 
4352
                        'child_routes' => [
4278
                            'goals' => [
4353
                            'add' => [
4279
                                'type' => Segment::class,
4354
                                'type' => Segment::class,
4280
                                'options' => [
4355
                                'options' => [
4281
                                    'route' => '/:objective_id/goals',
4356
                                    'route' => '/add/:objective_id',
4282
                                    'constraints' => [
4357
                                    'constraints' => [
4283
                                        'objective_id' => '[A-Za-z0-9\-]+\=*'
4358
                                        'objective_id' => '[A-Za-z0-9\-]+\=*'
4284
                                    ],
4359
                                    ],
4285
                                    'defaults' => [
4360
                                    'defaults' => [
4286
                                        'controller' => '\LeadersLinked\Controller\PlanningGoalsController',
4361
                                        'controller' => '\LeadersLinked\Controller\PlanningGoalController',
4287
                                        'action' => 'index'
4362
                                        'action' => 'add'
4288
                                    ]
4363
                                    ]
4289
                                ],
4364
                                ]
4290
 
-
 
4291
                                'may_terminate' => true,
-
 
4292
                                'child_routes' => [
4365
                            ],
4293
                                    'add' => [
4366
                            'edit' => [
4294
                                        'type' => Literal::class,
4367
                                'type' => Segment::class,
4295
                                        'options' => [
4368
                                'options' => [
4296
                                            'route' => '/add',
4369
                                    'route' => '/edit/:id',
4297
                                            'defaults' => [
4370
                                    'constraints' => [
4298
                                                'controller' => '\LeadersLinked\Controller\PlanningGoalsController',
-
 
4299
                                                'action' => 'add'
4371
                                        'id' => '[A-Za-z0-9\-]+\=*'
4300
                                            ]
-
 
4301
                                        ]
-
 
4302
                                    ],
4372
                                    ],
4303
                                    'edit' => [
4373
                                    'defaults' => [
4304
                                        'type' => Segment::class,
4374
                                        'controller' => '\LeadersLinked\Controller\PlanningGoalController',
4305
                                        'options' => [
4375
                                        'action' => 'edit'
4306
                                            'route' => '/edit/:id',
4376
                                    ]
4307
                                            'constraints' => [
4377
                                ]
4308
                                                'id' => '[A-Za-z0-9\-]+\=*'
4378
                            ],
4309
                                            ],
4379
                            'delete' => [
4310
                                            'defaults' => [
4380
                                'type' => Segment::class,
4311
                                                'controller' => '\LeadersLinked\Controller\PlanningGoalsController',
4381
                                'options' => [
4312
                                                'action' => 'edit'
4382
                                    'route' => '/delete/:id',
4313
                                            ]
4383
                                    'constraints' => [
4314
                                        ]
4384
                                        'id' => '[A-Za-z0-9\-]+\=*'
4315
                                    ],
4385
                                    ],
4316
                                    'delete' => [
4386
                                    'defaults' => [
4317
                                        'type' => Segment::class,
4387
                                        'controller' => '\LeadersLinked\Controller\PlanningGoalController',
4318
                                        'options' => [
4388
                                        'action' => 'delete'
4319
                                            'route' => '/delete/:id',
4389
                                    ]
4320
                                            'constraints' => [
4390
                                ]
-
 
4391
                            ],
-
 
4392
                        ]
-
 
4393
                    ],
-
 
4394
                    
-
 
4395
                    'tasks' => [
4321
                                                'id' => '[A-Za-z0-9\-]+\=*'
4396
                        'type' => Literal::class,
-
 
4397
                        'options' => [
4322
                                            ],
4398
                            'route' => '/tasks',
4323
                                            'defaults' => [
4399
                            'defaults' => [
4324
                                                'controller' => '\LeadersLinked\Controller\PlanningGoalsController',
4400
                                'controller' => '\LeadersLinked\Controller\PlanningTaskController',
4325
                                                'action' => 'delete'
4401
                                'action' => 'index'
-
 
4402
                            ]
-
 
4403
                        ],
-
 
4404
                        
-
 
4405
                        'may_terminate' => true,
-
 
4406
                        'child_routes' => [
-
 
4407
                            'add' => [
-
 
4408
                                'type' => Segment::class,
4326
                                            ]
4409
                                'options' => [
-
 
4410
                                    'route' => '/add/:goal_id',
4327
                                        ]
4411
                                    'constraints' => [
-
 
4412
                                        'goal_id' => '[A-Za-z0-9\-]+\=*',
4328
                                    ],
4413
                                    ],
4329
                                    'task' => [
4414
                                    'defaults' => [
4330
                                        'type' => Segment::class,
-
 
4331
                                        'options' => [
-
 
4332
                                            'route' => '/:goal_id/task',
-
 
4333
                                            'constraints' => [
-
 
4334
                                                'goal_id' => '[A-Za-z0-9\-]+\=*'
-
 
4335
                                            ],
-
 
4336
                                            'defaults' => [
-
 
4337
                                                'controller' => '\LeadersLinked\Controller\PlanningTaskController',
4415
                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
4338
                                                'action' => 'index'
4416
                                        'action' => 'add'
4339
                                            ]
4417
                                    ]
4340
                                        ],
4418
                                ]
4341
 
-
 
4342
                                        'may_terminate' => true,
-
 
4343
                                        'child_routes' => [
-
 
4344
                                            'add' => [
-
 
4345
                                                'type' => Literal::class,
-
 
4346
                                                'options' => [
-
 
4347
                                                    'route' => '/add',
-
 
4348
                                                    'defaults' => [
-
 
4349
                                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
-
 
4350
                                                        'action' => 'add'
-
 
4351
                                                    ]
-
 
4352
                                                ]
-
 
4353
                                            ],
4419
                            ],
4354
                                            'edit' => [
4420
                            'edit' => [
4355
                                                'type' => Segment::class,
4421
                                'type' => Segment::class,
4356
                                                'options' => [
4422
                                'options' => [
4357
                                                    'route' => '/edit/:id',
4423
                                    'route' => '/edit/:id',
4358
                                                    'constraints' => [
4424
                                    'constraints' => [
4359
                                                        'id' => '[A-Za-z0-9\-]+\=*'
4425
                                        'id' => '[A-Za-z0-9\-]+\=*'
4360
                                                    ],
4426
                                    ],
4361
                                                    'defaults' => [
4427
                                    'defaults' => [
4362
                                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
4428
                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
4363
                                                        'action' => 'edit'
4429
                                        'action' => 'edit'
4364
                                                    ]
4430
                                    ]
4365
                                                ]
4431
                                ]
4366
                                            ],
4432
                            ],
4367
                                            'delete' => [
4433
                            'delete' => [
4368
                                                'type' => Segment::class,
4434
                                'type' => Segment::class,
4369
                                                'options' => [
4435
                                'options' => [
4370
                                                    'route' => '/delete/:id',
4436
                                    'route' => '/delete/:id',
4371
                                                    'constraints' => [
-
 
4372
                                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4373
                                                    ],
-
 
4374
                                                    'defaults' => [
-
 
4375
                                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
-
 
4376
                                                        'action' => 'delete'
-
 
4377
                                                    ]
-
 
4378
                                                ]
-
 
4379
                                            ],
-
 
4380
                                            'view' => [
4437
                                    'constraints' => [
4381
                                                'type' => Segment::class,
-
 
4382
                                                'options' => [
-
 
4383
                                                    'route' => '/view/:id',
-
 
4384
                                                    'constraints' => [
-
 
4385
                                                        'id' => '[A-Za-z0-9\-]+\=*'
4438
                                        'id' => '[A-Za-z0-9\-]+\=*'
4386
                                                    ],
-
 
4387
                                                    'defaults' => [
-
 
4388
                                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
-
 
4389
                                                        'action' => 'view'
-
 
4390
                                                    ]
-
 
4391
                                                ]
-
 
4392
                                            ],
-
 
4393
                                        ]
-
 
4394
                                    ],
4439
                                    ],
-
 
4440
                                    'defaults' => [
-
 
4441
                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
-
 
4442
                                        'action' => 'delete'
-
 
4443
                                    ]
-
 
4444
                                ]
-
 
4445
                            ],
-
 
4446
                            'view' => [
-
 
4447
                                'type' => Segment::class,
-
 
4448
                                'options' => [
-
 
4449
                                    'route' => '/view/:id',
-
 
4450
                                    'constraints' => [
-
 
4451
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
4452
                                    ],
-
 
4453
                                    'defaults' => [
-
 
4454
                                        'controller' => '\LeadersLinked\Controller\PlanningTaskController',
-
 
4455
                                        'action' => 'view'
-
 
4456
                                    ]
4395
                                ]
4457
                                ]
4396
                            ],
4458
                            ],
4397
                        ]
4459
                        ]
4398
                    ]
4460
                    ],
4399
 
-
 
4400
                ]
4461
                ]
4401
            ],
4462
            ],
Línea 4402... Línea 4463...
4402
 
4463
 
Línea 7019... Línea 7080...
7019
            \LeadersLinked\Controller\MicrolearningExtendUserCountryController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCountryControllerFactory::class,
7080
            \LeadersLinked\Controller\MicrolearningExtendUserCountryController::class => \LeadersLinked\Factory\Controller\MicrolearningExtendUserCountryControllerFactory::class,
7020
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
7081
            \LeadersLinked\Controller\StorageController::class => \LeadersLinked\Factory\Controller\StorageControllerFactory::class,
7021
            \LeadersLinked\Controller\StorageNetworkController::class => \LeadersLinked\Factory\Controller\StorageNetworkControllerFactory::class,
7082
            \LeadersLinked\Controller\StorageNetworkController::class => \LeadersLinked\Factory\Controller\StorageNetworkControllerFactory::class,
Línea 7022... Línea 7083...
7022
            
7083
            
-
 
7084
            \LeadersLinked\Controller\PlanningController::class => \LeadersLinked\Factory\Controller\PlanningControllerFactory::class,
7023
            \LeadersLinked\Controller\PlanningController::class => \LeadersLinked\Factory\Controller\PlanningControllerFactory::class,
7085
            \LeadersLinked\Controller\PlanningPeriodController::class => \LeadersLinked\Factory\Controller\PlanningPeriodControllerFactory::class,
7024
            \LeadersLinked\Controller\PlanningObjectivesController::class => \LeadersLinked\Factory\Controller\PlanningObjectivesControllerFactory::class,
7086
            \LeadersLinked\Controller\PlanningObjectiveController::class => \LeadersLinked\Factory\Controller\PlanningObjectiveControllerFactory::class,
7025
            \LeadersLinked\Controller\PlanningGoalsController::class => \LeadersLinked\Factory\Controller\PlanningGoalsControllerFactory::class,
7087
            \LeadersLinked\Controller\PlanningGoalController::class => \LeadersLinked\Factory\Controller\PlanningGoalControllerFactory::class,
Línea 7026... Línea 7088...
7026
            \LeadersLinked\Controller\PlanningTaskController::class => \LeadersLinked\Factory\Controller\PlanningTaskControllerFactory::class,
7088
            \LeadersLinked\Controller\PlanningTaskController::class => \LeadersLinked\Factory\Controller\PlanningTaskControllerFactory::class,
7027
           
7089
           
7028
            \LeadersLinked\Controller\PrivateNetworksController::class => \LeadersLinked\Factory\Controller\PrivateNetworksControllerFactory::class,
7090
            \LeadersLinked\Controller\PrivateNetworksController::class => \LeadersLinked\Factory\Controller\PrivateNetworksControllerFactory::class,
Línea 7162... Línea 7224...
7162
 
7224
 
7163
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
7225
            '\LeadersLinked\Controller\StorageController' => \LeadersLinked\Controller\StorageController::class,
Línea 7164... Línea 7226...
7164
            '\LeadersLinked\Controller\StorageNetworkController' => \LeadersLinked\Controller\StorageNetworkController::class,
7226
            '\LeadersLinked\Controller\StorageNetworkController' => \LeadersLinked\Controller\StorageNetworkController::class,
-
 
7227
 
7165
 
7228
            '\LeadersLinked\Controller\PlanningController' => \LeadersLinked\Controller\PlanningController::class,
-
 
7229
            '\LeadersLinked\Controller\PlanningGoalController' => \LeadersLinked\Controller\PlanningGoalController::class,
7166
            '\LeadersLinked\Controller\PlanningController' => \LeadersLinked\Controller\PlanningController::class,
7230
            '\LeadersLinked\Controller\PlanningObjectiveController' => \LeadersLinked\Controller\PlanningObjectiveController::class,
7167
            '\LeadersLinked\Controller\PlanningObjectivesController' => \LeadersLinked\Controller\PlanningObjectivesController::class,
-
 
-
 
7231
            '\LeadersLinked\Controller\PlanningPeriodController' => \LeadersLinked\Controller\PlanningPeriodController::class,
Línea 7168... Línea 7232...
7168
            '\LeadersLinked\Controller\PlanningTaskController' => \LeadersLinked\Controller\PlanningTaskController::class,
7232
            '\LeadersLinked\Controller\PlanningTaskController' => \LeadersLinked\Controller\PlanningTaskController::class,
7169
            '\LeadersLinked\Controller\PlanningGoalsController' => \LeadersLinked\Controller\PlanningGoalsController::class,
7233
           
7170
           
7234
           
7171
            '\LeadersLinked\Controller\MyPrivateNetworkController' => \LeadersLinked\Controller\MyPrivateNetworkController::class,
7235
            '\LeadersLinked\Controller\MyPrivateNetworkController' => \LeadersLinked\Controller\MyPrivateNetworkController::class,