coder_upgrade.main.inc

Version 1.5 (checked in on 2009/09/24 at 12:31:44 by solotandem)

Main conversion routine file for the coder_upgrade module.

The functions in these conversion routine files correspond to the topics in the category roadmap at http://drupal.org/node/394070 that are marked with a "Yes" in the Upgrade column.

Copyright 2008-9 by Jim Berry ("solotandem", http://drupal.org/user/240748)

Functions

NameDescription
coder_upgrade_apply_parserApply parser conversion routines to a file.
coder_upgrade_apply_regexApply regular expression conversion routines to a file.
coder_upgrade_convert_dirConvert files in a directory.
coder_upgrade_convert_fileConvert a file.
coder_upgrade_debug_printPrint debug information if debug flag is on.
coder_upgrade_do_conversionsLoop on from and to arrays, converting the text of the subject string.
coder_upgrade_find_hookFind the text of a particular function.
coder_upgrade_make_patch_fileMake a patch file of the conversion routine changes.
coder_upgrade_parser_routines_existReturn whether parser routines are present in the list.
coder_upgrade_save_changesSave the changes back to the file.
coder_upgrade_startPrepare conversion environment and start conversion loop.
coder_upgrade_upgradesImplement hook_upgrades().
_coder_upgrade_upgradesReturn the list of upgrade sets from all modules.