Returns HTML name of control.
public getHtmlName ( ) : string | ||
return | string |
/** * Returns HTML name of control. * @return string */ public function getHtmlName() { return parent::getHtmlName() . '[]'; }
/** * Returns HTML name of control. * @return string */ public function getHtmlName() { return parent::getHtmlName() . ($this->control->multiple ? '[]' : ''); }