yii\widgets\ActiveField::getInputId PHP Метод

getInputId() защищенный Метод

Returns the HTML id of the input element of this form field.
С версии: 2.0.7
protected getInputId ( ) : string
Результат string the input id.
    protected function getInputId()
    {
        return $this->_inputId ?: Html::getInputId($this->model, $this->attribute);
    }

Usage Example

 protected function getInputId()
 {
     return $this->_inputId ?: parent::getInputId();
 }