Esempio n. 1
0
 public function getRoutes()
 {
     $routes = ResourceTemplate::getRoutes();
     array_unshift($routes, new StdRoute('/:id/send', 'send'));
     array_unshift($routes, new StdRoute('/:id/test', 'test'));
     array_unshift($routes, new StdRoute('/:id/clone', 'clone'));
     array_unshift($routes, new StdRoute('/reorder', 'reorder'));
     array_unshift($routes, new StdRoute('/filter', 'index'));
     return $routes;
 }
Esempio n. 2
0
 public function getRoutes()
 {
     return ResourceTemplate::getRoutes();
 }
 public function getRoutes()
 {
     $routes = ResourceTemplate::getRoutes();
     $routes[] = new StdRoute('/:id/import', 'import');
     return $routes;
 }
Esempio n. 4
0
 public function getRoutes()
 {
     $routes = ResourceTemplate::getRoutes();
     return $routes;
 }
 public function getRoutes()
 {
     $routes = ResourceTemplate::getRoutes();
     $routes[] = new StdRoute('/:id/order/(?<direction>(up|down))', 'order');
     return $routes;
 }
 public function getRoutes()
 {
     $routes = ResourceTemplate::getRoutes();
     array_unshift($routes, new StdRoute('/reorder', 'reorder'));
     return $routes;
 }