getHtmlName() public method

Returns HTML name of control.
public getHtmlName ( ) : string
return string
コード例 #1
0
ファイル: MultiChoiceControl.php プロジェクト: jjanekk/forms
 /**
  * Returns HTML name of control.
  * @return string
  */
 public function getHtmlName()
 {
     return parent::getHtmlName() . '[]';
 }
コード例 #2
0
ファイル: UploadControl.php プロジェクト: nette/forms
 /**
  * Returns HTML name of control.
  * @return string
  */
 public function getHtmlName()
 {
     return parent::getHtmlName() . ($this->control->multiple ? '[]' : '');
 }