/** * Get main attrs * @param array $attrs * @return array */ protected function _getAttrs(array $attrs) { $attrs = parent::_getAttrs($attrs); $attrs['maxlength'] = '255'; $attrs['size'] = '60'; //$attrs = $this->_addPlaceholder($attrs); return $attrs; }
/** * Get name * @param string $key * @param bool $postFix * @return string */ protected function _getName($key = null, $postFix = null) { return parent::_getName() . '[' . $key . ']' . ($postFix !== null ? '[' . $postFix . ']' : null); }