Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 14692 Rev 14743
Línea 5399... Línea 5399...
5399
                    ]
5399
                    ]
5400
                ],
5400
                ],
5401
                'may_terminate' => true,
5401
                'may_terminate' => true,
5402
                'child_routes' => [
5402
                'child_routes' => [
5403
                    'add' => [
5403
                    'add' => [
-
 
5404
                        'type' => Literal::class,
-
 
5405
                        'options' => [
-
 
5406
                            'route' => '/add',
-
 
5407
                            'defaults' => [
-
 
5408
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5409
                                'action' => 'add'
-
 
5410
                            ]
-
 
5411
                        ]
-
 
5412
                    ],
-
 
5413
                    'getContent' => [
5404
                        'type' => Segment::class,
5414
                        'type' => Segment::class,
5405
                        'options' => [
5415
                        'options' => [
5406
                            'route' => '/add[/:id]',
5416
                            'route' => '/getContent/:id',
5407
                            'constraints' => [
5417
                            'constraints' => [
5408
                                'id' => '[A-Za-z0-9\-]+\=*'
5418
                                'id' => '[A-Za-z0-9\-]+\=*'
5409
                            ],
5419
                            ],
5410
                            'defaults' => [
5420
                            'defaults' => [
5411
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5421
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5422
                                'action' => 'getContent'
-
 
5423
                            ]
-
 
5424
                        ]
-
 
5425
                    ],
-
 
5426
                    'filter' => [
-
 
5427
                        'type' => Segment::class,
-
 
5428
                        'options' => [
-
 
5429
                            'route' => '/filter',
-
 
5430
                            'defaults' => [
-
 
5431
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5412
                                'action' => 'add'
5432
                                'action' => 'filter'
5413
                            ]
5433
                            ]
5414
                        ]
5434
                        ]
5415
                    ],
5435
                    ],
5416
                    'edit' => [
5436
                    'edit' => [
5417
                        'type' => Segment::class,
5437
                        'type' => Segment::class,
5418
                        'options' => [
5438
                        'options' => [
5419
                            'route' => '/edit',
5439
                            'route' => '/edit/:id',
5420
                           
-
 
-
 
5440
                            'constraints' => [
-
 
5441
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
5442
                            ],
5421
                            'defaults' => [
5443
                            'defaults' => [
5422
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5444
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5423
                                'action' => 'edit'
5445
                                'action' => 'edit'
5424
                            ]
5446
                            ]
5425
                        ]
5447
                        ]
5426
                    ],
5448
                    ],
-
 
5449
                    'aproved' => [
-
 
5450
                        'type' => Segment::class,
-
 
5451
                        'options' => [
-
 
5452
                            'route' => '/aproved/:id',
-
 
5453
                            'constraints' => [
-
 
5454
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
5455
                            ],
-
 
5456
                            'defaults' => [
-
 
5457
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
-
 
5458
                                'action' => 'aproved'
-
 
5459
                            ]
-
 
5460
                        ]
-
 
5461
                    ],
5427
                    'delete' => [
5462
                    'delete' => [
5428
                        'type' => Segment::class,
5463
                        'type' => Segment::class,
5429
                        'options' => [
5464
                        'options' => [
5430
                            'route' => '/delete',
5465
                            'route' => '/delete/:id',
-
 
5466
                            'constraints' => [
-
 
5467
                                'id' => '[A-Za-z0-9\-]+\=*'
-
 
5468
                            ],
5431
                            'defaults' => [
5469
                            'defaults' => [
5432
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5470
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentController',
5433
                                'action' => 'delete'
5471
                                'action' => 'delete'
5434
                            ]
5472
                            ]
5435
                        ]
5473
                        ]
Línea 5540... Línea 5578...
5540
                                        'action' => 'delete'
5578
                                        'action' => 'delete'
5541
                                    ]
5579
                                    ]
5542
                                ]
5580
                                ]
5543
                            ]
5581
                            ]
5544
                        ]
5582
                        ]
5545
                    ],
-
 
5546
                    'waiting' => [
-
 
5547
                        'type' => segment::class,
-
 
5548
                        'options' => [
-
 
5549
                            'route' => '/waiting',
-
 
5550
                            'defaults' => [
-
 
5551
                                'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5552
                                'action' => 'index'
-
 
5553
                            ]
-
 
5554
                        ],
-
 
5555
                        'may_terminate' => true,
-
 
5556
                        'child_routes' => [
-
 
5557
                            'add' => [
-
 
5558
                                'type' => Literal::class,
-
 
5559
                                'options' => [
-
 
5560
                                    'route' => '/add',
-
 
5561
                                    'defaults' => [
-
 
5562
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5563
                                        'action' => 'add'
-
 
5564
                                    ]
-
 
5565
                                ]
-
 
5566
                            ],
-
 
5567
                            'getContent' => [
-
 
5568
                                'type' => Segment::class,
-
 
5569
                                'options' => [
-
 
5570
                                    'route' => '/getContent/:id',
-
 
5571
                                    'constraints' => [
-
 
5572
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5573
                                    ],
-
 
5574
                                    'defaults' => [
-
 
5575
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5576
                                        'action' => 'getContent'
-
 
5577
                                    ]
-
 
5578
                                ]
-
 
5579
                            ],
-
 
5580
                            'filter' => [
-
 
5581
                                'type' => Segment::class,
-
 
5582
                                'options' => [
-
 
5583
                                    'route' => '/filter',
-
 
5584
                                    'defaults' => [
-
 
5585
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5586
                                        'action' => 'filter'
-
 
5587
                                    ]
-
 
5588
                                ]
-
 
5589
                            ],
-
 
5590
                            'edit' => [
-
 
5591
                                'type' => Segment::class,
-
 
5592
                                'options' => [
-
 
5593
                                    'route' => '/edit/:id',
-
 
5594
                                    'constraints' => [
-
 
5595
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5596
                                    ],
-
 
5597
                                    'defaults' => [
-
 
5598
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5599
                                        'action' => 'edit'
-
 
5600
                                    ]
-
 
5601
                                ]
-
 
5602
                            ],
-
 
5603
                            'aproved' => [
-
 
5604
                                'type' => Segment::class,
-
 
5605
                                'options' => [
-
 
5606
                                    'route' => '/aproved/:id',
-
 
5607
                                    'constraints' => [
-
 
5608
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5609
                                    ],
-
 
5610
                                    'defaults' => [
-
 
5611
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5612
                                        'action' => 'aproved'
-
 
5613
                                    ]
-
 
5614
                                ]
-
 
5615
                            ],
-
 
5616
                            'delete' => [
-
 
5617
                                'type' => Segment::class,
-
 
5618
                                'options' => [
-
 
5619
                                    'route' => '/delete/:id',
-
 
5620
                                    'constraints' => [
-
 
5621
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5622
                                    ],
-
 
5623
                                    'defaults' => [
-
 
5624
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5625
                                        'action' => 'delete'
-
 
5626
                                    ]
-
 
5627
                                ]
-
 
5628
                            ],
-
 
5629
                            'view' => [
-
 
5630
                                'type' => Segment::class,
-
 
5631
                                'options' => [
-
 
5632
                                    'route' => '/:id/view',
-
 
5633
                                    'constraints' => [
-
 
5634
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5635
                                    ],
-
 
5636
                                    'defaults' => [
-
 
5637
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5638
                                        'action' => 'index'
-
 
5639
                                    ]
-
 
5640
                                ]
-
 
5641
                            ],
-
 
5642
                            'intern' => [
-
 
5643
                                'type' => Segment::class,
-
 
5644
                                'options' => [
-
 
5645
                                    'route' => '/intern',
-
 
5646
                                    'defaults' => [
-
 
5647
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5648
                                        'action' => 'intern'
-
 
5649
                                    ]
-
 
5650
                                ]
-
 
5651
                            ],
-
 
5652
                            'extern' => [
-
 
5653
                                'type' => Segment::class,
-
 
5654
                                'options' => [
-
 
5655
                                    'route' => '/extern',
-
 
5656
                                    'defaults' => [
-
 
5657
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5658
                                        'action' => 'extern'
-
 
5659
                                    ]
-
 
5660
                                ]
-
 
5661
                            ],
-
 
5662
                            'categories' => [
-
 
5663
                                'type' => Segment::class,
-
 
5664
                                'options' => [
-
 
5665
                                    'route' => '/categories/:id',
-
 
5666
                                    'constraints' => [
-
 
5667
                                        'id' => '[A-Za-z0-9\-]+\=*'
-
 
5668
                                    ],
-
 
5669
                                    'defaults' => [
-
 
5670
                                        'controller' => '\LeadersLinked\Controller\DevelopmentContentWaitingController',
-
 
5671
                                        'action' => 'categories'
-
 
5672
                                    ]
-
 
5673
                                ]
-
 
5674
                            ],
-
 
5675
                        ],
-
 
5676
                    ],
5583
                    ]
5677
                ]
5584
                ]
5678
            ],
5585
            ],
Línea 5679... Línea 5586...
5679
            
5586
            
5680
        ]
5587
        ]