Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6388 Rev 6521
Línea 488... Línea 488...
488
                    'questions' => [
488
                    'questions' => [
489
                        'type' => Literal::class,
489
                        'type' => Literal::class,
490
                        'options' => [
490
                        'options' => [
491
                            'route' => '/questions',
491
                            'route' => '/questions',
492
                            'defaults' => [
492
                            'defaults' => [
493
                                'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
493
                                'controller' => '\LeadersLinked\Controller\MyCoachController',
494
                                'action' => 'index'
494
                                'action' => 'questions'
495
                            ],
495
                            ],
496
                        ],
496
                        ],
497
                        'may_terminate' => true,
497
                        'may_terminate' => true,
498
                        'child_routes' => [
498
                        'child_routes' => [
499
                            'add' => [
499
                            'add' => [
500
                                'type' => Literal::class,
500
                                'type' => Literal::class,
501
                                'options' => [
501
                                'options' => [
502
                                    'route' => '/add',
502
                                    'route' => '/add',
503
                                    'defaults' => [
503
                                    'defaults' => [
504
                                        'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
504
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
505
                                        'action' => 'add'
505
                                        'action' => 'addQuestion'
506
                                    ],
506
                                    ],
507
                                ],
507
                                ],
508
                            ],
508
                            ],
509
                            'view' => [
509
                            'view' => [
510
                                'type' => Segment::class,
510
                                'type' => Segment::class,
Línea 512... Línea 512...
512
                                    'route' => '/view/:id',
512
                                    'route' => '/view/:id',
513
                                    'constraints' => [
513
                                    'constraints' => [
514
                                        'id' => '[A-Za-z0-9\-]+\=*',
514
                                        'id' => '[A-Za-z0-9\-]+\=*',
515
                                    ],
515
                                    ],
516
                                    'defaults' => [
516
                                    'defaults' => [
517
                                        'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
517
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
518
                                        'action' => 'view'
518
                                        'action' => 'viewQuestion'
519
                                    ]
519
                                    ]
520
                                ]
520
                                ]
521
                            ],
521
                            ],
522
                            'edit' => [
522
                            'edit' => [
523
                                'type' => Segment::class,
523
                                'type' => Segment::class,
Línea 525... Línea 525...
525
                                    'route' => '/edit/:id',
525
                                    'route' => '/edit/:id',
526
                                    'constraints' => [
526
                                    'constraints' => [
527
                                        'id' => '[A-Za-z0-9\-]+\=*',
527
                                        'id' => '[A-Za-z0-9\-]+\=*',
528
                                    ],
528
                                    ],
529
                                    'defaults' => [
529
                                    'defaults' => [
530
                                        'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
530
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
531
                                        'action' => 'edit'
531
                                        'action' => 'editQuestion'
532
                                    ]
532
                                    ]
533
                                ]
533
                                ]
534
                            ],
534
                            ],
535
                            'delete' => [
535
                            'delete' => [
536
                                'type' => Segment::class,
536
                                'type' => Segment::class,
Línea 538... Línea 538...
538
                                    'route' => '/delete/:id',
538
                                    'route' => '/delete/:id',
539
                                    'constraints' => [
539
                                    'constraints' => [
540
                                        'id' => '[A-Za-z0-9\-]+\=*',
540
                                        'id' => '[A-Za-z0-9\-]+\=*',
541
                                    ],
541
                                    ],
542
                                    'defaults' => [
542
                                    'defaults' => [
543
                                        'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
543
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
544
                                        'action' => 'delete'
544
                                        'action' => 'deleteQuestion'
545
                                    ]
545
                                    ]
546
                                ]
546
                                ]
547
                            ],
547
                            ],
548
                            'reaction' => [
548
                            'reaction' => [
549
                                'type' => Segment::class,
549
                                'type' => Segment::class,
Línea 551... Línea 551...
551
                                    'route' => '/reaction/:id',
551
                                    'route' => '/reaction/:id',
552
                                    'constraints' => [
552
                                    'constraints' => [
553
                                        'id' => '[A-Za-z0-9\-]+\=*',
553
                                        'id' => '[A-Za-z0-9\-]+\=*',
554
                                    ],
554
                                    ],
555
                                    'defaults' => [
555
                                    'defaults' => [
556
                                        'controller' => '\LeadersLinked\Controller\MyCoachReactionController',
556
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
557
                                        'action' => 'index'
557
                                        'action' => 'reactions'
558
                                    ]
558
                                    ]
559
                                ],
559
                                ],
560
                                'may_terminate' => true,
560
                                'may_terminate' => true,
561
                                'child_routes' => [
561
                                'child_routes' => [
562
                                    'save' => [
562
                                    'save' => [
563
                                        'type' => Literal::class,
563
                                        'type' => Literal::class,
564
                                        'options' => [
564
                                        'options' => [
565
                                            'route' => '/save',
565
                                            'route' => '/save',
566
                                            'defaults' => [
566
                                            'defaults' => [
567
                                                'controller' => '\LeadersLinked\Controller\MyCoachReactionController',
567
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
568
                                                'action' => 'save'
568
                                                'action' => 'saveReaction'
569
                                            ],
569
                                            ],
570
                                        ],
570
                                        ],
571
                                    ],
571
                                    ],
572
                                    'delete' => [
572
                                    'delete' => [
573
                                        'type' =>Literal::class,
573
                                        'type' =>Literal::class,
574
                                        'options' => [
574
                                        'options' => [
575
                                            'route' => '/delete',
575
                                            'route' => '/delete',
576
                                            'defaults' => [
576
                                            'defaults' => [
577
                                                'controller' => '\LeadersLinked\Controller\MyCoachReactionController',
577
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
578
                                                'action' => 'delete'
578
                                                'action' => 'deleteReaction'
579
                                            ]
579
                                            ]
580
                                        ]
580
                                        ]
581
                                    ],
581
                                    ],
582
                                ]
582
                                ]
583
                            ],
583
                            ],
Línea 587... Línea 587...
587
                                    'route' => '/answers/:id',
587
                                    'route' => '/answers/:id',
588
                                    'constraints' => [
588
                                    'constraints' => [
589
                                        'id' => '[A-Za-z0-9\-]+\=*',
589
                                        'id' => '[A-Za-z0-9\-]+\=*',
590
                                    ],
590
                                    ],
591
                                    'defaults' => [
591
                                    'defaults' => [
592
                                        'controller' => '\LeadersLinked\Controller\MyCoachAnswerController',
592
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
593
                                        'action' => 'index'
593
                                        'action' => 'answers'
594
                                    ]
594
                                    ]
595
                                ],
595
                                ],
596
                                'may_terminate' => true,
596
                                'may_terminate' => true,
597
                                'child_routes' => [
597
                                'child_routes' => [
598
                                    'add' => [
598
                                    'add' => [
599
                                        'type' => Literal::class,
599
                                        'type' => Literal::class,
600
                                        'options' => [
600
                                        'options' => [
601
                                            'route' => '/add',
601
                                            'route' => '/add',
602
                                            'defaults' => [
602
                                            'defaults' => [
603
                                                'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
603
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
604
                                                'action' => 'add'
604
                                                'action' => 'addAnswer'
605
                                            ],
605
                                            ],
606
                                        ],
606
                                        ],
607
                                    ],
607
                                    ],
Línea 608... Línea 608...
608
 
608
 
Línea 612... Línea 612...
612
                                            'route' => '/edit/:answer',
612
                                            'route' => '/edit/:answer',
613
                                            'constraints' => [
613
                                            'constraints' => [
614
                                                'answer' => '[A-Za-z0-9\-]+\=*',
614
                                                'answer' => '[A-Za-z0-9\-]+\=*',
615
                                            ],
615
                                            ],
616
                                            'defaults' => [
616
                                            'defaults' => [
617
                                                'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
617
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
618
                                                'action' => 'edit'
618
                                                'action' => 'editAnswer'
619
                                            ]
619
                                            ]
620
                                        ]
620
                                        ]
621
                                    ],
621
                                    ],
622
                                    'delete' => [
622
                                    'delete' => [
623
                                        'type' => Segment::class,
623
                                        'type' => Segment::class,
Línea 625... Línea 625...
625
                                            'route' => '/delete/:answer',
625
                                            'route' => '/delete/:answer',
626
                                            'constraints' => [
626
                                            'constraints' => [
627
                                                'answer' => '[A-Za-z0-9\-]+\=*',
627
                                                'answer' => '[A-Za-z0-9\-]+\=*',
628
                                            ],
628
                                            ],
629
                                            'defaults' => [
629
                                            'defaults' => [
630
                                                'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
630
                                                'controller' => '\LeadersLinked\Controller\MyCoachController',
631
                                                'action' => 'delete'
631
                                                'action' => 'deleteAnswer'
632
                                            ]
632
                                            ]
633
                                        ]
633
                                        ]
634
                                    ],
634
                                    ],
635
                                ]    
635
                                ]    
636
                            ],
636
                            ],
Línea 641... Línea 641...
641
                                    'route' => '/comments/:id',
641
                                    'route' => '/comments/:id',
642
                                    'constraints' => [
642
                                    'constraints' => [
643
                                        'id' => '[A-Za-z0-9\-]+\=*',
643
                                        'id' => '[A-Za-z0-9\-]+\=*',
644
                                    ],
644
                                    ],
645
                                    'defaults' => [
645
                                    'defaults' => [
646
                                        'controller' => '\LeadersLinked\Controller\MyCoachQuestionController',
646
                                        'controller' => '\LeadersLinked\Controller\MyCoachController',
647
                                        'action' => 'comments'
647
                                        'action' => 'comments'
648
                                    ]
648
                                    ]
649
                                ],
649
                                ],
650
                                'may_terminate' => true,
650
                                'may_terminate' => true,
651
                                'child_routes' => [
651
                                'child_routes' => [
652
                                    'add' => [
652
                                    'add' => [
653
                                        'type' => Literal::class,
653
                                        'type' => Literal::class,
654
                                        'options' => [
654
                                        'options' => [
655
                                            'route' => '/add',
655
                                            'route' => '/add',
656
                                            'defaults' => [
656
                                            'defaults' => [
657
                                                'controller' => '\LeadersLinked\\Controller\MyCoachQuestionController',
657
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
658
                                                'action' => 'addComment'
658
                                                'action' => 'addComment'
659
                                            ]
659
                                            ]
660
                                        ]
660
                                        ]
661
                                    ],
661
                                    ],
662
                                    'delete' => [
662
                                    'delete' => [
Línea 665... Línea 665...
665
                                            'route' => '/delete/:comment',
665
                                            'route' => '/delete/:comment',
666
                                            'constraints' => [
666
                                            'constraints' => [
667
                                                'comment' => '[A-Za-z0-9\-]+\=*',
667
                                                'comment' => '[A-Za-z0-9\-]+\=*',
668
                                            ],
668
                                            ],
669
                                            'defaults' => [
669
                                            'defaults' => [
670
                                                'controller' => '\LeadersLinked\\Controller\MyCoachQuestionController',
670
                                                'controller' => '\LeadersLinked\\Controller\MyCoachController',
671
                                                'action' => 'deleteComment'
671
                                                'action' => 'deleteComment'
672
                                            ]
672
                                            ]
673
                                        ]
673
                                        ]
674
                                    ],
674
                                    ],
675
                                ]    
675
                                ]    
Línea 3535... Línea 3535...
3535
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3535
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3536
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
3536
            \LeadersLinked\Controller\ProfileMicrolearningController::class => \LeadersLinked\Factory\Controller\ProfileMicrolearningControllerFactory::class,
3537
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
3537
            // \LeadersLinked\Controller\SelfEvaluationController::class => \LeadersLinked\Factory\Controller\SelfEvaluationControllerFactory::class,
3538
            //\LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
3538
            //\LeadersLinked\Controller\PerformanceEvaluationController::class => \LeadersLinked\Factory\Controller\PerformanceEvaluationControllerFactory::class,
3539
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
3539
            \LeadersLinked\Controller\MyCoachController::class => \LeadersLinked\Factory\Controller\MyCoachControllerFactory::class,
3540
            \LeadersLinked\Controller\MyCoachQuestionController::class => \LeadersLinked\Factory\Controller\MyCoachQuestionControllerFactory::class,
-
 
Línea 3541... Línea 3540...
3541
            
3540
            
3542
            
3541
            
3543
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
3542
            \LeadersLinked\Controller\KnowledgeAreaController::class => \LeadersLinked\Factory\Controller\KnowledgeAreaControllerFactory::class,
Línea 3571... Línea 3570...
3571
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
3570
            '\LeadersLinked\Controller\MyGroupsController' => \LeadersLinked\Controller\MyGroupsController::class,
3572
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3571
            '\LeadersLinked\Controller\MyCompaniesController' => \LeadersLinked\Controller\MyCompaniesController::class,
3573
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
3572
            '\LeadersLinked\Controller\PaypalController' => \LeadersLinked\Controller\PaypalController::class,
3574
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
3573
            '\LeadersLinked\Controller\PostController' => \LeadersLinked\Controller\PostController::class,
3575
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3574
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3576
            //  '\LeadersLinked\Controller\ProfileMicrolearningController' => \LeadersLinked\Controller\ProfileMicrolearningController::class,
-
 
-
 
3575
          
3577
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3576
            '\LeadersLinked\Controller\MyProfilesController' => \LeadersLinked\Controller\MyProfilesController::class,
3578
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3577
            '\LeadersLinked\Controller\MarketPlaceController' => \LeadersLinked\Controller\MarketPlaceController::class,
3579
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3578
            '\LeadersLinked\Controller\MoodleController' => \LeadersLinked\Controller\MoodleController::class,
3580
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
3579
            '\LeadersLinked\Controller\NotificationController' => \LeadersLinked\Controller\NotificationController::class,
3581
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
3580
            '\LeadersLinked\Controller\SearchController' => \LeadersLinked\Controller\SearchController::class,
Línea 3587... Línea 3586...
3587
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
3586
            '\LeadersLinked\Controller\ShorterController' => \LeadersLinked\Controller\ShorterController::class,
Línea 3588... Línea 3587...
3588
 
3587
 
3589
 
-
 
3590
           
3588
 
3591
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
-
 
3592
            
-
 
3593
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,
-
 
3594
            '\LeadersLinked\Controller\MyCoachQuestionController' => \LeadersLinked\Controller\MyCoachQuestionController::class,
3589
           
Línea 3595... Línea 3590...
3595
            
3590
            '\LeadersLinked\Controller\KnowledgeAreaController' => \LeadersLinked\Controller\KnowledgeAreaController::class,
3596
            
3591
            '\LeadersLinked\Controller\MyCoachController' => \LeadersLinked\Controller\MyCoachController::class,