You are here

public function AuthcacheP13nRequestRouterInterface::generateURL in Authenticated User Page Caching (Authcache) 7.2

Given a request id and an optional argument, return the appropriate URL.

Parameters

String $route_id: The identifier of a request (e.g., frag/form-token).

Return value

String|FALSE An URL which can be used to call back to the request with the given argument.

2 methods override AuthcacheP13nRequestRouterInterface::generateURL()
AuthcacheP13nDefaultRequestRouter::generateURL in modules/authcache_p13n/includes/AuthcacheP13nDefaultRequestRouter.inc
Given a request id and an optional argument, return the appropriate URL.
AuthcacheP13nTestRequestRouterStub::generateURL in modules/authcache_p13n/tests/authcache_p13n.stub.inc
Given a request id and an optional argument, return the appropriate URL.

File

modules/authcache_p13n/includes/AuthcacheP13nRequestRouterInterface.inc, line 40
Defines the interface for mapping routes to requests and vice versa.

Class

AuthcacheP13nRequestRouterInterface
Interface for routes to requests and vice versa.

Code

public function generateURL($route_id, $arg = NULL);