Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1349 Rev 1383
Línea 2110... Línea 2110...
2110
                                    ]
2110
                                    ]
2111
                                ]
2111
                                ]
2112
                            ],
2112
                            ],
2113
                        ]
2113
                        ]
2114
                    ],
2114
                    ],
2115
                    'users' => [
2115
                    'evaluations' => [
2116
                        'type' => Literal::class,
2116
                        'type' => Literal::class,
2117
                        'options' => [
2117
                        'options' => [
2118
                            'route' => '/users',
2118
                            'route' => '/evaluations',
2119
                            'defaults' => [
2119
                            'defaults' => [
2120
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormUserController',
2120
                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2121
                                'action' => 'index'
2121
                                'action' => 'index'
2122
                            ]
2122
                            ]
2123
                        ],
2123
                        ],
2124
                        'may_terminate' => true,
2124
                        'may_terminate' => true,
2125
                        'child_routes' => [
2125
                        'child_routes' => [
2126
                            'supervisors' => [
2126
                            'add' => [
2127
                                'type' => Literal::class,
2127
                                'type' => Literal::class,
2128
                                'options' => [
2128
                                'options' => [
2129
                                    'route' => 'supervisors',
2129
                                    'route' => '/add',
2130
                                    'defaults' => [
2130
                                    'defaults' => [
2131
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2131
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2132
                                        'action' => 'index'
2132
                                        'action' => 'add'
2133
                                    ]
2133
                                    ]
2134
                                ],
2134
                                ]
2135
                                'may_terminate' => true,
-
 
2136
                                'child_routes' => [
-
 
2137
                                    'add' => [
-
 
2138
                                        'type' => Segment::class,
-
 
2139
                                        'options' => [
-
 
2140
                                            'route' => '/add/:form_id/:user_id',
-
 
2141
                                            'constraints' => [
-
 
2142
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
2143
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
-
 
2144
                                            ],
-
 
2145
                                            'defaults' => [
-
 
2146
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
-
 
2147
                                                'action' => 'add'
-
 
2148
                                            ]
-
 
2149
                                        ]
-
 
2150
                                    ],
2135
                            ],
2151
                                    'delete' => [
2136
                            'edit' => [
2152
                                        'type' => Segment::class,
2137
                                'type' => Segment::class,
2153
                                        'options' => [
2138
                                'options' => [
2154
                                            'route' => '/delete/:form_id/:user_id',
2139
                                    'route' => '/edit/:id',
2155
                                            'constraints' => [
2140
                                    'constraints' => [
2156
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
2141
                                        'id' => '[A-Za-z0-9\-]+\=*',
2157
                                                'user_id' => '[A-Za-z0-9\-]+\=*'
-
 
2158
                                            ],
2142
                                    ],
2159
                                            'defaults' => [
2143
                                    'defaults' => [
2160
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormSupervisorController',
2144
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2161
                                                'action' => 'delete'
2145
                                        'action' => 'edit'
2162
                                            ]
-
 
2163
                                        ]
-
 
2164
                                    ]
2146
                                    ]
2165
                                ]
2147
                                ]
2166
                            ],   
2148
                            ],
2167
                            'employees' => [
2149
                            'delete' => [
2168
                                'type' => Literal::class,
2150
                                'type' => Segment::class,
2169
                                'options' => [
2151
                                'options' => [
2170
                                    'route' => 'employees',
2152
                                    'route' => '/delete/:id',
-
 
2153
                                    'constraints' => [
-
 
2154
                                        'id' => '[A-Za-z0-9\-]+\=*',
-
 
2155
                                    ],
2171
                                    'defaults' => [
2156
                                    'defaults' => [
2172
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2157
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2173
                                        'action' => 'index'
2158
                                        'action' => 'delete'
2174
                                    ]
2159
                                    ]
2175
                                ],
2160
                                ]
2176
                                'may_terminate' => true,
-
 
2177
                                'child_routes' => [
-
 
2178
                                    'add' => [
-
 
2179
                                        'type' => Segment::class,
-
 
2180
                                        'options' => [
-
 
2181
                                            'route' => '/add/:form_id/:supervisor_id/:employee_id',
-
 
2182
                                            'constraints' => [
-
 
2183
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
2184
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
-
 
2185
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
-
 
2186
                                            ],
-
 
2187
                                            'defaults' => [
-
 
2188
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
-
 
2189
                                                'action' => 'add'
-
 
2190
                                            ]
-
 
2191
                                        ]
-
 
2192
                                    ],
2161
                            ],
2193
                                    'delete' => [
2162
                            'users' => [
2194
                                        'type' => Segment::class,
2163
                                'type' => Literal::class,
2195
                                        'options' => [
2164
                                'options' => [
2196
                                            'route' => '/delete/:form_id/:supervisor_id/:employee_id',
-
 
2197
                                            'constraints' => [
-
 
2198
                                                'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
2199
                                                'supervisor_id' => '[A-Za-z0-9\-]+\=*',
-
 
2200
                                                'employee_id' => '[A-Za-z0-9\-]+\=*'
-
 
2201
                                            ],
2165
                                    'route' => '/users',
2202
                                            'defaults' => [
2166
                                    'defaults' => [
2203
                                                'controller' => '\LeadersLinked\Controller\PerformanceEvaluationFormEmployeeController',
2167
                                        'controller' => '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController',
2204
                                                'action' => 'delete'
2168
                                        'action' => 'users'
2205
                                            ]
-
 
2206
                                        ]
-
 
2207
                                    ]
2169
                                    ]
2208
                                ]
2170
                                ]
2209
                            ], 
2171
                            ],
-
 
2172
                        
-
 
2173
                 
Línea 2210... Línea 2174...
2210
                           
2174
                           
2211
                        ]
2175
                        ]
2212
                    ],
2176
                    ],
2213
                ]
2177
                ]
Línea 3190... Línea 3154...
3190
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
3154
            \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
3191
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
3155
            \LeadersLinked\Controller\SelfEvaluationFormController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormControllerFactory::class,
3192
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
3156
            \LeadersLinked\Controller\SelfEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\SelfEvaluationFormUserControllerFactory::class,
3193
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
3157
            \LeadersLinked\Controller\SelfEvaluationReviewController::class => \LeadersLinked\Factory\Controller\SelfEvaluationReviewControllerFactory::class,
3194
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
3158
            \LeadersLinked\Controller\PerformanceEvaluationFormController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormControllerFactory::class,
3195
            \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationFormUserControllerFactory::class,
3159
            \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationEvaluationControllerFactory::class,
3196
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
3160
            \LeadersLinked\Controller\MicrolearningController::class => \LeadersLinked\Factory\Controller\MicrolearningControllerFactory::class,
3197
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
3161
            \LeadersLinked\Controller\MicrolearningQuizController::class => \LeadersLinked\Factory\Controller\MicrolearningQuizControllerFactory::class,
3198
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
3162
            \LeadersLinked\Controller\MicrolearningQuestionController::class => \LeadersLinked\Factory\Controller\MicrolearningQuestionControllerFactory::class,
3199
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
3163
            \LeadersLinked\Controller\MicrolearningAnswerController::class => \LeadersLinked\Factory\Controller\MicrolearningAnswerControllerFactory::class,
3200
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
3164
            \LeadersLinked\Controller\MicrolearningTopicController::class => \LeadersLinked\Factory\Controller\MicrolearningTopicControllerFactory::class,
Línea 3246... Línea 3210...
3246
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
3210
            '\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
3247
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
3211
            '\LeadersLinked\Controller\SelfEvaluationFormController' => \LeadersLinked\Controller\SelfEvaluationFormController::class,
3248
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
3212
            '\LeadersLinked\Controller\SelfEvaluationFormUserController' => \LeadersLinked\Controller\SelfEvaluationFormUserController::class,
3249
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
3213
            '\LeadersLinked\Controller\SelfEvaluationReviewController' => \LeadersLinked\Controller\SelfEvaluationReviewController::class,
3250
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
3214
            '\LeadersLinked\Controller\PerformanceEvaluationFormController' => \LeadersLinked\Controller\PerformanceEvaluationFormController::class,
3251
            '\LeadersLinked\Controller\PerformanceEvaluationFormUserController' => \LeadersLinked\Controller\PerformanceEvaluationFormUserController::class,
3215
            '\LeadersLinked\Controller\PerformanceEvaluationEvaluationController' => \LeadersLinked\Controller\PerformanceEvaluationEvaluationController::class,
3252
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
3216
            '\LeadersLinked\Controller\MicrolearningController' => \LeadersLinked\Controller\MicrolearningController::class,
3253
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
3217
            '\LeadersLinked\Controller\MicrolearningQuizController' => \LeadersLinked\Controller\MicrolearningQuizController::class,
3254
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
3218
            '\LeadersLinked\Controller\MicrolearningQuestionController' => \LeadersLinked\Controller\MicrolearningQuestionController::class,
3255
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
3219
            '\LeadersLinked\Controller\MicrolearningAnswerController' => \LeadersLinked\Controller\MicrolearningAnswerController::class,
3256
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,
3220
            '\LeadersLinked\Controller\MicrolearningTopicController' => \LeadersLinked\Controller\MicrolearningTopicController::class,