summaryrefslogtreecommitdiff
path: root/inc/form.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-18 13:41:13 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-18 13:41:13 +0100
commit5f0071ebcd0bb2a2cb0f64834014be73f6690806 (patch)
treef7d6677f10ff73d146ec530a0cc4bf5201c67e3d /inc/form.php
parentdbf714f723aaf3a4e63a0ac2f07746c41fa3e98d (diff)
downloadrpg-5f0071ebcd0bb2a2cb0f64834014be73f6690806.tar.gz
rpg-5f0071ebcd0bb2a2cb0f64834014be73f6690806.tar.bz2
PHPDocs form
Diffstat (limited to 'inc/form.php')
-rw-r--r--inc/form.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/inc/form.php b/inc/form.php
index 312c42b60..610f50200 100644
--- a/inc/form.php
+++ b/inc/form.php
@@ -47,15 +47,11 @@ class Doku_Form {
* with up to four parameters is deprecated, instead the first parameter
* should be an array with parameters.
*
- * @param mixed $params Parameters for the HTML form element; Using the
- * deprecated calling convention this is the ID
- * attribute of the form
- * @param string $action (optional, deprecated) submit URL, defaults to
- * current page
- * @param string $method (optional, deprecated) 'POST' or 'GET', default
- * is POST
- * @param string $enctype (optional, deprecated) Encoding type of the
- * data
+ * @param mixed $params Parameters for the HTML form element; Using the deprecated
+ * calling convention this is the ID attribute of the form
+ * @param bool|string $action (optional, deprecated) submit URL, defaults to current page
+ * @param bool|string $method (optional, deprecated) 'POST' or 'GET', default is POST
+ * @param bool|string $enctype (optional, deprecated) Encoding type of the data
* @author Tom N Harris <tnharris@whoopdedo.org>
*/
function Doku_Form($params, $action=false, $method=false, $enctype=false) {
@@ -230,7 +226,7 @@ class Doku_Form {
* first (underflow) or last (overflow) element.
*
* @param int $pos 0-based index
- * @return arrayreference pseudo-element
+ * @return array reference pseudo-element
* @author Tom N Harris <tnharris@whoopdedo.org>
*/
function &getElementAt($pos) {