src/widgets/LocationFormWidget.php
public function getSubmitModelName($attribute)
    {
        return empty($this->submitModelName) ? Html::getInputName($this->model, $attribute) : $this->submitModelName . "[$attribute]";
    }
public function getSubmitModelName($attribute)
    {
        return empty($this->submitModelName) ? Html::getInputName($this->model, $attribute) : $this->submitModelName . "[$attribute]";
    }
public function getSubmitModelName ( $ attribute ) { return empty ( $ this -> submitModelName ) ? Html :: getInputName ( $ this -> model , $ attribute ) : $ this -> submitModelName . "[$attribute]" ; }
Gets the submit model name.

@param string $attribute
@return string
Gets the submit model name .