You are here

function _coder_review_drush_is_option in Coder 7

Helper function to determine if an option is set.

10 calls to _coder_review_drush_is_option()
coder_review_drush_review in coder_review/coder_review.drush.inc
Do the actual review.
coder_review_page_form in coder_review/coder_review.module
Implements hook_form().
coder_review_print_drush_messages in coder_review/coder_review.drush.inc
Handle printing of drupal_set_message() messages.
do_coder_reviews in coder_review/coder_review.module
Perform batch coder reviews for multiple files.
theme_coder_review in coder_review/coder_review.module
Format coder_review form and results.

... See full list

6 string references to '_coder_review_drush_is_option'
coder_review_page_form in coder_review/coder_review.module
Implements hook_form().
do_coder_reviews in coder_review/coder_review.module
Perform batch coder reviews for multiple files.
theme_coder_review in coder_review/coder_review.module
Format coder_review form and results.
theme_coder_review_warning in coder_review/coder_review.module
Format a coder_review warning to be included in results.
_coder_review_form_output in coder_review/coder_review.module

... See full list

File

coder_review/coder_review.drush.inc, line 326
Command line utility for coder_review.

Code

function _coder_review_drush_is_option($option) {
  global $_coder_drush_options;
  return isset($_coder_drush_options[$option]);
}