interface AuthcacheP13nRequestRouterInterface in Authenticated User Page Caching (Authcache) 7.2
Interface for routes to requests and vice versa.
Hierarchy
- interface \AuthcacheP13nRequestRouterInterface
Expanded class hierarchy of AuthcacheP13nRequestRouterInterface
All classes that implement AuthcacheP13nRequestRouterInterface
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nRequestRouterInterface.inc, line 10 - Defines the interface for mapping routes to requests and vice versa.
View source
interface AuthcacheP13nRequestRouterInterface {
/**
* Return a list of existing route ids.
*
* @return array
* List of existing route ids.
*/
public function getRoutes();
/**
* Return an instance of AuthcacheP13nRequestHandlerInterface.
*
* @param String $route_id
* The identifier of a request (e.g., frag/form-token).
*
* @return AuthcacheP13nRequestHandlerInterface|FALSE
* An appropriate request handler.
*/
public function getHandler($route_id);
/**
* Given a request id and an optional argument, return the appropriate URL.
*
* @param String $route_id
* The identifier of a request (e.g., frag/form-token).
*
* @return String|FALSE
* An URL which can be used to call back to the request with the given
* argument.
*/
public function generateURL($route_id, $arg = NULL);
/**
* Rebuild the routing information after configuration changes.
*/
public function rebuild();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthcacheP13nRequestRouterInterface:: |
public | function | Given a request id and an optional argument, return the appropriate URL. | 2 |
AuthcacheP13nRequestRouterInterface:: |
public | function | Return an instance of AuthcacheP13nRequestHandlerInterface. | 2 |
AuthcacheP13nRequestRouterInterface:: |
public | function | Return a list of existing route ids. | 2 |
AuthcacheP13nRequestRouterInterface:: |
public | function | Rebuild the routing information after configuration changes. | 2 |