summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-05-19 21:27:35 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-05-19 21:27:35 +0200
commit4f0bc4b20d682f410c8523b4a110f79b757ffb02 (patch)
treeefa9633986eac3a9035f3554499c6ac6b0cc2140 /inc
parent54b26fbe1e0f9efaba143d88ea8581933f5c8dc8 (diff)
downloadrpg-4f0bc4b20d682f410c8523b4a110f79b757ffb02.tar.gz
rpg-4f0bc4b20d682f410c8523b4a110f79b757ffb02.tar.bz2
some doc update
Diffstat (limited to 'inc')
-rw-r--r--inc/form.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/form.php b/inc/form.php
index 9cd0491e0..fadc71d3e 100644
--- a/inc/form.php
+++ b/inc/form.php
@@ -131,7 +131,7 @@ class Doku_Form {
* The element can be either a pseudo-tag or string.
* If string, it is printed without escaping special chars. *
*
- * @param string $elem Pseudo-tag or string to add to the form.
+ * @param string|array $elem Pseudo-tag or string to add to the form.
* @author Tom N Harris <tnharris@whoopdedo.org>
*/
function addElement($elem) {
@@ -143,8 +143,8 @@ class Doku_Form {
*
* Inserts a content element at a position.
*
- * @param string $pos 0-based index where the element will be inserted.
- * @param string $elem Pseudo-tag or string to add to the form.
+ * @param string $pos 0-based index where the element will be inserted.
+ * @param string|array $elem Pseudo-tag or string to add to the form.
* @author Tom N Harris <tnharris@whoopdedo.org>
*/
function insertElement($pos, $elem) {
@@ -156,8 +156,8 @@ class Doku_Form {
*
* Replace with NULL to remove an element.
*
- * @param int $pos 0-based index the element will be placed at.
- * @param string $elem Pseudo-tag or string to add to the form.
+ * @param int $pos 0-based index the element will be placed at.
+ * @param string|array $elem Pseudo-tag or string to add to the form.
* @author Tom N Harris <tnharris@whoopdedo.org>
*/
function replaceElement($pos, $elem) {