code: public function getSubmitModelName($attribute)
      {
          return empty($this->submitModelName) ? Html::getInputName($this->model, $attribute) : $this->submitModelName . "[$attribute]";
      }
docs: Gets the submit model name.
  
  @param string $attribute
  @return string