Merge "HTMLForm: Add comment to help grepping function names"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 1 Jan 2016 06:00:28 +0000 (06:00 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 1 Jan 2016 06:00:28 +0000 (06:00 +0000)
includes/htmlform/HTMLForm.php

index b0d90af..d75bdb3 100644 (file)
@@ -1396,6 +1396,7 @@ class HTMLForm extends ContextSource {
                $hasLabel = false;
 
                // Conveniently, PHP method names are case-insensitive.
+               // For grep: this can call getDiv, getRaw, getInline, getVForm, getOOUI
                $getFieldHtmlMethod = $displayFormat == 'table' ? 'getTableRow' : ( 'get' . $displayFormat );
 
                foreach ( $fields as $key => $value ) {