$helpers
$helpers : array
Other helpers used by FormHelper
Button Helper
delete(string $title, string $confirm, array $options = array()) : string
Creates a `<button>` tag. The type attribute defaults to `type="submit"` You can change it to a different value by using `$options['type']`.
escape
- HTML entity encode the $title of the button. Defaults to false.confirm
- Add javascript confirm in onclick attributestring | $title | The button's caption. Not automatically HTML encoded |
string | $confirm | Confirm message by button click |
array | $options | Array of options and HTML attributes. |
A HTML button tag.
save(string $title, array $options = array()) : string
Creates a `<button>` tag. The type attribute defaults to `type="submit"` You can change it to a different value by using `$options['type']`.
escape
- HTML entity encode the $title of the button. Defaults to false.confirm
- Add javascript confirm in onclick attributestring | $title | The button's caption. Not automatically HTML encoded |
array | $options | Array of options and HTML attributes. |
A HTML button tag.
cancel(string $title, string $url, array $options = array()) : string
Creates a `<button>` tag. The type attribute defaults to `type="submit"` You can change it to a different value by using `$options['type']`.
escape
- HTML entity encode the $title of the button. Defaults to false.url
- The url in onclick attributestring | $title | The button's caption. Not automatically HTML encoded |
string | $url | The url in onclick attribute |
array | $options | Array of options and HTML attributes. |
A HTML button tag.
cancelAndSave(string $cancelTitle, string $saveTitle, string $cancelUrl = null, array $cancelOptions = array(), array $saveOptions = array()) : string
キャンセル、決定ボタン
string | $cancelTitle | キャンセルボタンのラベル |
string | $saveTitle | 決定ボタンのラベル |
string | $cancelUrl | キャンセルボタン押下のURL |
array | $cancelOptions | キャンセルボタンのオプション |
array | $saveOptions | 決定ボタンのオプション |
A HTML button tag.
cancelAndSaveAndSaveTemp(string $cancelUrl = null, array $cancelOptions = array(), array $saveTempOptions = array(), array $saveOptions = array(), string|null $backUrl = null) : string
キャンセル、一時保存、決定ボタン
string | $cancelUrl | キャンセルボタン押下のURL |
array | $cancelOptions | キャンセルボタンのオプション |
array | $saveTempOptions | 一時保存ボタンのオプション |
array | $saveOptions | 決定ボタンのオプション |
string|null | $backUrl | Back url |
ボタン群のタグ.