$helpers
$helpers : array
Other helpers used by HtmlHelper
BackTo Helper
Add your application-wide methods in the class below, your helpers will inherit them.
button(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 attribute
icon
- Icon to be displayed on the button (only to specify the last keyword of gliphs of bootstrap components)
iconSize
- '' is the default size : lg / sm / xs
string | $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.
linkButton(string $title, mixed $url, array $options = array()) : string
backToPageButton Go back to the page where the plugin has been first displayed #### Original options `icon` - Icon to be displayed on the button (only to specify the last keyword of gliphs of bootstrap components) `iconSize` - '' is the default size : lg / sm / xs
string | $title | Title string to be displayed on the button |
mixed | $url | Link url |
array | $options | Array of options and HTML arguments. |
indexLinkButton(string $title, string $defaultField = 'default_action', array $options = array()) : string
backToPageButton Go back to the page where the plugin has been first displayed
string | $title | Title string to be displayed on the button |
string | $defaultField | Plugin table's default action field. The value is "default_action" or "default_setting_action" |
array | $options | Array of options and HTML attributes. |