getHtmlName() public method

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