This example demonstrates the usage of draggable table rows.

Parent topics

File

modules/examples/tabledrag_example/tabledrag_example.module, line 7
Hook implementations for the Tabledrag Example module.

Functions

Namesort descending Location Description
tabledrag_example_get_tree modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Recursively adds to the $itemtree array, ordered by parent/child/weight.
tabledrag_example_install modules/examples/tabledrag_example/tabledrag_example.install Implements hook_install().
tabledrag_example_menu modules/examples/tabledrag_example/tabledrag_example.module Implements hook_menu().
tabledrag_example_parent_form modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Build the parent-child example form.
tabledrag_example_parent_form_submit modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Submit callback for the tabledrag_example_parent_form form.
tabledrag_example_parent_get_data modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Retrieves the tree structure from database, and sorts by parent/child/weight.
tabledrag_example_schema modules/examples/tabledrag_example/tabledrag_example.install Implements hook_schema().
tabledrag_example_simple_form modules/examples/tabledrag_example/tabledrag_example_simple_form.inc Build the tabledrag_simple_example_form form.
tabledrag_example_simple_form_submit modules/examples/tabledrag_example/tabledrag_example_simple_form.inc Submit callback for the tabledrag_example_simple_form form.
tabledrag_example_theme modules/examples/tabledrag_example/tabledrag_example.module Implements hook_theme().
theme_tabledrag_example_parent_form modules/examples/tabledrag_example/tabledrag_example_parent_form.inc Theme callback for the tabledrag_example_parent_form form.
theme_tabledrag_example_simple_form modules/examples/tabledrag_example/tabledrag_example_simple_form.inc Theme callback for the tabledrag_example_simple_form form.

Classes

Namesort descending Location Description
TabledragExampleTestCase modules/examples/tabledrag_example/tests/tabledrag_example.test Default test case for the tabledrag_example module.