You are here

Functions in Token 5

Primary tabs

Namesort descending Location Description Direct uses Strings
book_token_list ./token_node.inc
book_token_values ./token_node.inc Implementation of hook_token_values() for book nodes
comment_token_list ./token_comment.inc Implementation of hook_token_list().
comment_token_values ./token_comment.inc Implementation of hook_token_values().
content_token_list ./token_cck.inc
content_token_values ./token_cck.inc
hook_token_list ./token.api.php Provide metadata about available placeholder tokens and token types.
hook_token_values ./token.api.php Provide replacement values for placeholder tokens.
node_token_list ./token_node.inc Implementation of hook_token_list().
node_token_values ./token_node.inc Implementation of hook_token_values().
taxonomy_token_list ./token_taxonomy.inc Implementation of hook_token_list().
taxonomy_token_values ./token_taxonomy.inc Implementation of hook_token_values().
theme_token_help ./token.module For a given context, builds a formatted list of tokens and descriptions of their replacement values.
token_element_validate_token_context ./token.module Validate a form element that should have tokens in it.
token_find_duplicate_tokens ./token.module Find tokens that have been declared twice by different modules. 1
token_get_date_token_info ./token.module Build a list of common date tokens for use in hook_token_list(). 5
token_get_date_token_values ./token.module Build a list of common date tokens for use in hook_token_values(). 5
token_get_invalid_tokens_by_context ./token.module Validate an tokens in raw text based on possible contexts. 1
token_get_list ./token.module A helper function that retrieves all currently exposed tokens, and merges them recursively. This is only necessary when building the token listing -- during actual value replacement, only tokens in a particular domain are requested and a normal… 2
token_get_values ./token.module Return a list of valid substitution tokens and their values for the specified type. 2
token_help ./token.module Implements hook_help().
token_include ./token.module General function to include the files that token relies on for the real work. 4
token_install ./token.install
token_menu_get_mid ./token_node.inc Check if mid/path is present in the menu. 1
token_prepare_tokens ./token.module A helper function that transforms all the elements of an array. Used to change the delimiter style from brackets to percent symbols etc. 2
token_replace ./token.module Return the value of $original, with all instances of placeholder tokens replaced by their proper values. To replace multiple types at once see token_replace_multiple().
token_replace_multiple ./token.module Return the value of $original, with all instances of placeholder tokens replaced by their proper values. Contrary to token_replace(), this function supports replacing multiple types.
token_requirements ./token.install Implements hook_requirements().
token_scan ./token.module Build a list of all token-like patterns that appear in the text. 1
token_token_list ./token.module Sample implementation of hook_token_list(). Documents the individual tokens handled by your module.
token_token_values ./token.module Sample implementation of hook_token_values().
token_update_1 ./token.install
user_token_list ./token_user.inc Implementation of hook_token_list().
user_token_values ./token_user.inc Implementation of hook_token_values().
_token_get_id ./token.module 1
_token_replace_tokens ./token.module 2

Other projects