From 48a1417ef1d153f5c7994aa7ced8da4e710bc70e Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Mon, 3 Dec 2012 00:04:36 +0100 Subject: Correct parameter documentation of DokuWiki_Plugin::loadHelper() --- inc/plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/plugin.php') diff --git a/inc/plugin.php b/inc/plugin.php index b0518346d..e4bba989d 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -184,8 +184,8 @@ class DokuWiki_Plugin { * * @author Esther Brunner * - * @param $name name of plugin to load - * @param $msg message to display in case the plugin is not available + * @param string $name name of plugin to load + * @param bool $msg if a message should be displayed in case the plugin is not available * * @return object helper plugin object */ -- cgit v1.2.3 From 804f11b20e4a4f72cc45900e46f074fbd39b4649 Mon Sep 17 00:00:00 2001 From: Michael Hamann Date: Sat, 19 Jan 2013 17:06:34 +0100 Subject: Correct PHPDoc comment of DokuWiki_Plugin::locale_xhtml() --- inc/plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/plugin.php') diff --git a/inc/plugin.php b/inc/plugin.php index e4bba989d..153e89407 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -81,8 +81,8 @@ class DokuWiki_Plugin { * retrieve a language dependent file and pass to xhtml renderer for display * plugin equivalent of p_locale_xhtml() * - * @param $id id of language dependent wiki page - * @return string parsed contents of the wiki page in xhtml format + * @param string $id id of language dependent wiki page + * @return string parsed contents of the wiki page in xhtml format */ function locale_xhtml($id) { return p_cached_output($this->localFN($id)); -- cgit v1.2.3 From e1cc03e353022c84d330ba3d9d5cba92cd4878a6 Mon Sep 17 00:00:00 2001 From: Klap-in Date: Sun, 27 Jan 2013 22:45:47 +0100 Subject: $msg of loadHelper for base plugin class default to true too. --- inc/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/plugin.php') diff --git a/inc/plugin.php b/inc/plugin.php index 153e89407..649fc1f26 100644 --- a/inc/plugin.php +++ b/inc/plugin.php @@ -189,7 +189,7 @@ class DokuWiki_Plugin { * * @return object helper plugin object */ - function loadHelper($name, $msg){ + function loadHelper($name, $msg = true){ if (!plugin_isdisabled($name)){ $obj = plugin_load('helper',$name); }else{ -- cgit v1.2.3