[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/module_builder/drush/ -> module_builder.drush.inc (summary)

(no description)

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

Defines 17 functions

  module_builder_drush_command()
  module_builder_drush_help()
  module_builder_callback_build()
  module_builder_build_data()
  module_builder_default_readable_name()
  module_builder_build_module()
  module_builder_requested_filenames()
  module_builder_build_info()
  module_builder_drush_output_code()
  drush_input()
  module_builder_callback_hook_download()
  module_builder_callback_hook_list()
  module_builder_callback_hook_analyze()
  module_builder_callback_doc_hooks()
  module_builder_callback_get_data_dir()
  module_builder_callback_doc_params()
  module_builder_callback_debug()

Functions
Functions that are not part of a class:

module_builder_drush_command()   X-Ref
Implementation of hook_drush_command().

In this hook, you specify which commands your
drush module makes available, what it does and
description.

Notice how this structure closely resembles how
you define menu hooks.

return:

module_builder_drush_help($section)   X-Ref
Implementation of hook_drush_help().

This function is called whenever a drush user calls
'drush help <name-of-your-command>'

param:
return:

module_builder_callback_build()   X-Ref
Module builder drush command callback.

Form:
$drush mb machine_name hookA hookB hookC
where 'hookA' is the short name, ie 'menu' not hook_menu'.

module_builder_build_data($commands)   X-Ref
Helper function to build the array of module_data.


module_builder_default_readable_name($commands, $module_data)   X-Ref
Callback for generating default for module readable name.


module_builder_build_module($commands, &$module_data, $build_list)   X-Ref
Generates and outputs module code.

param: $commands
param: $module_data
param: $build_list

module_builder_requested_filenames($module_root_name, $real, $abbrev)   X-Ref
Figure out which of $real filenames are being requested in the list of $abbrev'iated ones.

return:

module_builder_build_info($commands, $module_data)   X-Ref
Generates and outputs info file code.


module_builder_drush_output_code($module_root_name, $filename, $code)   X-Ref
Output generated text, to terminal or to file.


drush_input($msg, $required = FALSE, $indent = 0)   X-Ref
Ask the user for input. DOESN'T WORK.

param: $msg The question to ask
return: The entered string.

module_builder_callback_hook_download()   X-Ref
Callback for downloading hook data.


module_builder_callback_hook_list()   X-Ref
Callback to list known hooks.


module_builder_callback_hook_analyze()   X-Ref
Callback to list hook implementations found in a given module.


module_builder_callback_doc_hooks()   X-Ref
Callback to add doc headers to existing hooks.


module_builder_callback_get_data_dir()   X-Ref
Callback to output the location of the data directory.


module_builder_callback_doc_params()   X-Ref
WORK IN PROGRESS
Add function headers wherever needed with params.


module_builder_callback_debug()   X-Ref
No description



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