aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/form.php
diff options
context:
space:
mode:
authorTakamura <plehanov.v@gmail.com>2017-03-31 12:58:14 +1000
committerAndreas Gohr <andi@splitbrain.org>2017-03-31 09:33:33 +0200
commitf50a239b3b819527445d240746b09a05fb76d103 (patch)
tree7a7094ce2741cca0e6ff47d68e2c69c8543aed5d /inc/form.php
parent3476bb81a3484baad8418870e1351c292b82291f (diff)
downloaddokuwiki-f50a239b3b819527445d240746b09a05fb76d103.tar.gz
dokuwiki-f50a239b3b819527445d240746b09a05fb76d103.zip
I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc.
Diffstat (limited to 'inc/form.php')
-rw-r--r--inc/form.php53
1 files changed, 53 insertions, 0 deletions
diff --git a/inc/form.php b/inc/form.php
index 91a171555..46cc8fe6b 100644
--- a/inc/form.php
+++ b/inc/form.php
@@ -441,6 +441,16 @@ function form_makeField($type, $name, $value='', $label=null, $id='', $class='',
*
* @see form_makeField
* @author Tom N Harris <tnharris@whoopdedo.org>
+ *
+ * @param string $type
+ * @param string $name
+ * @param string $value
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makeFieldRight($type, $name, $value='', $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;
@@ -456,6 +466,15 @@ function form_makeFieldRight($type, $name, $value='', $label=null, $id='', $clas
*
* @see form_makeField
* @author Tom N Harris <tnharris@whoopdedo.org>
+ *
+ * @param string $name
+ * @param string $value
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makeTextField($name, $value='', $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;
@@ -472,6 +491,14 @@ function form_makeTextField($name, $value='', $label=null, $id='', $class='', $a
*
* @see form_makeField
* @author Tom N Harris <tnharris@whoopdedo.org>
+ *
+ * @param string $name
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makePasswordField($name, $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;
@@ -487,6 +514,14 @@ function form_makePasswordField($name, $label=null, $id='', $class='', $attrs=ar
*
* @see form_makeField
* @author Michael Klier <chi@chimeric.de>
+ *
+ * @param string $name
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makeFileField($name, $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;
@@ -504,6 +539,15 @@ function form_makeFileField($name, $label=null, $id='', $class='', $attrs=array(
*
* @see form_makeFieldRight
* @author Tom N Harris <tnharris@whoopdedo.org>
+ *
+ * @param string $name
+ * @param string $value
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makeCheckboxField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;
@@ -520,6 +564,15 @@ function form_makeCheckboxField($name, $value='1', $label=null, $id='', $class='
*
* @see form_makeFieldRight
* @author Tom N Harris <tnharris@whoopdedo.org>
+ *
+ * @param string $name
+ * @param string $value
+ * @param null|string $label
+ * @param string $id
+ * @param string $class
+ * @param array $attrs
+ *
+ * @return array
*/
function form_makeRadioField($name, $value='1', $label=null, $id='', $class='', $attrs=array()) {
if (is_null($label)) $label = $name;