Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 1340 Rev 1342
Línea 606... Línea 606...
606
                    ]
606
                    ]
607
                ],
607
                ],
608
            ],
608
            ],
609
            /*             * * END JOB * */
609
            /*             * * END JOB * */
Línea 610... Línea -...
610
 
-
 
611
                /** START JOBS INTERVIEW * */
-
 
612
                'recruitment-and-selection' => [
-
 
613
                    'type' => Literal::class,
-
 
614
                    'options' => [
-
 
615
                        'route' => '/recruitment-and-selection',
-
 
616
                        'defaults' => [
-
 
617
                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
618
                            'action' => 'index'
-
 
619
                        ]
-
 
620
                    ],
-
 
621
                    'may_terminate' => true,
-
 
622
                    'child_routes' => [
-
 
623
                        'forms' => [
-
 
624
                            'type' => Literal::class,
-
 
625
                            'options' => [
-
 
626
                                'route' => '/forms',
-
 
627
                                'defaults' => [
-
 
628
                                    'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
629
                                    'action' => 'index'
-
 
630
                                ]
-
 
631
                            ],
-
 
632
                            'may_terminate' => true,
-
 
633
                            'child_routes' => [
-
 
634
                                'add' => [
-
 
635
                                    'type' => Literal::class,
-
 
636
                                    'options' => [
-
 
637
                                        'route' => '/add',
-
 
638
                                        'defaults' => [
-
 
639
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
640
                                            'action' => 'add'
-
 
641
                                        ]
-
 
642
                                    ]
-
 
643
                                ],
-
 
644
                                'edit' => [
-
 
645
                                    'type' => Segment::class,
-
 
646
                                    'options' => [
-
 
647
                                        'route' => '/edit/:id',
-
 
648
                                        'constraints' => [
-
 
649
                                            'id' => '[A-Za-z0-9\-]+\=*'
-
 
650
                                        ],
-
 
651
                                        'defaults' => [
-
 
652
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
653
                                            'action' => 'edit'
-
 
654
                                        ]
-
 
655
                                    ]
-
 
656
                                ],
-
 
657
                                'delete' => [
-
 
658
                                    'type' => Segment::class,
-
 
659
                                    'options' => [
-
 
660
                                        'route' => '/delete/:id',
-
 
661
                                        'constraints' => [
-
 
662
                                            'id' => '[A-Za-z0-9\-]+\=*'
-
 
663
                                        ],
-
 
664
                                        'defaults' => [
-
 
665
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
666
                                            'action' => 'delete'
-
 
667
                                        ]
-
 
668
                                    ]
-
 
669
                                        ],
-
 
670
                                'report' => [
-
 
671
                                    'type' => Segment::class,
-
 
672
                                    'options' => [
-
 
673
                                        'route' => '/report/:id',
-
 
674
                                        'constraints' => [
-
 
675
                                            'id' => '[A-Za-z0-9\-]+\=*'
-
 
676
                                        ],
-
 
677
                                        'defaults' => [
-
 
678
                                            'controller' => '\LeadersLinked\Controller\JobsInterviewController',
-
 
679
                                            'action' => 'report'
-
 
680
                                        ]
-
 
681
                                    ]
-
 
682
                                ],
-
 
683
                            ]
-
 
684
                        ],
-
 
685
                        'users' => [
-
 
686
                            'type' => Literal::class,
-
 
687
                            'options' => [
-
 
688
                                'route' => '/users',
-
 
689
                                'defaults' => [
-
 
690
                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
691
                                    'action' => 'index'
-
 
692
                                ]
-
 
693
                            ],
-
 
694
                            'may_terminate' => true,
-
 
695
                            'child_routes' => [
-
 
696
                                'supervisors' => [
-
 
697
                                    'type' => Literal::class,
-
 
698
                                    'options' => [
-
 
699
                                        'route' => 'supervisors',
-
 
700
                                        'defaults' => [
-
 
701
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
702
                                            'action' => 'index'
-
 
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
                                                ]
-
 
719
                                            ]
-
 
720
                                        ],
-
 
721
                                        'delete' => [
-
 
722
                                            'type' => Segment::class,
-
 
723
                                            'options' => [
-
 
724
                                                'route' => '/delete/:form_id/:user_id',
-
 
725
                                                'constraints' => [
-
 
726
                                                    'form_id' => '[A-Za-z0-9\-]+\=*',
-
 
727
                                                    'user_id' => '[A-Za-z0-9\-]+\=*'
-
 
728
                                                ],
-
 
729
                                                'defaults' => [
-
 
730
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
731
                                                    'action' => 'delete'
-
 
732
                                                ]
-
 
733
                                            ]
-
 
734
                                        ]
-
 
735
                                    ]
-
 
736
                                ],   
-
 
737
                                'employees' => [
-
 
738
                                    'type' => Literal::class,
-
 
739
                                    'options' => [
-
 
740
                                        'route' => 'employees',
-
 
741
                                        'defaults' => [
-
 
742
                                            'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
743
                                            'action' => 'index'
-
 
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
                                                ]
-
 
761
                                            ]
-
 
762
                                        ],
-
 
763
                                        'delete' => [
-
 
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\-]+\=*',
-
 
770
                                                    'employee_id' => '[A-Za-z0-9\-]+\=*'
-
 
771
                                                ],
-
 
772
                                                'defaults' => [
-
 
773
                                                    'controller' => '\LeadersLinked\Controller\JobInterviewController',
-
 
774
                                                    'action' => 'delete'
-
 
775
                                                ]
-
 
776
                                            ]
-
 
777
                                        ]
-
 
778
                                    ]
-
 
779
                                ], 
-
 
780
                               
-
 
781
                            ]
-
 
782
                        ],
-
 
783
                    ]
-
 
784
                ],
-
 
785
                /*             * * END JOB INTERVIEW* */
-
 
786
 
-
 
787
 
610
 
788
            /*             * *** START PROFILE *** */
611
            /*             * *** START PROFILE *** */
789
            'profile' => [
612
            'profile' => [
790
                'type' => Literal::class,
613
                'type' => Literal::class,
791
                'options' => [
614
                'options' => [