Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16767 Rev 16770
Línea 3058... Línea 3058...
3058
                    ]
3058
                    ]
3059
                ],
3059
                ],
3060
                'may_terminate' => true,
3060
                'may_terminate' => true,
3061
                'child_routes' => [
3061
                'child_routes' => [
3062
                    'add' => [
3062
                    'add' => [
3063
                        'type' => Literal::class,
3063
                        'type' => Segment::class,
3064
                        'options' => [
3064
                        'options' => [
3065
                            'route' => '/add',
3065
                            'route' => '/add[/:id]',
-
 
3066
                            'constraints' => [
-
 
3067
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
3068
                            ],
3066
                            'defaults' => [
3069
                            'defaults' => [
3067
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
3070
                                'controller' => '\LeadersLinked\Controller\JobDescriptionController',
3068
                                'action' => 'add'
3071
                                'action' => 'add'
3069
                            ]
3072
                            ]
3070
                        ]
3073
                        ]
Línea 3355... Línea 3358...
3355
            ],
3358
            ],
Línea 3356... Línea 3359...
3356
 
3359
 
Línea 3357... Línea 3360...
3357
            /* END JOBS DESCRIPTION */
3360
            /* END JOBS DESCRIPTION */
3358
            
3361
            
3359
            
3362
            
3360
            /**** ORGANIZATION CHART START ****/
3363
            /**** ORGANIZATION  START ****/
3361
            'organization-chart' => [
3364
            'organization' => [
3362
                'type' => Literal::class,
3365
                'type' => Literal::class,
3363
                'options' => [
3366
                'options' => [
3364
                    'route' => '/organization-chart',
3367
                    'route' => '/organization',
3365
                    'defaults' => [
3368
                    'defaults' => [
3366
                        'controller' => '\LeadersLinked\Controller\OrganizationChartController',
3369
                        'controller' => '\LeadersLinked\Controller\OrganizationChartController',
Línea 3372... Línea 3375...
3372
                    'positions' => [
3375
                    'positions' => [
3373
                        'type' => Literal::class,
3376
                        'type' => Literal::class,
3374
                        'options' => [
3377
                        'options' => [
3375
                            'route' => '/positions',
3378
                            'route' => '/positions',
3376
                            'defaults' => [
3379
                            'defaults' => [
3377
                                'controller' => '\LeadersLinked\Controller\OrganizationChartPositionController',
3380
                                'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3378
                                'action' => 'index'
3381
                                'action' => 'index'
3379
                            ]
3382
                            ]
3380
                        ],
3383
                        ],
3381
                        'may_terminate' => true,
3384
                        'may_terminate' => true,
3382
                        'child_routes' => [
3385
                        'child_routes' => [
3383
                            'add' => [
3386
                            'add' => [
3384
                                'type' => Literal::class,
3387
                                'type' => Segment::class,
3385
                                'options' => [
3388
                                'options' => [
-
 
3389
                                    'route' => '/add/:job_description_id',
3386
                                    'route' => '/add',
3390
                                    'constraints' => [
-
 
3391
                                        'job_description_id' => '[A-Za-z0-9\-]+\=*'
-
 
3392
                                    ],
3387
                                    'defaults' => [
3393
                                    'defaults' => [
3388
                                        'controller' => '\LeadersLinked\Controller\OrganizationChartPositionController',
3394
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3389
                                        'action' => 'add'
3395
                                        'action' => 'add'
3390
                                    ]
3396
                                    ]
3391
                                ]
3397
                                ]
3392
                            ],
3398
                            ],
3393
                            'edit' => [
3399
                            'edit' => [
Línea 3396... Línea 3402...
3396
                                    'route' => '/edit/:id',
3402
                                    'route' => '/edit/:id',
3397
                                    'constraints' => [
3403
                                    'constraints' => [
3398
                                        'id' => '[A-Za-z0-9\-]+\=*'
3404
                                        'id' => '[A-Za-z0-9\-]+\=*'
3399
                                    ],
3405
                                    ],
3400
                                    'defaults' => [
3406
                                    'defaults' => [
3401
                                        'controller' => '\LeadersLinked\Controller\OrganizationChartPositionController',
3407
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3402
                                        'action' => 'edit'
3408
                                        'action' => 'edit'
3403
                                    ]
3409
                                    ]
3404
                                ]
3410
                                ]
3405
                            ],
3411
                            ],
3406
                            'delete' => [
3412
                            'delete' => [
Línea 3409... Línea 3415...
3409
                                    'route' => '/delete/:id',
3415
                                    'route' => '/delete/:id',
3410
                                    'constraints' => [
3416
                                    'constraints' => [
3411
                                        'id' => '[A-Za-z0-9\-]+\=*'
3417
                                        'id' => '[A-Za-z0-9\-]+\=*'
3412
                                    ],
3418
                                    ],
3413
                                    'defaults' => [
3419
                                    'defaults' => [
3414
                                        'controller' => '\LeadersLinked\Controller\OrganizationChartPositionController',
3420
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3415
                                        'action' => 'delete'
3421
                                        'action' => 'delete'
3416
                                    ]
3422
                                    ]
3417
                                ]
3423
                                ]
3418
                            ],
3424
                            ],
3419
                            'subordinates' => [
3425
                            'subordinates' => [
Línea 3422... Línea 3428...
3422
                                    'route' => '/subordinates/:id',
3428
                                    'route' => '/subordinates/:id',
3423
                                    'constraints' => [
3429
                                    'constraints' => [
3424
                                        'id' => '[A-Za-z0-9\-]+\=*'
3430
                                        'id' => '[A-Za-z0-9\-]+\=*'
3425
                                    ],
3431
                                    ],
3426
                                    'defaults' => [
3432
                                    'defaults' => [
3427
                                        'controller' => '\LeadersLinked\Controller\OrganizationChartPositionController',
3433
                                        'controller' => '\LeadersLinked\Controller\OrganizationPositionController',
3428
                                        'action' => 'subordinates'
3434
                                        'action' => 'subordinates'
3429
                                    ]
3435
                                    ]
3430
                                ],
3436
                                ],
3431
                                'may_terminate' => true,
3437
                                'may_terminate' => true,
3432
                                'child_routes' => [
3438
                                'child_routes' => [
Línea 6969... Línea 6975...
6969
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
6975
            \LeadersLinked\Controller\GroupTypeController::class => \LeadersLinked\Factory\Controller\GroupTypeControllerFactory::class,
6970
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
6976
            \LeadersLinked\Controller\IndustryController::class => \LeadersLinked\Factory\Controller\IndustryControllerFactory::class,
6971
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
6977
            \LeadersLinked\Controller\JobCategoryController::class => \LeadersLinked\Factory\Controller\JobCategoryControllerFactory::class,
6972
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
6978
            \LeadersLinked\Controller\JobDescriptionController::class => \LeadersLinked\Factory\Controller\JobDescriptionControllerFactory::class,
6973
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
6979
            \LeadersLinked\Controller\PageController::class => \LeadersLinked\Factory\Controller\PageControllerFactory::class,
6974
            \LeadersLinked\Controller\OrganizationChartPositionController::class => \LeadersLinked\Factory\Controller\OrganizationChartPositionControllerFactory::class,
6980
            \LeadersLinked\Controller\OrganizationPositionController::class => \LeadersLinked\Factory\Controller\OrganizationPositionControllerFactory::class,
6975
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
6981
            \LeadersLinked\Controller\PostController::class => \LeadersLinked\Factory\Controller\PostControllerFactory::class,
6976
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
6982
            \LeadersLinked\Controller\SkillController::class => \LeadersLinked\Factory\Controller\SkillControllerFactory::class,
6977
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
6983
            \LeadersLinked\Controller\UserController::class => \LeadersLinked\Factory\Controller\UserControllerFactory::class,
6978
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
6984
            \LeadersLinked\Controller\DashboardController::class => \LeadersLinked\Factory\Controller\DashboardControllerFactory::class,
6979
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
6985
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
Línea 7112... Línea 7118...
7112
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
7118
            '\LeadersLinked\Controller\GroupTypeController' => \LeadersLinked\Controller\GroupTypeController::class,
7113
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
7119
            '\LeadersLinked\Controller\IndustryController' => \LeadersLinked\Controller\IndustryController::class,
7114
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
7120
            '\LeadersLinked\Controller\JobCategoryController' => \LeadersLinked\Controller\JobCategoryController::class,
7115
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
7121
            '\LeadersLinked\Controller\JobDescriptionController' => \LeadersLinked\Controller\JobDescriptionController::class,
7116
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
7122
            '\LeadersLinked\Controller\PageController' => \LeadersLinked\Controller\PageController::class,
7117
            '\LeadersLinked\Controller\OrganizationChartPositionController' => \LeadersLinked\Controller\OrganizationChartPositionController::class,
7123
            '\LeadersLinked\Controller\OrganizationPositionController' => \LeadersLinked\Controller\OrganizationPositionController::class,
7118
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
7124
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
7119
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
7125
            '\LeadersLinked\Controller\SkillController' => \LeadersLinked\Controller\SkillController::class,
7120
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
7126
            '\LeadersLinked\Controller\UserController' => \LeadersLinked\Controller\UserController::class,
7121
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
7127
            '\LeadersLinked\Controller\DashboardController' => \LeadersLinked\Controller\DashboardController::class,
7122
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
7128
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,