[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

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

(no description)

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

Defines 24 functions

  features_populate()
  _features_populate()
  _features_export_minimize_dependencies()
  _features_export_maximize_dependencies()
  features_export_prepare()
  features_export_render_hooks()
  features_export_render()
  features_detect_overrides()
  features_get_default_hooks()
  features_export_render_defaults()
  features_export_info()
  features_tar_create()
  features_var_export()
  features_translatables_export()
  features_get_storage()
  features_get_signature()
  features_set_signature()
  features_semaphore()
  features_get_normal()
  features_get_default()
  features_get_default_map()
  features_get_component_states()
  _features_linetrim()
  _features_sanitize()

Functions
Functions that are not part of a class:

features_populate($items, $dependencies, $module_name)   X-Ref

param: $items
param: $module_name
return:

_features_populate($pipe, &$export, $module_name = '')   X-Ref
Iterate and descend into a feature definition to extract module
dependencies and feature definition. Calls hook_features_export for modules
that implement it.

param: $pipe
param: $export
return: fully populated $export array.

_features_export_minimize_dependencies($dependencies, $module_name = '')   X-Ref
Iterates over a list of dependencies and kills modules that are
captured by other modules 'higher up'.


_features_export_maximize_dependencies($dependencies, $module_name = '', $first = TRUE)   X-Ref
Iterates over a list of dependencies and maximize the list of modules.


features_export_prepare($export, $module_name, $reset = FALSE)   X-Ref
Prepare a feature export array into a finalized info array.


features_export_render_hooks($export, $module_name, $reset = FALSE)   X-Ref
Generate an array of hooks and their raw code.


features_export_render($export, $module_name, $reset = FALSE)   X-Ref
Render feature export into an array representing its files.

param: $export
param: $module_name
param: $reset
return: array of info file and module file contents.

features_detect_overrides($module)   X-Ref
Detect differences between DB and code components of a feature.


features_get_default_hooks($component = NULL, $reset = FALSE)   X-Ref
Gets the available default hooks keyed by components.


features_export_render_defaults($module, $hook, $code)   X-Ref
Return a code string representing an implementation of a defaults module hook.


features_export_info($info, $parents = array()   X-Ref
Generate code friendly to the Drupal .info format from a structured array.

param: $info
param: $parents
return:

features_tar_create($name, $contents)   X-Ref
Tar creation function. Written by dmitrig01.

param: $name
param: $contents
return:

features_var_export($var, $prefix = '', $init = TRUE)   X-Ref
Export var function -- from Views.


features_translatables_export($translatables, $indent = '')   X-Ref
Helper function to return an array of t()'d translatables strings.
Useful for providing a separate array of translatables with your
export so that string extractors like potx can detect them.


features_get_storage($module_name)   X-Ref
Get a summary storage state for a feature.


features_get_signature($state = 'default', $module_name, $component, $reset = FALSE)   X-Ref
Wrapper around features_get_[storage] to return an md5hash of a normalized
defaults/normal object array. Can be used to compare normal/default states
of a module's component.


features_set_signature($module, $component, $signature = NULL)   X-Ref
Set the signature of a module/component pair in the codecache.


features_semaphore($op, $component)   X-Ref
Processing semaphore operations.


features_get_normal($component, $module_name, $reset = FALSE)   X-Ref
Get normal objects for a given module/component pair.


features_get_default($component, $module_name = NULL, $alter = TRUE, $reset = FALSE)   X-Ref
Get defaults for a given module/component pair.


features_get_default_map($component, $attribute = NULL, $callback = NULL, $reset = FALSE)   X-Ref
Get a map of components to their providing modules.


features_get_component_states($features = array()   X-Ref
Retrieve an array of features/components and their current states.


_features_linetrim($code)   X-Ref
Helper function to eliminate whitespace differences in code.


_features_sanitize(&$array)   X-Ref
"Sanitizes" an array recursively, performing two key operations:
- Sort an array by its keys (assoc) or values (non-assoc)
- Remove any null or empty values for associative arrays (array_filter()).




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