Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1333 Rev 1340
Línea 607... Línea 607...
607
                ],
607
                ],
608
            ],
608
            ],
609
            /*             * * END JOB * */
609
            /*             * * END JOB * */
Línea 610... Línea 610...
610
 
610
 
611
                /** START JOBS INTERVIEW * */
611
                /** START JOBS INTERVIEW * */
612
             /*    'jobs' => [
612
                'recruitment-and-selection' => [
613
                    'type' => Literal::class,
613
                    'type' => Literal::class,
614
                    'options' => [
614
                    'options' => [
615
                        'route' => '/jobs',
615
                        'route' => '/recruitment-and-selection',
616
                        'defaults' => [
616
                        'defaults' => [
617
                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
617
                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
618
                            'action' => 'index'
618
                            'action' => 'index'
619
                        ]
619
                        ]
620
                    ],
620
                    ],
621
                    'may_terminate' => true,
621
                    'may_terminate' => true,
622
                    'child_routes' => [
622
                    'child_routes' => [
623
                        'add' => [
623
                        'forms' => [
624
                            'type' => Literal::class,
624
                            'type' => Literal::class,
625
                            'options' => [
625
                            'options' => [
626
                                'route' => '/add',
626
                                'route' => '/forms',
627
                                'defaults' => [
-
 
628
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
629
                                    'action' => 'add'
-
 
630
                                ]
-
 
631
                            ],
-
 
632
                        ],
-
 
633
                        'delete' => [
-
 
634
                            'type' => Segment::class,
-
 
635
                            'options' => [
-
 
636
                                'route' => '/delete/:id',
-
 
637
                                'constraints' => [
-
 
638
                                    'id' => '[A-Za-z0-9\-]+\=*'
-
 
639
                                ],
-
 
640
                                'defaults' => [
-
 
641
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
642
                                    'action' => 'delete'
-
 
643
                                ]
-
 
644
                            ],
-
 
645
                        ],
-
 
646
                        'users-who-applied' => [
-
 
647
                            'type' => Segment::class,
-
 
648
                            'options' => [
-
 
649
                                'route' => '/users-who-applied/:id',
-
 
650
                                'constraints' => [
-
 
651
                                    'id' => '[A-Za-z0-9\-]+\=*'
-
 
652
                                ],
-
 
653
                                'defaults' => [
-
 
654
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
655
                                    'action' => 'usersWhoApplied'
-
 
656
                                ]
-
 
657
                            ],
-
 
658
                        ],
-
 
659
                        'edit' => [
-
 
660
                            'type' => Segment::class,
-
 
661
                            'options' => [
-
 
662
                                'route' => '/edit/:id',
-
 
663
                                'constraints' => [
-
 
664
                                    'id' => '[A-Za-z0-9\-]+\=*'
-
 
665
                                ],
-
 
666
                                'defaults' => [
627
                                'defaults' => [
667
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
628
                                    'controller' => '\LeadersLinked\Controller\JobsInterviewController',
668
                                    'action' => 'edit'
629
                                    'action' => 'index'
669
                                ]
630
                                ]
670
                            ],
631
                            ],
671
                            'may_terminate' => true,
632
                            'may_terminate' => true,
672
                            'child_routes' => [
633
                            'child_routes' => [
673
                                'status' => [
634
                                'add' => [
674
                                    'type' => Literal::class,
635
                                    'type' => Literal::class,
675
                                    'options' => [
636
                                    'options' => [
676
                                        'route' => '/status',
637
                                        'route' => '/add',
677
                                        'defaults' => [
638
                                        'defaults' => [
678
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
639
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
679
                                            'action' => 'status'
640
                                            'action' => 'add'
680
                                        ]
-
 
681
                                    ],
-
 
682
                                ],
-
 
683
                                'title' => [
-
 
684
                                    'type' => Literal::class,
-
 
685
                                    'options' => [
-
 
686
                                        'route' => '/title',
-
 
687
                                        'defaults' => [
-
 
688
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
689
                                            'action' => 'title'
-
 
690
                                        ]
-
 
691
                                    ],
-
 
692
                                ],
-
 
693
                                'last-date-of-application' => [
-
 
694
                                    'type' => Literal::class,
-
 
695
                                    'options' => [
-
 
696
                                        'route' => '/last-date-of-application',
-
 
697
                                        'defaults' => [
-
 
698
                                            'controller' => '\LeadersLinked\Controller\JobController',
-
 
699
                                            'action' => 'lastDateOfApplication'
-
 
700
                                        ]
-
 
701
                                    ],
-
 
702
                                ],
-
 
703
                                'experience' => [
-
 
704
                                    'type' => Literal::class,
-
 
705
                                    'options' => [
-
 
706
                                        'route' => '/experience',
-
 
707
                                        'defaults' => [
-
 
708
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
709
                                            'action' => 'experience'
-
 
710
                                        ]
-
 
711
                                    ],
-
 
712
                                ],
-
 
713
                                'employment-type' => [
-
 
714
                                    'type' => Literal::class,
-
 
715
                                    'options' => [
-
 
716
                                        'route' => '/employment-type',
-
 
717
                                        'defaults' => [
-
 
718
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
719
                                            'action' => 'employmentType'
-
 
720
                                        ]
-
 
721
                                    ],
-
 
722
                                ],
-
 
723
                                'job-category' => [
-
 
724
                                    'type' => Literal::class,
-
 
725
                                    'options' => [
-
 
726
                                        'route' => '/job-category',
-
 
727
                                        'defaults' => [
-
 
728
                                            'controller' => '\LeadersLinked\Controller\JobController',
-
 
729
                                            'action' => 'jobCategory'
-
 
730
                                        ]
641
                                        ]
731
                                    ],
642
                                    ]
732
                                ],
643
                                ],
733
                                'extended' => [
644
                                'edit' => [
734
                                    'type' => Literal::class,
645
                                    'type' => Segment::class,
735
                                    'options' => [
646
                                    'options' => [
-
 
647
                                        'route' => '/edit/:id',
-
 
648
                                        'constraints' => [
-
 
649
                                            'id' => '[A-Za-z0-9\-]+\=*'
736
                                        'route' => '/extended',
650
                                        ],
737
                                        'defaults' => [
651
                                        'defaults' => [
738
                                            'controller' => '\LeadersLinked\Controller\JobController',
652
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
739
                                            'action' => 'extended'
653
                                            'action' => 'edit'
740
                                        ]
654
                                        ]
741
                                    ],
655
                                    ]
742
                                ],
656
                                ],
743
                                'location' => [
657
                                'delete' => [
744
                                    'type' => Literal::class,
658
                                    'type' => Segment::class,
745
                                    'options' => [
659
                                    'options' => [
-
 
660
                                        'route' => '/delete/:id',
-
 
661
                                        'constraints' => [
-
 
662
                                            'id' => '[A-Za-z0-9\-]+\=*'
746
                                        'route' => '/location',
663
                                        ],
747
                                        'defaults' => [
664
                                        'defaults' => [
748
                                            'controller' => '\LeadersLinked\Controller\JobController',
665
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
749
                                            'action' => 'location'
666
                                            'action' => 'delete'
750
                                        ]
667
                                        ]
751
                                    ],
668
                                    ]
752
                                ],
669
                                        ],
753
                                'salary' => [
670
                                'report' => [
754
                                    'type' => Literal::class,
671
                                    'type' => Segment::class,
755
                                    'options' => [
672
                                    'options' => [
-
 
673
                                        'route' => '/report/:id',
-
 
674
                                        'constraints' => [
-
 
675
                                            'id' => '[A-Za-z0-9\-]+\=*'
756
                                        'route' => '/salary',
676
                                        ],
757
                                        'defaults' => [
677
                                        'defaults' => [
758
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
678
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
759
                                            'action' => 'salary'
679
                                            'action' => 'report'
760
                                        ]
680
                                        ]
761
                                    ],
681
                                    ]
-
 
682
                                ],
-
 
683
                            ]
-
 
684
                        ],
-
 
685
                        'users' => [
-
 
686
                            'type' => Literal::class,
-
 
687
                            'options' => [
762
                                ],
688
                                'route' => '/users',
-
 
689
                                'defaults' => [
-
 
690
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
691
                                    'action' => 'index'
-
 
692
                                ]
-
 
693
                            ],
-
 
694
                            'may_terminate' => true,
-
 
695
                            'child_routes' => [
763
                                'degrees' => [
696
                                'supervisors' => [
764
                                    'type' => Literal::class,
697
                                    'type' => Literal::class,
765
                                    'options' => [
698
                                    'options' => [
766
                                        'route' => '/degrees',
699
                                        'route' => 'supervisors',
767
                                        'defaults' => [
700
                                        'defaults' => [
768
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
701
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
769
                                            'action' => 'degree'
702
                                            'action' => 'index'
770
                                        ]
703
                                        ]
-
 
704
                                    ],
-
 
705
                                    'may_terminate' => true,
-
 
706
                                    'child_routes' => [
-
 
707
                                        'add' => [
-
 
708
                                            'type' => Segment::class,
-
 
709
                                            'options' => [
-
 
710
                                                'route' => '/add/:form_id/:user_id',
-
 
711
                                                'constraints' => [
-
 
712
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
713
                                                    'user_id' => '[A-Za-z0-9\-]+\=*'
-
 
714
                                                ],
-
 
715
                                                'defaults' => [
-
 
716
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
717
                                                    'action' => 'add'
-
 
718
                                                ]
771
                                    ],
719
                                            ]
772
                                ],
720
                                        ],
773
                                'languages' => [
721
                                        'delete' => [
774
                                    'type' => Literal::class,
722
                                            'type' => Segment::class,
-
 
723
                                            'options' => [
775
                                    'options' => [
724
                                                'route' => '/delete/:form_id/:user_id',
-
 
725
                                                'constraints' => [
-
 
726
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
727
                                                    'user_id' => '[A-Za-z0-9\-]+\=*'
776
                                        'route' => '/languages',
728
                                                ],
777
                                        'defaults' => [
729
                                                'defaults' => [
778
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
730
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
731
                                                    'action' => 'delete'
-
 
732
                                                ]
779
                                            'action' => 'language'
733
                                            ]
780
                                        ]
734
                                        ]
781
                                    ],
735
                                    ]
782
                                ],
736
                                ],   
783
                                'skills' => [
737
                                'employees' => [
784
                                    'type' => Literal::class,
738
                                    'type' => Literal::class,
785
                                    'options' => [
739
                                    'options' => [
786
                                        'route' => '/skills',
740
                                        'route' => 'employees',
787
                                        'defaults' => [
741
                                        'defaults' => [
788
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
742
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
789
                                            'action' => 'skill'
743
                                            'action' => 'index'
790
                                        ]
744
                                        ]
-
 
745
                                    ],
-
 
746
                                    'may_terminate' => true,
-
 
747
                                    'child_routes' => [
-
 
748
                                        'add' => [
-
 
749
                                            'type' => Segment::class,
-
 
750
                                            'options' => [
-
 
751
                                                'route' => '/add/:form_id/:supervisor_id/:employee_id',
-
 
752
                                                'constraints' => [
-
 
753
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
754
                                                    'supervisor_id' => '[A-Za-z0-9\-]+\=*',
-
 
755
                                                    'employee_id' => '[A-Za-z0-9\-]+\=*'
-
 
756
                                                ],
-
 
757
                                                'defaults' => [
-
 
758
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
759
                                                    'action' => 'add'
-
 
760
                                                ]
791
                                    ],
761
                                            ]
792
                                ],
762
                                        ],
793
                                'how-apply' => [
763
                                        'delete' => [
794
                                    'type' => Literal::class,
764
                                            'type' => Segment::class,
-
 
765
                                            'options' => [
-
 
766
                                                'route' => '/delete/:form_id/:supervisor_id/:employee_id',
-
 
767
                                                'constraints' => [
-
 
768
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
769
                                                    'supervisor_id' => '[A-Za-z0-9\-]+\=*',
795
                                    'options' => [
770
                                                    'employee_id' => '[A-Za-z0-9\-]+\=*'
796
                                        'route' => '/how-apply',
771
                                                ],
797
                                        'defaults' => [
772
                                                'defaults' => [
798
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
773
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
774
                                                    'action' => 'delete'
-
 
775
                                                ]
799
                                            'action' => 'howApply'
776
                                            ]
800
                                        ]
777
                                        ]
801
                                    ],
778
                                    ]
-
 
779
                                ], 
802
                                ],
780
                               
803
                            ],
781
                            ]
804
                        ]
782
                        ],
805
                    ],
783
                    ]
806
                ],*/
784
                ],
Línea 807... Línea 785...
807
                /*             * * END JOB INTERVIEW* */
785
                /*             * * END JOB INTERVIEW* */
808
 
786
 
Línea 3171... Línea 3149...
3171
            'recruitment-and-selection' => [
3149
            'recruitment-and-selection' => [
3172
                'type' => Literal::class,
3150
                'type' => Literal::class,
3173
                'options' => [
3151
                'options' => [
3174
                    'route' => '/recruitment-and-selection',
3152
                    'route' => '/recruitment-and-selection',
3175
                    'defaults' => [
3153
                    'defaults' => [
3176
                        'controller' => '\LeadersLinked\Controller\UnknownController',
3154
                        'controller' => '\LeadersLinked\Controller\RecruitmentController',
3177
                        'action' => 'index'
3155
                        'action' => 'index'
3178
                    ]
3156
                    ]
3179
                ],
3157
                ],
3180
                'may_terminate' => true,
3158
                'may_terminate' => true,
3181
                'child_routes' => [
3159
                'child_routes' => [
Línea 3314... Línea 3292...
3314
        'factories' => [
3292
        'factories' => [
3315
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
3293
            \LeadersLinked\Controller\AuthController::class => \LeadersLinked\Factory\Controller\AuthControllerFactory::class,
3316
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
3294
            \LeadersLinked\Controller\FeedController::class => \LeadersLinked\Factory\Controller\FeedControllerFactory::class,
3317
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
3295
            \LeadersLinked\Controller\FollowerController::class => \LeadersLinked\Factory\Controller\FollowerControllerFactory::class,
3318
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
3296
            \LeadersLinked\Controller\JobController::class => \LeadersLinked\Factory\Controller\JobControllerFactory::class,
3319
        //    \LeadersLinked\Controller\JobInterviewController::class => \LeadersLinked\Factory\Controller\JobInterviewControllerFactory::class,
3297
            \LeadersLinked\Controller\RecruitmentController::class => \LeadersLinked\Factory\Controller\RecruitmentControllerFactory::class,
3320
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3298
            \LeadersLinked\Controller\ProfileController::class => \LeadersLinked\Factory\Controller\ProfileControllerFactory::class,
3321
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
3299
            \LeadersLinked\Controller\CompanyController::class => \LeadersLinked\Factory\Controller\CompanyControllerFactory::class,
3322
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
3300
            \LeadersLinked\Controller\CompanySizeController::class => \LeadersLinked\Factory\Controller\CompanySizeControllerFactory::class,
3323
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
3301
            \LeadersLinked\Controller\BehaviorsController::class => \LeadersLinked\Factory\Controller\BehaviorsControllerFactory::class,
3324
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
3302
            \LeadersLinked\Controller\CompetencyTypeController::class => \LeadersLinked\Factory\Controller\CompetencyTypeControllerFactory::class,
Línea 3369... Línea 3347...
3369
        'aliases' => [
3347
        'aliases' => [
3370
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
3348
            '\LeadersLinked\Controller\AuthController' => \LeadersLinked\Controller\AuthController::class,
3371
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
3349
            '\LeadersLinked\Controller\FollowerController' => \LeadersLinked\Controller\FollowerController::class,
3372
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
3350
            '\LeadersLinked\Controller\FeedController' => \LeadersLinked\Controller\FeedController::class,
3373
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
3351
            '\LeadersLinked\Controller\JobController' => \LeadersLinked\Controller\JobController::class,
3374
           // '\LeadersLinked\Controller\JobInterviewController' => \LeadersLinked\Controller\JobInterviewController::class,
3352
            '\LeadersLinked\Controller\RecruitmentController' => \LeadersLinked\Controller\RecruitmentController::class,
3375
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3353
            '\LeadersLinked\Controller\ProfileController' => \LeadersLinked\Controller\ProfileController::class,
3376
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
3354
            '\LeadersLinked\Controller\CompanyController' => \LeadersLinked\Controller\CompanyController::class,
3377
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
3355
            '\LeadersLinked\Controller\CompanySizeController' => \LeadersLinked\Controller\CompanySizeController::class,
3378
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
3356
            '\LeadersLinked\Controller\CompetencyTypeController' => \LeadersLinked\Controller\CompetencyTypeController::class,
3379
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,
3357
            '\LeadersLinked\Controller\BehaviorsController' => \LeadersLinked\Controller\BehaviorsController::class,