/** * Create the html key to be used in the block view * @param string $altKey * @return string */ protected function _getInputHTMLKey($altKey = '') { if ($this->_block->getRepeaterId() && $this->_block->getRepeaterRowId()) { $inputHMTLKey = 'repeater[' . $this->_block->getRepeaterId() . '][' . $this->_block->getRepeaterRowId() . ']'; } else { $inputHMTLKey = 'block'; } return $inputHMTLKey . '[' . $this->_block->id . ']' . ($altKey ? '[' . $altKey . ']' : ''); }