Skip to content

Commit

Permalink
Updating doc blocks for FormHelper::input() refs #735
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 21, 2010
1 parent 3a81a9e commit 82250ef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cake/libs/view/helpers/form.php
Expand Up @@ -684,9 +684,10 @@ function inputs($fields = null, $blacklist = null) {
* - `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.
Expand Down

0 comments on commit 82250ef

Please sign in to comment.