kartik\builder\BaseForm::getInput PHP Метод

getInput() защищенный статический Метод

Generates the active field input by parsing the label and hint.
protected static getInput ( kartik\form\ActiveField $field, string $label = null, string $hint = null ) : kartik\form\ActiveField
$field kartik\form\ActiveField the active field instance.
$label string the label for the field
$hint string the hint for the field
Результат kartik\form\ActiveField
    protected static function getInput($field, $label = null, $hint = null)
    {
        if ($label !== null) {
            $field = $field->label($label);
        }
        if ($hint !== null) {
            $field = $field->hint($hint);
        }
        return $field;
    }