[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/features/includes/ -> features.ctools.inc (summary)

This is a wild hack, but effective. Dynamically declare functions under a ctools component's namespace if they are not already declared.

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

Defines 14 functions

  ctools_features_api()
  ctools_features_export()
  ctools_features_export_render()
  ctools_component_features_api()
  ctools_component_features_export_options()
  ctools_component_features_export()
  ctools_component_features_export_render()
  ctools_component_features_revert()
  _ctools_features_get_info()
  _ctools_features_export_crud_export()
  _ctools_features_export_crud_load()
  _ctools_features_export_default_list()
  _ctools_features_export_crud_delete()
  page_manager_pages_features_export_render()

Functions
Functions that are not part of a class:

ctools_features_api()   X-Ref
Implementation of hook_features_api().


ctools_features_export($data, &$export, $module_name = '')   X-Ref
Implementation of hook_features_export().
Adds references to the ctools mothership hook, ctools_plugin_api().


ctools_features_export_render($module, $data)   X-Ref
Implementation of hook_features_export_render().
Adds the ctools mothership hook, ctools_plugin_api().


ctools_component_features_api($module_name)   X-Ref
Master implementation of hook_features_api() for all ctools components.

Note that this master hook does not use $component like the others, but uses the
component module's namespace instead.

ctools_component_features_export_options($component)   X-Ref
Master implementation of hook_features_export_options() for all ctools components.


ctools_component_features_export($component, $data, &$export, $module_name = '')   X-Ref
Master implementation of hook_features_export() for all ctools components.


ctools_component_features_export_render($component, $module, $data)   X-Ref
Master implementation of hook_features_export_render() for all ctools components.


ctools_component_features_revert($component, $module)   X-Ref
Master implementation of hook_features_revert() for all ctools components.


_ctools_features_get_info($identifier = NULL, $reset = FALSE)   X-Ref
Helper function to return various ctools information for components.


_ctools_features_export_crud_export($table, $object, $indent = '')   X-Ref
Wrapper around ctools_export_crud_export() for < 1.7 compatibility.


_ctools_features_export_crud_load($table, $name)   X-Ref
Wrapper around ctools_export_crud_load() for < 1.7 compatibility.


_ctools_features_export_default_list($table, $schema)   X-Ref
Wrapper around ctools_export_default_list() for < 1.7 compatibility.


_ctools_features_export_crud_delete($table, $object)   X-Ref
Wrapper around ctools_export_crud_delete() for < 1.7 compatibility.


page_manager_pages_features_export_render($module, $data)   X-Ref
Implementation of hook_features_export_render() for page_manager.




Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7