[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/data/ -> data.api.php (summary)

(no description)

File Size: 77 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  hook_data_insert()
  hook_data_update()
  hook_data_delete_query_alter()
  hook_data_default()
  hook_ctools_plugin_api()

Functions
Functions that are not part of a class:

hook_data_insert($record, $table_name)   X-Ref
Invoked after a data record has been inserted.


hook_data_update($record, $table_name)   X-Ref
Invoked after a data record has been updated.


hook_data_delete_query_alter(&$query, $table_name)   X-Ref
Invoked before a delete. Add to/remove from a delete query before deleting.


hook_data_default()   X-Ref
Expose default tables.

Note:

- Implementor is responsible for creating this table on installation and for
proper updates in case of schema changes (hook_install(), hook_update_N())
- Implement hook_ctools_plugin_api() to make this hook discoverable by
CTools - see below.

hook_ctools_plugin_api()   X-Ref
Example for a CTools Plugin API implementation for hook_data_default().




Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7