From 41e29d9153a59d574489e134246e99e9e984ad9b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 10 Aug 2011 16:02:50 +0200 Subject: [PATCH] Updated documentations of template plugin interfaces --- .../system/template/ITemplatePluginBlock.class.php | 6 +++--- .../template/ITemplatePluginCompiler.class.php | 12 ++++++------ .../template/ITemplatePluginFunction.class.php | 6 +++--- .../template/ITemplatePluginModifier.class.php | 6 +++--- .../template/ITemplatePluginPrefilter.class.php | 8 ++++---- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wcfsetup/install/files/lib/system/template/ITemplatePluginBlock.class.php b/wcfsetup/install/files/lib/system/template/ITemplatePluginBlock.class.php index 175f44611a..9c6487ef54 100644 --- a/wcfsetup/install/files/lib/system/template/ITemplatePluginBlock.class.php +++ b/wcfsetup/install/files/lib/system/template/ITemplatePluginBlock.class.php @@ -17,7 +17,7 @@ interface ITemplatePluginBlock { * * @param array $tagArgs * @param string $blockContent - * @param TemplateEngine $tplObj + * @param wcf\system\template\TemplateEngine $tplObj * @return string output */ public function execute($tagArgs, $blockContent, TemplateEngine $tplObj); @@ -26,14 +26,14 @@ interface ITemplatePluginBlock { * Initialises this template block. * * @param array $tagArgs - * @param TemplateEngine $tplObj + * @param wcf\system\template\TemplateEngine $tplObj */ public function init($tagArgs, TemplateEngine $tplObj); /** * This function is called before every execution of this block function. * - * @param TemplateEngine $tplObj + * @param wcf\system\template\TemplateEngine $tplObj * @return boolean */ public function next(TemplateEngine $tplObj); diff --git a/wcfsetup/install/files/lib/system/template/ITemplatePluginCompiler.class.php b/wcfsetup/install/files/lib/system/template/ITemplatePluginCompiler.class.php index beeb84fa31..ab579e9dba 100644 --- a/wcfsetup/install/files/lib/system/template/ITemplatePluginCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/ITemplatePluginCompiler.class.php @@ -15,17 +15,17 @@ interface ITemplatePluginCompiler { /** * Executes the start tag of this compiler function. * - * @param array $tagArgs - * @param TemplateScriptingCompiler $compiler - * @return string php code + * @param array $tagArgs + * @param wcf\system\template\TemplateScriptingCompiler $compiler + * @return string php code */ public function executeStart($tagArgs, TemplateScriptingCompiler $compiler); /** * Executes the end tag of this compiler function. * - * @param TemplateScriptingCompiler $compiler - * @return string php code + * @param wcf\system\template\TemplateScriptingCompiler $compiler + * @return string php code */ - public function executeEnd(TemplateScriptingCompiler $tplObj); + public function executeEnd(TemplateScriptingCompiler $compiler); } diff --git a/wcfsetup/install/files/lib/system/template/ITemplatePluginFunction.class.php b/wcfsetup/install/files/lib/system/template/ITemplatePluginFunction.class.php index 48a526f864..ac0b7d222c 100644 --- a/wcfsetup/install/files/lib/system/template/ITemplatePluginFunction.class.php +++ b/wcfsetup/install/files/lib/system/template/ITemplatePluginFunction.class.php @@ -15,9 +15,9 @@ interface ITemplatePluginFunction { /** * Executes this template function. * - * @param array $tagArgs - * @param TemplateEngine $tplObj - * @return string output + * @param array $tagArgs + * @param wcf\system\template\TemplateEngine $tplObj + * @return string output */ public function execute($tagArgs, TemplateEngine $tplObj); } diff --git a/wcfsetup/install/files/lib/system/template/ITemplatePluginModifier.class.php b/wcfsetup/install/files/lib/system/template/ITemplatePluginModifier.class.php index 66f0461ab7..478ebfd7fc 100644 --- a/wcfsetup/install/files/lib/system/template/ITemplatePluginModifier.class.php +++ b/wcfsetup/install/files/lib/system/template/ITemplatePluginModifier.class.php @@ -16,9 +16,9 @@ interface ITemplatePluginModifier { /** * Executes this modifier. * - * @param array $tagArgs - * @param TemplateEngine $tplObj - * @return string output + * @param array $tagArgs + * @param wcf\system\template\TemplateEngine $tplObj + * @return string output */ public function execute($tagArgs, TemplateEngine $tplObj); } diff --git a/wcfsetup/install/files/lib/system/template/ITemplatePluginPrefilter.class.php b/wcfsetup/install/files/lib/system/template/ITemplatePluginPrefilter.class.php index a66a4a8932..4701713b37 100644 --- a/wcfsetup/install/files/lib/system/template/ITemplatePluginPrefilter.class.php +++ b/wcfsetup/install/files/lib/system/template/ITemplatePluginPrefilter.class.php @@ -15,10 +15,10 @@ interface ITemplatePluginPrefilter { /** * Executes this prefilter. * - * @param string $templateName - * @param string $sourceContent - * @param TemplateScriptingCompiler $compiler - * @return string $sourceContent + * @param string $templateName + * @param string $sourceContent + * @param wcf\system\template\TemplateScriptingCompiler $compiler + * @return string */ public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler); } -- 2.20.1