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();
 }