summaryrefslogtreecommitdiff
path: root/inc/form.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-03-14 17:09:29 +0100
committerAndreas Gohr <andi@splitbrain.org>2014-03-14 17:09:29 +0100
commit3275c5d6feb683bf4151f7d4867b10431b254d1e (patch)
tree4fd5e9ecf9165eb1b7cddd3d2bb1ae1330db92ab /inc/form.php
parent8fcb305db0081dacd8e8ad0583da5ecc6c6837dc (diff)
parent1359eacbdbff842b241a85ea274a00982fec9267 (diff)
downloadrpg-3275c5d6feb683bf4151f7d4867b10431b254d1e.tar.gz
rpg-3275c5d6feb683bf4151f7d4867b10431b254d1e.tar.bz2
Merge branch 'master' into diff_navigation
* master: (103 commits) Add a basic test case for the cache Events: Trigger a warning if the default action is not callable Fix caching (make the event callback public again) translation update translation update translation update translation update translation update translation update translation update avoid HTTP image screenshot urls. closes #595 translation update Extension manager: Fix cache extension to be .repo adjusted the office type color again another instance of empty() where an array key might not exist remove placeholder van denied.txt updated file icons once more removed 'not logged in' text, loginform is shown already Revert "added stripped bit to language file" fixed index file ... Conflicts: inc/html.php
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 25c65bd55..9cd0491e0 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) {