RouteConfig

class OC\AppFramework\Routing\RouteConfig
Class RouteConfig
Source:lib/private/AppFramework/Routing/RouteConfig.php#41

Properties

protected static property OC\AppFramework\Routing\RouteConfig::$rootUrlApps
Source:lib/private/AppFramework/Routing/RouteConfig.php#57

Methods

public OC\AppFramework\Routing\RouteConfig::__construct($container, $router, $routes)
Source:

lib/private/AppFramework/Routing/RouteConfig.php#72

Parameters:
public OC\AppFramework\Routing\RouteConfig::register()
The routes and resource will be registered to the \OCP\Route\IRouter
Source:lib/private/AppFramework/Routing/RouteConfig.php#82
protected OC\AppFramework\Routing\RouteConfig::processRoute($route, $routeNamePrefix="")
Source:lib/private/AppFramework/Routing/RouteConfig.php#124
protected OC\AppFramework\Routing\RouteConfig::processResources($resources, $routeNamePrefix="")
For a given name and url restful routes are created:
- index
- show
- create
- update
- destroy
Source:

lib/private/AppFramework/Routing/RouteConfig.php#202

Parameters:
  • $resources (array)
  • $routeNamePrefix (string)