/** * Gets the value of inputName * * @return string */ public function getInputName() { if (!isset($this->_inputName)) { $nameModel = $this->model->formName(); $this->_inputName = "{$nameModel}[{$this->field}]"; } return $this->_inputName; }