getHtmlName() public méthode

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