mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Expanding documentation for FormHelper::submit() Fixes #390
This commit is contained in:
parent
9632e74cfc
commit
47afceea22
1 changed files with 7 additions and 1 deletions
|
@ -1202,11 +1202,17 @@ class FormHelper extends AppHelper {
|
|||
/**
|
||||
* Creates a submit button element.
|
||||
*
|
||||
* ### Options
|
||||
*
|
||||
* - `div` - Include a wrapping div? Defaults to true. Accepts sub options similar to
|
||||
* FormHelper::input().
|
||||
* - Other attributes will be assigned to the input element.
|
||||
*
|
||||
* @param string $caption The label appearing on the button OR if string contains :// or the
|
||||
* extension .jpg, .jpe, .jpeg, .gif, .png use an image if the extension
|
||||
* exists, AND the first character is /, image is relative to webroot,
|
||||
* OR if the first character is not /, image is relative to webroot/img.
|
||||
* @param array $options
|
||||
* @param array $options Array of options. See above.
|
||||
* @return string A HTML submit button
|
||||
* @access public
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue