You are here

function purl_inited in Persistent URL 7

Same name and namespace in other branches
  1. 6 purl.module \purl_inited()

Static cache that determines whether the PURL path init has been called.

3 calls to purl_inited()
purl_init in ./purl.module
Implements hook_init(). Checks for any valid persistent urls in request string and fire callback appropriately
purl_url_inbound_alter in ./purl.module
Implements hook_url_alter_inbound(). Rewrites an incoming drupal path (&$path) removing PURL modifiers.
purl_url_outbound_alter in ./purl.module
Implements hook_url_outbound_alter().

File

./purl.module, line 171

Code

function purl_inited($set = NULL) {
  static $status = FALSE;
  if (isset($set)) {
    $status = $set;
  }
  return $status;
}