Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 320 Rev 323
Línea 481... Línea 481...
481
                                        'action' => 'delete'
481
                                        'action' => 'delete'
482
                                    ]
482
                                    ]
483
                                ]
483
                                ]
484
                            ],
484
                            ],
485
                            'registers' => [
485
                            'registers' => [
486
                                'type' => Literal::class,
486
                                'type' => Segment::class,
487
                                'options' => [
487
                                'options' => [
488
                                    'route' => '/registers',
488
                                    'route' => '/registers/:id',
489
                                    'defaults' => [
489
                                    'defaults' => [
490
                                        'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
490
                                        'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
491
                                        'action' => 'index'
491
                                        'action' => 'index'
492
                                    ]
492
                                    ]
493
                                ],
493
                                ],
494
                                'may_terminate' => true,
494
                                'may_terminate' => true,
495
                                'child_routes' => [
495
                                'child_routes' => [
496
                                    'link' => [
-
 
497
                                        'type' => Segment::class,
-
 
498
                                        'options' => [
-
 
499
                                            'route' => '/link/:id',
-
 
500
                                            'constraints' => [
-
 
501
                                                'id'    => '[A-Za-z0-9\-]+\=*',
-
 
502
                                            ],
-
 
503
                                            'defaults' => [
-
 
504
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
-
 
505
                                                'action' => 'link'
-
 
506
                                            ],
-
 
507
                                        ],
-
 
-
 
496
          
508
                                    ],
-
 
509
                                    'add' => [
497
                                    'add' => [
510
                                        'type' => Literal::class,
498
                                        'type' => Literal::class,
511
                                        'options' => [
499
                                        'options' => [
512
                                            'route' => '/add',
500
                                            'route' => '/add',
513
                                            'defaults' => [
501
                                            'defaults' => [
Línea 517... Línea 505...
517
                                        ],
505
                                        ],
518
                                    ],
506
                                    ],
519
                                    'edit' => [
507
                                    'edit' => [
520
                                        'type' => Segment::class,
508
                                        'type' => Segment::class,
521
                                        'options' => [
509
                                        'options' => [
522
                                            'route' => '/edit/:id',
510
                                            'route' => '/edit/:register',
523
                                            'constraints' => [
511
                                            'constraints' => [
524
                                                'id'    => '[A-Za-z0-9\-]+\=*',
512
                                                'registerd'    => '[A-Za-z0-9\-]+\=*',
525
                                            ],
513
                                            ],
526
                                            'defaults' => [
514
                                            'defaults' => [
527
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
515
                                                'controller' => '\LeadersLinked\Controller\HabitSkillRegisterController',
528
                                                'action' => 'edit'
516
                                                'action' => 'edit'
529
                                            ]
517
                                            ]
530
                                        ]
518
                                        ]
531
                                    ],
519
                                    ],
532
                                    'delete' => [
520
                                    'delete' => [
533
                                        'type' => Segment::class,
521
                                        'type' => Segment::class,
534
                                        'options' => [
522
                                        'options' => [
535
                                            'route' => '/delete/:id',
523
                                            'route' => '/delete/:register',
536
                                            'constraints' => [
524
                                            'constraints' => [
537
                                                'id'    => '[A-Za-z0-9\-]+\=*',
525
                                                'register'    => '[A-Za-z0-9\-]+\=*',
538
                                            ],
526
                                            ],
539
                                            'defaults' => [
527
                                            'defaults' => [
540
                                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
528
                                                'controller' => '\LeadersLinked\Controller\HabitSkillController',
541
                                                'action' => 'delete'
529
                                                'action' => 'delete'
542
                                            ]
530
                                            ]
Línea 3740... Línea 3728...
3740
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3728
                                        'controller' => '\LeadersLinked\Controller\HelperController',
3741
                                        'action' => 'habitsAndSkillsGet'
3729
                                        'action' => 'habitsAndSkillsGet'
3742
                                    ]
3730
                                    ]
3743
                                ]
3731
                                ]
3744
                            ],
3732
                            ],
-
 
3733
                            'my' => [
-
 
3734
                                'type' => Literal::class,
-
 
3735
                                'options' => [
-
 
3736
                                    'route' => '/my',
-
 
3737
                                    'defaults' => [
-
 
3738
                                        'controller' => '\LeadersLinked\Controller\HelperController',
-
 
3739
                                        'action' => 'myHabitsAndSkillsGet'
-
 
3740
                                    ]
-
 
3741
                                ]
-
 
3742
                            ],
3745
                        ]
3743
                        ]
3746
                    ],
3744
                    ],
3747
                ]
3745
                ]
3748
            ],
3746
            ],
3749
            'help' => [
3747
            'help' => [
Línea 4184... Línea 4182...
4184
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
4182
            \LeadersLinked\Controller\ShorterController::class => \LeadersLinked\Factory\Controller\ShorterControllerFactory::class,
Línea 4185... Línea 4183...
4185
            
4183
            
Línea -... Línea 4184...
-
 
4184
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
4186
            \LeadersLinked\Controller\ServiceController::class => \LeadersLinked\Factory\Controller\ServiceControllerFactory::class,
4185
            
4187
            
4186
            
4188
            
4187
            
4189
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4188
            \LeadersLinked\Controller\HabitController::class => \LeadersLinked\Factory\Controller\HabitControllerFactory::class,
4190
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
4189
            \LeadersLinked\Controller\HabitValueController::class => \LeadersLinked\Factory\Controller\HabitValueControllerFactory::class,
-
 
4190
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4191
            \LeadersLinked\Controller\HabitParadigmController::class => \LeadersLinked\Factory\Controller\HabitParadigmControllerFactory::class,
4191
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
Línea 4192... Línea 4192...
4192
            \LeadersLinked\Controller\HabitPurposeController::class => \LeadersLinked\Factory\Controller\HabitPurposeControllerFactory::class,
4192
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
4193
            \LeadersLinked\Controller\HabitSkillController::class => \LeadersLinked\Factory\Controller\HabitSkillControllerFactory::class,
4193
            \LeadersLinked\Controller\HabitSkillRegisterController::class  => \LeadersLinked\Factory\Controller\HabitSkillRegisterControllerFactory::class,
4194
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
4194
            \LeadersLinked\Controller\HabitGoalController::class => \LeadersLinked\Factory\Controller\HabitGoalControllerFactory::class,
Línea 4240... Línea 4240...
4240
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4240
            '\LeadersLinked\Controller\HabitController' => \LeadersLinked\Controller\HabitController::class,
4241
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4241
            '\LeadersLinked\Controller\HabitValueController' => \LeadersLinked\Controller\HabitValueController::class,
4242
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4242
            '\LeadersLinked\Controller\HabitParadigmController' => \LeadersLinked\Controller\HabitParadigmController::class,
4243
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4243
            '\LeadersLinked\Controller\HabitPurposeController' => \LeadersLinked\Controller\HabitPurposeController::class,
4244
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
4244
            '\LeadersLinked\Controller\HabitSkillController' => \LeadersLinked\Controller\HabitSkillController::class,
-
 
4245
            '\LeadersLinked\Controller\HabitSkillRegisterController' => \LeadersLinked\Controller\HabitSkillRegisterController::class,
4245
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4246
            '\LeadersLinked\Controller\HabitGoalController' => \LeadersLinked\Controller\HabitGoalController::class,
4246
            //'\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4247
            //'\LeadersLinked\Controller\SelfEvaluationController' => \LeadersLinked\Controller\SelfEvaluationController::class,
4247
            //'\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4248
            //'\LeadersLinked\Controller\ZoomController' => \LeadersLinked\Controller\ZoomController::class,
4248
        ]
4249
        ]
4249
    ],
4250
    ],