Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 15023 Rev 15028
Línea 5452... Línea 5452...
5452
                    ],
5452
                    ],
5453
                ]
5453
                ]
5454
            ],
5454
            ],
Línea 5455... Línea 5455...
5455
 
5455
 
5456
            'development-and-content' => [
5456
            'development-and-content' => [
5457
                'type' => Segment::class,
5457
                'type' => Literal::class,
5458
                'options' => [
5458
                'options' => [
5459
                    'route' => '/development-and-content[/:category]',
-
 
5460
                    
-
 
5461
                    /*'constraints' => [
-
 
5462
                        'xcategory_id' => '[A-Za-z0-9\-]+\=*'
-
 
5463
                    ],*/
5459
                    'route' => '/development-and-content',
5464
                    'defaults' => [
5460
                    'defaults' => [
5465
                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5461
                        'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5466
                        'action' => 'index',
5462
                        'action' => 'index',
5467
                    ]
5463
                    ]
-
 
5464
                ],
-
 
5465
 
5468
                ],
5466
                
5469
                'may_terminate' => true,
5467
                'may_terminate' => true,
5470
                'child_routes' => [
5468
                'child_routes' => [
5471
                    'add' => [
5469
                    'listing' => [
5472
                        'type' => Segment::class,
5470
                        'type' => Segment::class,
-
 
5471
                        'options' => [
5473
                        'options' => [
5472
                            'route' => '/listing[/:category_id]',
-
 
5473
                            'constraints' => [
-
 
5474
                                'category_id' => '[A-Za-z0-9\-]+\=*'
5474
                            'route' => '/add',
5475
                            ],
5475
                            'defaults' => [
5476
                            'defaults' => [
5476
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5477
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5477
                                'action' => 'add'
5478
                                'action' => 'listing'
5478
                            ]
5479
                            ]
5479
                        ]
5480
                        ]
5480
                    ],
5481
                    ],
5481
                    'getContent' => [
5482
                    'add' => [
5482
                        'type' => Segment::class,
5483
                        'type' => Segment::class,
5483
                        'options' => [
5484
                        'options' => [
5484
                            'route' => '/getContent/:id',
-
 
5485
                            'constraints' => [
-
 
5486
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
5487
                            ],
5485
                            'route' => '/add',
5488
                            'defaults' => [
5486
                            'defaults' => [
5489
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5487
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5490
                                'action' => 'getContent'
5488
                                'action' => 'add'
5491
                            ]
5489
                            ]
5492
                        ]
5490
                        ]
5493
                    ],
5491
                    ],
5494
                    'edit' => [
5492
                    'edit' => [
Línea 5588... Línea 5586...
5588
                                    ]
5586
                                    ]
5589
                                ]
5587
                                ]
5590
                            ],
5588
                            ],
5591
                        ]
5589
                        ]
5592
                    ],
5590
                    ],
5593
                    'category' => [
-
 
5594
                        'type' => Literal::class,
-
 
5595
                        'options' => [
-
 
5596
                            'route' => '/category',
-
 
5597
                            'defaults' => [
-
 
5598
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5599
                                'action' => 'index'
-
 
5600
                            ]
-
 
5601
                        ],
-
 
5602
                        'may_terminate' => true,
-
 
5603
                        'child_routes' => [
-
 
5604
                            'add' => [
-
 
5605
                                'type' => Literal::class,
-
 
5606
                                'options' => [
-
 
5607
                                    'route' => '/add',
-
 
5608
                                    'defaults' => [
-
 
5609
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5610
                                        'action' => 'add'
-
 
5611
                                    ]
-
 
5612
                                ]
-
 
5613
                            ],
-
 
5614
                            'edit' => [
-
 
5615
                                'type' => Segment::class,
-
 
5616
                                'options' => [
-
 
5617
                                    'route' => '/edit/:id',
-
 
5618
                                    'constraints' => [
-
 
5619
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5620
                                    ],
-
 
5621
                                    'defaults' => [
-
 
5622
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5623
                                        'action' => 'edit'
-
 
5624
                                    ]
-
 
5625
                                ]
-
 
5626
                            ],
-
 
5627
                            'delete' => [
-
 
5628
                                'type' => Segment::class,
-
 
5629
                                'options' => [
-
 
5630
                                    'route' => '/delete/:id',
-
 
5631
                                    'constraints' => [
-
 
5632
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5633
                                    ],
-
 
5634
                                    'defaults' => [
-
 
5635
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentCategoryController',
-
 
5636
                                        'action' => 'delete'
-
 
5637
                                    ]
-
 
5638
                                ]
-
 
5639
                            ]
-
 
5640
                        ]
-
 
5641
                    ]
-
 
5642
                ]
5591
                ]
5643
            ],
5592
            ],
Línea 5644... Línea 5593...
5644
            
5593
            
5645
        ]
5594
        ]