summaryrefslogtreecommitdiff
path: root/inc/form.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-02 19:22:07 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-02 19:22:07 +0000
commit85312e0a1accea20df49579b509eb88ba5643384 (patch)
tree08c6c8d4b56758ac298d366e5b2c3a19f7eb598e /inc/form.php
parentff388af35a3aed43d96bc31ae6b553f8a37050e0 (diff)
parent74160ca1dea24b237ff3e956d19a420a1593b957 (diff)
downloadrpg-85312e0a1accea20df49579b509eb88ba5643384.tar.gz
rpg-85312e0a1accea20df49579b509eb88ba5643384.tar.bz2
Merge pull request #557 from splitbrain/cachetimeattr
Add _time attribute to cache object and minor PHPDocs improvements
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) {