mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Updating doc blocks for FormHelper::input() refs #735
This commit is contained in:
parent
3a81a9e6f2
commit
82250efc3e
1 changed files with 4 additions and 3 deletions
|
@ -684,9 +684,10 @@ class FormHelper extends AppHelper {
|
|||
* - `after` - Content to place after the label + input.
|
||||
* - `between` - Content to place between the label + input.
|
||||
* - `format` - format template for element order. Any element that is not in the array, will not be in the output.
|
||||
* Default input format order: array('before', 'label', 'between', 'input', 'after', 'error')
|
||||
* Default checkbox format order: array('before', 'input', 'between', 'label', 'after', 'error')
|
||||
* Hidden input will not be formatted
|
||||
* - Default input format order: array('before', 'label', 'between', 'input', 'after', 'error')
|
||||
* - Default checkbox format order: array('before', 'input', 'between', 'label', 'after', 'error')
|
||||
* - Hidden input will not be formatted
|
||||
* - Radio buttons cannot have the order of input and label elements controlled with these settings.
|
||||
*
|
||||
* @param string $fieldName This should be "Modelname.fieldname"
|
||||
* @param array $options Each type of input takes different options.
|
||||
|
|
Loading…
Add table
Reference in a new issue