$helpers
$helpers : array
使用するHelpers
FormInputHelper
Add your application-wide methods in the class below, your helpers will inherit them.
getDivOption(string $type, array $options, string $key, mixed $default = array()) : array
$optionsの中身をarray('div' => css文字列)をarray('div' => ['class' => css文字列])に変換して出力する
| string | $type | inputのタイプ | 
| array | $options | inputのオプション配列 | 
| string | $key | オプションキー | 
| mixed | $default | デフォルト値 | 
$options divオプション
select(string $fieldName, array $options = array(), array $attributes = array()) : string
セレクトボックスを出力する
| string | $fieldName | フィールド名("Modelname.fieldname"形式) | 
| array | $options | selectオプション配列 
 | 
| array | $attributes | HTMLの属性オプション | 
hidden(string $fieldName, array $options = array()) : string
NetCommons用にFormHelper::hidden()を付与してHTMLを出力する
値がfalseの場合、hiddenのvalueが消えてしまい、validationErrorになってしまう。
https://github.com/cakephp/cakephp/issues/5639
$this->request->data['BbsSetting']['use_comment'] = false;echo $this->NetCommonsForm->hidden('BbsSetting.use_comment');<input type="hidden" name="data[BbsSetting][use_comment]" value="0" id="BbsSettingUseComment"/>| string | $fieldName | フィールド名, like this "Modelname.fieldname" | 
| array | $options | hiddenのオプション | 
__bootstrapCheckbox(string $fieldName, string $checkboxClass, string $label, boolean $escape, array $inputOptions) : string
Bootstrapのチェックボックスを出力する
| string | $fieldName | フィールド名 | 
| string | $checkboxClass | チェックボックスclass属性 | 
| string | $label | ラベル | 
| boolean | $escape | エスケープフラグ | 
| array | $inputOptions | HTMLの属性オプション |