function _coder_review_drush_xml_output_reviews in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/coder_review.drush.inc \_coder_review_drush_xml_output_reviews()
XML: output list of chosen reviews.
1 call to _coder_review_drush_xml_output_reviews()
- coder_review_drush_review in coder_review/
coder_review.drush.inc - Do the actual review.
File
- coder_review/
coder_review.drush.inc, line 392 - Command line utility for coder_review.
Code
function _coder_review_drush_xml_output_reviews($reviews, $avail_reviews) {
_coder_review_drush_print('<reviews>');
foreach ($reviews as $review) {
_coder_review_drush_print('<review>' . $avail_reviews[$review]['#title'] . '</review>');
}
_coder_review_drush_print('</reviews>');
}