You are here

Functions in Examples for Developers 7

Primary tabs

Namesort descending Location Description Direct uses Strings
ajax_example_node_load ajax_example/ajax_example_node_form_alter.inc Implements hook_node_load().
ajax_example_node_prepare ajax_example/ajax_example_node_form_alter.inc Implements hook_node_prepare().
ajax_example_node_submit ajax_example/ajax_example_node_form_alter.inc Implements hook_node_submit().
ajax_example_node_update ajax_example/ajax_example_node_form_alter.inc Implements hook_node_update().
ajax_example_progressbar_callback ajax_example/ajax_example_progressbar.inc Our submit handler. 1
ajax_example_progressbar_form ajax_example/ajax_example_progressbar.inc Implements hook_FORMID(). 1
ajax_example_progressbar_progress ajax_example/ajax_example_progressbar.inc Get the progress bar execution status, as JSON. 1
ajax_example_render_link ajax_example/ajax_example_misc.inc Demonstrates a clickable AJAX-enabled link using the 'use-ajax' class. 1
ajax_example_render_link_ra ajax_example/ajax_example_misc.inc AJAX-enabled link in a renderable array. 1
ajax_example_schema ajax_example/ajax_example.install Implements hook_schema(). 1
ajax_example_simplest ajax_example/ajax_example.module Basic AJAX callback example. 1
ajax_example_simplest_callback ajax_example/ajax_example.module Callback for ajax_example_simplest. 1
ajax_example_simple_autocomplete ajax_example/ajax_example_autocomplete.inc A simple autocomplete form which just looks up usernames in the user table. 1
ajax_example_simple_user_autocomplete_callback ajax_example/ajax_example_autocomplete.inc This is just a copy of user_autocomplete(). 1
ajax_example_submit_driven_ajax ajax_example/ajax_example.module A very basic form which with an AJAX-enabled submit. 1
ajax_example_submit_driven_callback ajax_example/ajax_example.module Callback for submit_driven example. 1
ajax_example_unique_autocomplete ajax_example/ajax_example_autocomplete.inc An autocomplete form to look up nodes by title. 1
ajax_example_unique_autocomplete_submit ajax_example/ajax_example_autocomplete.inc Submit handler for node lookup unique autocomplete example.
ajax_example_unique_autocomplete_validate ajax_example/ajax_example_autocomplete.inc Node title validation handler.
ajax_example_unique_node_autocomplete_callback ajax_example/ajax_example_autocomplete.inc Autocomplete callback for nodes by title. 1
ajax_example_update_7100 ajax_example/ajax_example.install Add the new ajax_example_node_form_alter table.
ajax_example_wizard ajax_example/ajax_example_graceful_degradation.inc Wizard form. 1
ajax_example_wizard_callback ajax_example/ajax_example_graceful_degradation.inc Wizard callback function. 1
ajax_example_wizard_submit ajax_example/ajax_example_graceful_degradation.inc Submit function for ajax_example_wizard. 1
ajax_link_response ajax_example/ajax_example_misc.inc Callback for link example. 1
batch_example_batch_1 batch_example/batch_example.module Batch 1 definition: Load the node with the lowest nid 1000 times.
batch_example_batch_2 batch_example/batch_example.module Batch 2 : Prepare a batch definition that will load all nodes 20 times.
batch_example_finished batch_example/batch_example.module Batch 'finished' callback used by both batch 1 and batch 2. 2
batch_example_lowest_nid batch_example/batch_example.module Utility function - simply queries and loads the lowest nid. 2
batch_example_menu batch_example/batch_example.module Implements hook_menu().
batch_example_op_1 batch_example/batch_example.module Batch operation for batch 1: load a node. 1
batch_example_op_2 batch_example/batch_example.module Batch operation for batch 2 : load all nodes, 5 by five. 1
batch_example_simple_form batch_example/batch_example.module Form builder function to allow choice of which batch to run. 1
batch_example_simple_form_submit batch_example/batch_example.module Submit handler.
batch_example_update_7100 batch_example/batch_example.install Example of batch-driven update function.
block_example_block_configure block_example/block_example.module Implements hook_block_configure().
block_example_block_info block_example/block_example.module Implements hook_block_info().
block_example_block_list_alter block_example/block_example.module Implements hook_block_list_alter().
block_example_block_save block_example/block_example.module Implements hook_block_save().
block_example_block_view block_example/block_example.module Implements hook_block_view().
block_example_block_view_alter block_example/block_example.module Implements hook_block_view_alter().
block_example_contents block_example/block_example.module A module-defined block content function. 1
block_example_menu block_example/block_example.module Implements hook_menu().
block_example_page block_example/block_example.module Simple page function to explain what the block example is about. 1
block_example_uninstall block_example/block_example.install Implements hook_uninstall().
cache_example_form_cache_clearing cache_example/cache_example.module Submit handler to demonstrate the various uses of cache_clear_all(). 1
cache_example_form_create_expiring_item cache_example/cache_example.module Submit handler to create a new cache item with specified expiration. 1
cache_example_form_expire_files cache_example/cache_example.module Submit handler that explicitly clears cache_example_files_count from cache. 1
cache_example_menu cache_example/cache_example.module Implements hook_menu().
cache_example_page_form cache_example/cache_example.module Main page for cache_example. 1

Pages

Other projects