From bf4fa09b8f2a9f9d157b3d73b52bbab4a66d43aa Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 12 Mar 2009 17:33:47 +0000 Subject: [PATCH] Removing whitespace introduced in [8014] git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8093 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/form.php | 36 +++++++++++++-------------- cake/libs/view/helpers/javascript.php | 4 +-- cake/libs/view/helpers/time.php | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index 17a5d1a3f..4c82e73dc 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -72,15 +72,15 @@ class FormHelper extends AppHelper { var $requestType = null; /** * Returns an HTML FORM element. - * + * * Options: - * + * * - 'type' Form method defaults to POST * - 'action' The Action the form submits to. Can be a string or array, * - 'url' The url the form submits to. Can be a string or a url array, * - 'default' Allows for the creation of Ajax forms. - * - 'onsubmit' Used in conjunction with 'default' to create ajax forms. - * + * - 'onsubmit' Used in conjunction with 'default' to create ajax forms. + * * @access public * @param string $model The model object which the form is being defined for * @param array $options An array of html attributes and options. @@ -378,7 +378,7 @@ class FormHelper extends AppHelper { * Returns a formatted error message for given FORM field, NULL if no errors. * * Options: - * + * * - 'escape' bool Whether or not to html escape the contents of the error. * - 'wrap' mixed Whether or not the error message should be wrapped in a div. If a * string, will be used as the HTML tag to use. @@ -558,18 +558,18 @@ class FormHelper extends AppHelper { } /** * Generates a form input element complete with label and wrapper div - * + * * Options - See each field type method for more information. - * + * * - 'type' - Force the type of widget you want. e.g. ```type => 'select'``` * - 'label' - control the label * - 'div' - control the wrapping div element * - 'options' - for widgets that take options e.g. radio, select * - 'error' - control the error message that is produced - * + * * @param string $fieldName This should be "Modelname.fieldname" * @param array $options Each type of input takes different options. - * @return string Completed form widget + * @return string Completed form widget */ function input($fieldName, $options = array()) { $view =& ClassRegistry::getObject('view'); @@ -827,9 +827,9 @@ class FormHelper extends AppHelper { } /** * Creates a checkbox input widget. - * + * * Options: - * + * * - 'value' - the value of the checkbox * - checked' - boolean indicate that this checkbox is checked. * @@ -864,12 +864,12 @@ class FormHelper extends AppHelper { * Creates a set of radio widgets. * * Attributes: - * + * * - 'separator' - define the string in between the radio buttons * - 'legend' - control whether or not the widget set has a fieldset & legend * - 'value' - indicate a value that is should be checked * - 'label' - boolean to indicate whether or not labels for widgets show be displayed - * + * * @param string $fieldName Name of a field, like this "Modelname.fieldname" * @param array $options Radio button options array. * @param array $attributes Array of HTML attributes. @@ -1147,12 +1147,12 @@ class FormHelper extends AppHelper { * Returns a formatted SELECT element. * * Attributes: - * + * * - 'showParents' - If included in the array and set to true, an additional option element * will be added for the parent of each option group. * - 'multiple' - show a multiple select box. If set to 'checkbox' multiple checkboxes will be * created instead. - * + * * @param string $fieldName Name attribute of the SELECT * @param array $options Array of the OPTION elements (as 'value'=>'Text' pairs) to be used in the * SELECT element @@ -1315,7 +1315,7 @@ class FormHelper extends AppHelper { * Returns a SELECT element for months. * * Attributes: - * + * * - 'monthNames' is set and false 2 digit numbers will be used instead of text. * * @param string $fieldName Prefix name for the SELECT element @@ -1477,13 +1477,13 @@ class FormHelper extends AppHelper { * Returns a set of SELECT elements for a full datetime setup: day, month and year, and then time. * * Attributes: - * + * * - 'monthNames' If set and false numbers will be used for month select instead of text. * - 'minYear' The lowest year to use in the year select * - 'maxYear' The maximum year to use in the year select * - 'interval' The interval for the minutes select. Defaults to 1 * - 'separator' The contents of the string between select elements. Defaults to '-' - * + * * @param string $fieldName Prefix name for the SELECT element * @param string $dateFormat DMY, MDY, YMD or NONE. * @param string $timeFormat 12, 24, NONE diff --git a/cake/libs/view/helpers/javascript.php b/cake/libs/view/helpers/javascript.php index 02d8a507f..23a782369 100644 --- a/cake/libs/view/helpers/javascript.php +++ b/cake/libs/view/helpers/javascript.php @@ -151,9 +151,9 @@ class JavascriptHelper extends AppHelper { } /** * Returns a JavaScript script tag. - * + * * Options: - * + * * - allowCache: boolean, designates whether this block is cacheable using the * current cache settings. * - safe: boolean, whether this block should be wrapped in CDATA tags. Defaults diff --git a/cake/libs/view/helpers/time.php b/cake/libs/view/helpers/time.php index ab630f728..066d97906 100644 --- a/cake/libs/view/helpers/time.php +++ b/cake/libs/view/helpers/time.php @@ -287,7 +287,7 @@ class TimeHelper extends AppHelper { * $datetime should be in a strtotime - parsable format, like MySQL's datetime datatype. * * Options: - * + * * - 'format' => a fall back format if the relative time is longer than the duration specified by end * - 'end' => The end of relative time telling * - 'userOffset' => Users offset from GMT (in hours)