You are here

function coder_upgrade_convert_function_calls in Coder 7

Same name in this branch
  1. 7 coder_upgrade/includes/main.inc \coder_upgrade_convert_function_calls()
  2. 7 coder_upgrade/conversions/other.inc \coder_upgrade_convert_function_calls()
Same name and namespace in other branches
  1. 7.2 coder_upgrade/includes/main.inc \coder_upgrade_convert_function_calls()
  2. 7.2 coder_upgrade/conversions/other.inc \coder_upgrade_convert_function_calls()

Upgrades function calls using grammar parser.

System http://drupal.org/node/224333#registry http://drupal.org/node/224333#drupal_set_session (REVERTED) http://drupal.org/node/224333#time http://drupal.org/node/224333#rebuild_functions http://drupal.org/node/224333#drupal_uninstall_modules http://drupal.org/node/224333#module_implements_not_module_list http://drupal.org/node/224333#drupal_http_request_parameters http://drupal.org/node/224333#system_get_module_data http://drupal.org/node/224333#static_variable_api (NOT IN THIS FUNCTION) http://drupal.org/node/224333#drupal_set_html_head http://drupal.org/node/224333#php_eval http://drupal.org/node/224333#http_header_functions http://drupal.org/node/224333#drupal_set_content http://drupal.org/node/224333#time_limit

Database http://drupal.org/node/224333#schema_ret

Menu http://drupal.org/node/224333#comment_load (DUP Comments)

Comments http://drupal.org/node/224333#comment_load http://drupal.org/node/224333#comment_validate_removed http://drupal.org/node/224333#comment_node_url

Input Sanitization and Input Formats http://drupal.org/node/224333#check_markup_params http://drupal.org/node/224333#drupal_set_title http://drupal.org/node/224333#hook_filter_info (NOT IN THIS FUNCTION) http://drupal.org/node/224333#filter_formats_parameters

Taxonomy http://drupal.org/node/224333#taxonomy_get_tree http://drupal.org/node/224333#taxonomy_crud

Javascript http://drupal.org/node/224333#drupal_add_js_options http://drupal.org/node/224333#drupal_add_js_weight (Included with above) http://drupal.org/node/224333#rename-drupal-to-js

CSS http://drupal.org/node/224333#drupal_add_js_options (DUP Javascript)

Theming http://drupal.org/node/224333#rebuild_functions (DUP System) http://drupal.org/node/224333#theme_changes

Form API http://drupal.org/node/224333#drupal_execute_drupal_form_submit

File API http://drupal.org/node/224333#file_set_status http://drupal.org/node/224333#preg_match

User API http://drupal.org/node/224333#user_cancel (ALSO in convert_functions) http://drupal.org/node/224333#user_authenticate

Multi-lingual http://drupal.org/node/224333#locale_context

Miscellaneous http://drupal.org/node/224333#book_toc_parameters http://drupal.org/node/224333#referer_uri http://drupal.org/node/224333#drupal_clone http://drupal.org/node/224333#actions_synchronize http://drupal.org/node/224333#url_is_external

Parameters

PGPReader $reader: The object containing the grammar statements of the file to convert.

1 call to coder_upgrade_convert_function_calls()
coder_upgrade_apply_parser in coder_upgrade/includes/main.inc
Applies grammar parser conversion routines to a file.

File

coder_upgrade/conversions/other.inc, line 102
Other conversion routine file for the coder_upgrade module.

Code

function coder_upgrade_convert_function_calls(&$reader) {
  cdp("inside " . __FUNCTION__);
  $editor = new PGPEditor();
  $types = array(
    T_STRING,
  );
  $editor
    ->traverseCallback($reader
    ->getFunctionCalls(), 'coder_upgrade_callback_function_calls', $types, $reader);
}