summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-17 17:56:58 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-17 17:56:58 +0100
commitf23eef27e07dfe76ab76fda68242d44de10e4022 (patch)
tree332eb54e84d7e07c71c15062766d57994081c59b /inc/parser
parent7abbd3bc441b7932081591f6fe113b4c501e2488 (diff)
downloadrpg-f23eef27e07dfe76ab76fda68242d44de10e4022.tar.gz
rpg-f23eef27e07dfe76ab76fda68242d44de10e4022.tar.bz2
PHPDocs internallink
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 9d75c271d..315b4d640 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -562,6 +562,12 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
* $search,$returnonly & $linktype are not for the renderer but are used
* elsewhere - no need to implement them in other renderers
*
+ * @param string $id pageid
+ * @param string|null $name link name
+ * @param string|null $search adds search url param
+ * @param bool $returnonly whether to return html or write to doc attribute
+ * @param string $linktype type to set use of headings
+ * @return void|string writes to doc attribute or returns html depends on $returnonly
* @author Andreas Gohr <andi@splitbrain.org>
*/
function internallink($id, $name = null, $search=null,$returnonly=false,$linktype='content') {