getHtmlName() public method

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