Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 13500 Rev 13524
Línea 3763... Línea 3763...
3763
                ],
3763
                ],
3764
                'may_terminate' => true,
3764
                'may_terminate' => true,
3765
                'child_routes' => [
3765
                'child_routes' => [
3766
                ]
3766
                ]
3767
            ],
3767
            ],
3768
            
-
 
3769
            'communication' => [
3768
            'inmail' => [
3770
                'type' => Literal::class,
3769
                'type' => Segment::class,
3771
                'options' => [
3770
                'options' => [
3772
                    'route' => '/communication',
3771
                    'route' => '/inmail[/:id]',
-
 
3772
                    'constraints' => [
-
 
3773
                        'id' => '[A-Za-z0-9\-]+\=*',
-
 
3774
                    ],
3773
                    'defaults' => [
3775
                    'defaults' => [
3774
                        'controller' => '\LeadersLinked\Controller\CommunicationController',
3776
                        'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3775
                        'action' => 'index'
3777
                        'action' => 'index'
3776
                    ]
3778
                    ]
3777
                ],
3779
                ],
3778
                'may_terminate' => true,
3780
                'may_terminate' => true,
3779
                'child_routes' => [
3781
                'child_routes' => [
-
 
3782
 
3780
                    'inmail' => [
3783
                    'search-people' => [
3781
                        'type' => Segment::class,
3784
                        'type' => Literal::class,
3782
                        'options' => [
3785
                        'options' => [
3783
                            'route' => '/inmail[/:id]',
3786
                            'route' => '/search-people',
3784
                            'constraints' => [
-
 
3785
                                'id' => '[A-Za-z0-9\-]+\=*',
-
 
3786
                            ],
-
 
3787
                            'defaults' => [
3787
                            'defaults' => [
3788
                                'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3788
                                'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
-
 
3789
                                'action' => 'searchPeople'
-
 
3790
                            ]
-
 
3791
                        ]
-
 
3792
                    ],
-
 
3793
                    'message' => [
-
 
3794
                        'type' => Literal::class,
-
 
3795
                        'options' => [
-
 
3796
                            'route' => '/message',
-
 
3797
                            'defaults' => [
-
 
3798
                                'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3789
                                'action' => 'index'
3799
                                'action' => 'message'
3790
                            ]
3800
                            ]
3791
                        ],
3801
                        ],
3792
                        'may_terminate' => true,
3802
                        'may_terminate' => true,
3793
                        'child_routes' => [
3803
                        'child_routes' => [
3794
 
-
 
3795
                            'search-people' => [
3804
                            'send' => [
3796
                                'type' => Literal::class,
3805
                                'type' => Segment::class,
3797
                                'options' => [
3806
                                'options' => [
3798
                                    'route' => '/search-people',
3807
                                    'route' => '/send[/encoding/:encoding]',
-
 
3808
                                    'constraints' => [
-
 
3809
                                        'encoding' => 'base64'
-
 
3810
                                    ],
3799
                                    'defaults' => [
3811
                                    'defaults' => [
3800
                                        'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3812
                                        'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3801
                                        'action' => 'searchPeople'
3813
                                        'action' => 'sendMessage'
3802
                                    ]
3814
                                    ]
3803
                                ]
3815
                                ]
3804
                            ],
3816
                            ],
3805
                            'message' => [
3817
                            'delete' => [
3806
                                'type' => Literal::class,
3818
                                'type' => Segment::class,
3807
                                'options' => [
3819
                                'options' => [
3808
                                    'route' => '/message',
3820
                                    'route' => '/delete/:message',
-
 
3821
                                    'constraints' => [
-
 
3822
                                        'message' => '[A-Za-z0-9\-]+\=*',
-
 
3823
                                    ],
3809
                                    'defaults' => [
3824
                                    'defaults' => [
3810
                                        'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3825
                                        'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
3811
                                        'action' => 'message'
3826
                                        'action' => 'delete'
3812
                                    ]
3827
                                    ]
3813
                                ],
3828
                                ]
3814
                                'may_terminate' => true,
-
 
3815
                                'child_routes' => [
-
 
3816
                                    'send' => [
-
 
3817
                                        'type' => Segment::class,
-
 
3818
                                        'options' => [
-
 
3819
                                            'route' => '/send[/encoding/:encoding]',
-
 
3820
                                            'constraints' => [
-
 
3821
                                                'encoding' => 'base64'
-
 
3822
                                            ],
-
 
3823
                                            'defaults' => [
-
 
3824
                                                'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
-
 
3825
                                                'action' => 'sendMessage'
-
 
3826
                                            ]
-
 
3827
                                        ]
-
 
3828
                                    ],
-
 
3829
                                    'delete' => [
-
 
3830
                                        'type' => Segment::class,
-
 
3831
                                        'options' => [
-
 
3832
                                            'route' => '/delete/:message',
-
 
3833
                                            'constraints' => [
-
 
3834
                                                'message' => '[A-Za-z0-9\-]+\=*',
-
 
3835
                                            ],
-
 
3836
                                            'defaults' => [
-
 
3837
                                                'controller' => '\LeadersLinked\Controller\CommunicationInMailController',
-
 
3838
                                                'action' => 'delete'
-
 
3839
                                            ]
-
 
3840
                                        ]
-
 
3841
                                    ],
-
 
3842
                                ],
-
 
3843
                            ],
3829
                            ],
3844
                        ],
3830
                        ],
3845
                    ],
3831
                    ],
-
 
3832
                ],
-
 
3833
            ],
-
 
3834
           
-
 
3835
            
-
 
3836
            'communication' => [
-
 
3837
                'type' => Literal::class,
-
 
3838
                'options' => [
-
 
3839
                    'route' => '/communication',
-
 
3840
                    'defaults' => [
-
 
3841
                        'controller' => '\LeadersLinked\Controller\CommunicationController',
-
 
3842
                        'action' => 'index'
-
 
3843
                    ]
-
 
3844
                ],
-
 
3845
                'may_terminate' => true,
-
 
3846
                'child_routes' => [
-
 
3847
                  
Línea 3846... Línea 3848...
3846
                   
3848
                   
3847
                ]
3849
                ]
Línea 3848... Línea 3850...
3848
            ],
3850
            ],