You are here

Functions in Persistent URL 6

Primary tabs

Namesort descending Location Description Direct uses Strings
hook_purl_modifiers ./purl.api.php Optional hook for providers who use custom storage for modifiers. Should return a keyed array where each key is a provider identifier and each value is a sub-array of modifiers with modifier value and ID.
hook_purl_processor ./purl.api.php CTools plugin API hook for PURL. Note that a proper entry in hook_ctools_plugin_api() must exist for this hook to be called.
hook_purl_provider ./purl.api.php Registry hook for PURL providers. Should return a keyed array where each key is a provider identifier and each value is a sub-array of information for the the provider. Possible keys: "name": the human-readable name of the provider. Should…
purl_active ./purl.module Get active purl modifiers for this page.
purl_admin ./purl.admin.inc Page callback for the purl administration page. 1
purl_admin_form_key_validate ./purl.admin.inc Validate a key element and move its value to the correct key if validated. 2
purl_boot ./purl.module Implementation of hook_boot(). This hook is declared simply to ensure that PURL is loaded early enough for url_alter detect its presence. (http://drupal.org/node/729862).
purl_ctools_plugin_api ./purl.module Implementation of hook_plugin_ctools_api().
purl_ctools_plugin_processor ./purl.module Implementation of hook_ctools_plugin_processor().
purl_delete ./purl.module Delete a modifier entry from the database.
purl_disable ./purl.module Returns whether the current l/url call should use context rewriting or not 1
purl_form ./purl.module Generates a persistent url form element that can be dropped into a FormAPI form array. Includes validation, but insert/update must be handled by the implementing submit handler.
purl_form_alter ./purl.module Implementation of hook_form_alter.
purl_form_validate ./purl.module Validation handler for purl_form(). 1
purl_generate_rewrite_elements ./purl.module Generate a purl_path_element for provider 1
purl_get_normal_path ./purl.module Process a query string into its respective processors and modifiers and return the adjusted query string. If true, the $activate argument is used to call provider callbacks for a given query string. All values are static cached for a given query… 2
purl_get_processor ./purl.module Factory function to ease instantiation of processor classes. 3
purl_goto ./purl.module An alternative implementation of drupal_goto() that allows PURL modifiers to be added or removed from the destination URL. You provide a drupal path ('node/43') and a persistent url modifier (provider/id pair) and purl_goto will determine…
purl_init ./purl.module Implementation of hook_init() Checks for any valid persistent urls in request string and fire callback appropriately
purl_inited ./purl.module Static cache that determines whether the PURL path init has been called. 2
purl_install ./purl.install Implementation of hook_install().
purl_item_edit_submit ./purl.admin.inc 1
purl_item_edit_validate ./purl.admin.inc Validate handler for menu_edit_item 1
purl_language_strip ./purl.module Remove the language prefix for a given path. PURL implements this itself as language_initialize() directly affects $_GET['q'] and cannot be reused. 1
purl_load ./purl.module Load a modifier from the database by provider or value. 2
purl_menu ./purl.module Implementation of hook_menu().
purl_menu_edit_submit ./purl.admin.inc 1
purl_modifiers ./purl.module Queries the database & modules for valid values based on modifing method. 6
purl_parse ./purl.module Parses a query string of various types (url, domain, etc.) and returns an array of any found values and their respective providers/id values. 1
purl_path_elements ./purl.module Generate a array of purl_path_elements objects from parsed values. 7
purl_providers ./purl.module Invokes hook_purl_provider() to gather all providers. 4
purl_purl_processor ./purl.module Implementation of hook_purl_processor().
purl_save ./purl.module Save modifier to database. Will insert new entry if no ID is provided and update an existing one otherwise.
purl_schema ./purl.install Implementation of hook_schema().
purl_settings_form ./purl.admin.inc Settings form for choosing the operating mode of purl 1
purl_test_activate tests/purl_test.module PURL callback for test providers. 1
purl_test_menu tests/purl_test.module Implementation of hook_menu().
purl_test_page tests/purl_test.module Test page callback. 1
purl_test_purl_modifiers tests/purl_test.module Implementation of hook_purl_modifiers(). 1
purl_test_purl_provider tests/purl_test.module Implementation of hook_purl_provider().
purl_test_remove_base_path tests/purl_test.module Helper function to remove $base_path from testing links. 1
purl_theme ./purl.module Implementation of hook_theme().
purl_types_form ./purl.admin.inc Allow administrators to enable purl methods. 1
purl_uninstall ./purl.install Implementation of hook_uninstall().
purl_update_6001 ./purl.install The "path pair" processor was using a variable named "purl_method_path_key", update that to "purl_method_pair_key".
purl_update_6002 ./purl.install Install CTools.
purl_update_6003 ./purl.install Add index on provider and id columns
purl_url_inbound_alter ./purl.module Implementation of hook_url_alter_inbound(). Rewrites an incoming drupal path (&$result) removing PURL modifiers. 1
purl_url_outbound_alter ./purl.module Implementation of hook_url_outbound_alter(). 1
purl_validate ./purl.module Validation for modifiers. 2

Pages

Other projects