You are here

Functions in Context 6

Primary tabs

Namesort descending Location Description Direct uses Strings
context_active_contexts ./context.module Loads any active contexts with associated reactions. This should be run at a late stage of the page load to ensure that relevant contexts have been set. 5
context_active_values ./context.module Builds an array of values based on the current active contexts and group by conditions/reactions. 5
context_blocks ./context.core.inc This override of theme_blocks() is called because of an alter of the theme registry. See context_theme_registry_alter(). 1
context_block_list ./context.core.inc An alternative version of block_list() that provides any context enabled blocks. 1
context_cache_get ./context.module Wrapper around cache_get() to make it easier for context to pull different datastores from a single cache row. 5
context_cache_set ./context.module Wrapper around cache_set() to make it easier for context to write different datastores to a single cache row. 5
context_clear ./context.module Clears static context array() -- meant only for testing 1
context_conditions ./context.module Invokes hook_context_conditions() to provide an array of conditions that may be associated with a context. 6
context_condition_map ./context.module Loads an associative array of conditions => context identifiers to allow contexts to be set by different conditions. Called by context_set_by_condition(). 3
context_condition_text_validate ./context.core.inc Element validate handler for setter textareas and texfields. Will process and convert a string to an array of matchable elements by splitting on an appropriate delimiter ("\n" for textareas and "," for textfields). 1
context_context ./context.module Master context function. Avoid calling this directly -- use one of the helper functions below. 5
context_contexts ./context.module Provides an array of all contexts provided by modules and in the database. 4
context_context_conditions ./context.core.inc Implementation of hook_context_conditions().
context_context_reactions ./context.core.inc Implementation of hook_context_reactions().
context_contrib_context_conditions context_contrib/context_contrib.module Implementation of hook_context_conditions().
context_contrib_context_reaction context_contrib/context_contrib.module Implementation of hook_context_reaction().
context_contrib_context_reactions context_contrib/context_contrib.module Implementation of hook_context_reactions().
context_contrib_nodeapi context_contrib/context_contrib.module Implementation of hook_nodeapi().
context_contrib_views_pre_view context_contrib/context_contrib.module Implementation of hook_views_pre_view().
context_delete_context ./context.module Deletes an existing context. 1
context_empty ./context.module Recursive helper function to determine whether an array and its children are entirely empty. 3
context_enabled_contexts ./context.module Retrieves all enabled contexts from the cache. 4
context_exists ./context.module Deprecated context_exists() function. Retained for backwards compatibility -- please use context_isset() instead. 1
context_flush_caches ./context.module Implementation of hook_flush_caches().
context_form_alter ./context.core.inc Implementation of hook_form_alter().
context_form_comment_form_alter ./context.core.inc Implementation of hook_form_alter() for comment_form.
context_get ./context.module Retrieves a context by namespace + (optional) attribute. 3
context_init ./context.module Implementation of hook_init().
context_install ./context.install Implementation of hook_install().
context_invalidate_cache ./context.module Invalidates all context caches(). 5
context_isset ./context.module Returns a boolean for whether a context namespace + attribute have been set. 1
context_layouts_context_page_reaction context_layouts/context_layouts.module Implementation of hook_context_page_reaction().
context_layouts_context_plugins context_layouts/context_layouts.module Implementation of hook_context_plugins(). This is a ctools plugins hook.
context_layouts_context_registry_alter context_layouts/context_layouts.module Implementation of hook_context_registry_alter().
context_layouts_get_active_layout context_layouts/context_layouts.module Get the active layout for the current page.
context_layouts_get_layouts context_layouts/context_layouts.module Retrieve layouts for the specified theme. 4
context_layouts_help context_layouts/context_layouts.module Implementation of hook_help().
context_layouts_preprocess_page context_layouts/context_layouts.module Preprocessor for theme('page').
context_links ./context.core.inc Generates an array of links (suitable for use with theme_links) to the node forms of types associated with current active contexts. 1
context_load_context ./context.module Context loader. 5
context_menu_navigation_links ./context.core.inc Wrapper around menu_navigation_links() that gives themers the option of building navigation links based on an active context trail. 1
context_menu_set_active ./context.core.inc Iterates through a provided links array for use with theme_links() (e.g. from menu_primary_links()) and provides an active class for any items that have a path that matches an active context. 1
context_nodeapi ./context.core.inc Implementation of hook_nodeapi().
context_pack_context ./context.module Helper function to pack a context object to be stored in the database. 1
context_preprocess_page ./context.core.inc Implementation of preprocess_page(). 1
context_reactions ./context.module Invokes hook_context_reactions() to provide an array of reactions that may be associated with a context. 5
context_save_context ./context.module Inserts or updates a context object into the database. @TODO: should probably return the new cid on success -- make sure this doesn't break any checks elsewhere. 2
context_schema ./context.install Implementation of hook_schema().
context_set ./context.module Sets a context by namespace + attribute. 2
context_set_by_condition ./context.module Sets a namespace-attribute-value context that has been associated with the provided condition. 7

Pages

Other projects