You are here

function _phpapi in Coder 7.2

Creates a link to the PHP API docs.

Parameters

string $function: The PHP function documentation to link to.

Return value

string An HTML link to the PHP documents for the function. Except when called from Drush, then it is a plain text link.

4 calls to _phpapi()
coder_review_6x_reviews in coder_review/includes/coder_review_6x.inc
Implements hook_reviews().
coder_review_7x_reviews in coder_review/includes/coder_review_7x.inc
Implements hook_reviews().
coder_review_security_reviews in coder_review/includes/coder_review_security.inc
Implements hook_reviews().
_coder_review_security_trigger_error_filter_warning in coder_review/includes/coder_review_security.inc
Warning callback: Defines the parameters for trigger_error_filter_warning.

File

coder_review/coder_review.common.inc, line 1534
Common functions used by both the drush and form interfaces.

Code

function _phpapi($function) {
  return _l($function, "http://php.net/{$function}");
}