protected function getInputNamePrefix()
    {
        $model = $this->context->model;
        if ($model instanceof Model) {
            if (empty($this->renderer->columns) || ($this->isRendererHasOneColumn() && $this->hasModelAttribute($this->name))) {
                return $model->formName();
            }
            
            return Html::getInputName($this->context->model, $this->context->attribute);
        }
        
        return $this->context->name;
    }
protected function getInputNamePrefix()
    {
        $model = $this->context->model;
        if ($model instanceof Model) {
            if (empty($this->renderer->columns) || ($this->isRendererHasOneColumn() && $this->hasModelAttribute($this->name))) {
                return $model->formName();
            }
            
            return Html::getInputName($this->context->model, $this->context->attribute);
        }
        
        return $this->context->name;
    }
protected function getInputNamePrefix ( ) { $ model = $ this -> context -> model ; if ( $ model instanceof Model ) { if ( empty ( $ this -> renderer -> columns ) || ( $ this -> isRendererHasOneColumn ( ) && $ this -> hasModelAttribute ( $ this -> name ) ) ) { return $ model -> formName ( ) ; } return Html :: getInputName ( $ this -> context -> model , $ this -> context -> attribute ) ; } return $ this -> context -> name ; }
Return prefix for name of input.

@return string
Return prefix for name of input .