+++ /dev/null
-<?php
-namespace wcf\system\template;
-
-/**
- * Block functions encloses a template block and operate on the contents of this block.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage system.template
- * @category Community Framework
- */
-interface IBlockTemplatePlugin {
- /**
- * Executes this template block.
- *
- * @param array $tagArgs
- * @param string $blockContent
- * @param wcf\system\template\TemplateEngine $tplObj
- * @return string output
- */
- public function execute($tagArgs, $blockContent, TemplateEngine $tplObj);
-
- /**
- * Initialises this template block.
- *
- * @param array $tagArgs
- * @param wcf\system\template\TemplateEngine $tplObj
- */
- public function init($tagArgs, TemplateEngine $tplObj);
-
- /**
- * This function is called before every execution of this block function.
- *
- * @param wcf\system\template\TemplateEngine $tplObj
- * @return boolean
- */
- public function next(TemplateEngine $tplObj);
-}
+++ /dev/null
-<?php
-namespace wcf\system\template;
-
-/**
- * Compiler functions are called during the compilation of a template.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage system.template
- * @category Community Framework
- */
-interface ICompilerTemplatePlugin {
- /**
- * Executes the start tag of this compiler function.
- *
- * @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 wcf\system\template\TemplateScriptingCompiler $compiler
- * @return string php code
- */
- public function executeEnd(TemplateScriptingCompiler $compiler);
-}
+++ /dev/null
-<?php
-namespace wcf\system\template;
-
-/**
- * Template functions are identical to template blocks, but they have no closing tag.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage system.template
- * @category Community Framework
- */
-interface IFunctionTemplatePlugin {
- /**
- * Executes this template function.
- *
- * @param array $tagArgs
- * @param wcf\system\template\TemplateEngine $tplObj
- * @return string output
- */
- public function execute($tagArgs, TemplateEngine $tplObj);
-}
+++ /dev/null
-<?php
-namespace wcf\system\template;
-
-/**
- * Modifiers are functions that are applied to a variable in the template
- * before it is displayed or used in some other context.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage system.template
- * @category Community Framework
- */
-interface IModifierTemplatePlugin {
- /**
- * Executes this modifier.
- *
- * @param array $tagArgs
- * @param wcf\system\template\TemplateEngine $tplObj
- * @return string output
- */
- public function execute($tagArgs, TemplateEngine $tplObj);
-}
+++ /dev/null
-<?php
-namespace wcf\system\template;
-
-/**
- * Prefilters are used to process the source of the template immediately before compilation.
- *
- * @author Marcel Werk
- * @copyright 2001-2011 WoltLab GmbH
- * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf
- * @subpackage system.template
- * @category Community Framework
- */
-interface IPrefilterTemplatePlugin {
- /**
- * Executes this prefilter.
- *
- * @param string $templateName
- * @param string $sourceContent
- * @param wcf\system\template\TemplateScriptingCompiler $compiler
- * @return string
- */
- public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler);
-}
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\system\exception\SystemException;
namespace wcf\system\template\plugin;
use wcf\data\option\Option;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
/**
* The 'arrayfromlist' modifier generates an associative array out of a key-value list.
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\system\exception\SystemException;
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
/**
* The 'concat' modifier returns the string that results from concatenating the arguments.
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\IFunctionTemplatePlugin;
use wcf\system\template\TemplateEngine;
/**
<?php
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
-use wcf\system\template\IFunctionTemplatePlugin;
use wcf\system\template\TemplateEngine;
/**
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\DateUtil;
/**
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\DateUtil;
/**
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\StringUtil;
/**
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\IPrefilterTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
/**
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\system\exception\SystemException;
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\FileUtil;
/**
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\FileUtil;
/**
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\IPrefilterTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
-use wcf\system\template\IFunctionTemplatePlugin;
use wcf\system\template\TemplateEngine;
use wcf\util\StringUtil;
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+
+/**
+ * Block functions encloses a template block and operate on the contents of this block.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.template.plugin
+ * @category Community Framework
+ */
+interface IBlockTemplatePlugin {
+ /**
+ * Executes this template block.
+ *
+ * @param array $tagArgs
+ * @param string $blockContent
+ * @param wcf\system\template\TemplateEngine $tplObj
+ * @return string output
+ */
+ public function execute($tagArgs, $blockContent, TemplateEngine $tplObj);
+
+ /**
+ * Initialises this template block.
+ *
+ * @param array $tagArgs
+ * @param wcf\system\template\TemplateEngine $tplObj
+ */
+ public function init($tagArgs, TemplateEngine $tplObj);
+
+ /**
+ * This function is called before every execution of this block function.
+ *
+ * @param wcf\system\template\TemplateEngine $tplObj
+ * @return boolean
+ */
+ public function next(TemplateEngine $tplObj);
+}
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+
+/**
+ * Compiler functions are called during the compilation of a template.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.template.plugin
+ * @category Community Framework
+ */
+interface ICompilerTemplatePlugin {
+ /**
+ * Executes the start tag of this compiler function.
+ *
+ * @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 wcf\system\template\TemplateScriptingCompiler $compiler
+ * @return string php code
+ */
+ public function executeEnd(TemplateScriptingCompiler $compiler);
+}
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+
+/**
+ * Template functions are identical to template blocks, but they have no closing tag.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.template.plugin
+ * @category Community Framework
+ */
+interface IFunctionTemplatePlugin {
+ /**
+ * Executes this template function.
+ *
+ * @param array $tagArgs
+ * @param wcf\system\template\TemplateEngine $tplObj
+ * @return string output
+ */
+ public function execute($tagArgs, TemplateEngine $tplObj);
+}
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+
+/**
+ * Modifiers are functions that are applied to a variable in the template
+ * before it is displayed or used in some other context.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.template
+ * @category Community Framework
+ */
+interface IModifierTemplatePlugin {
+ /**
+ * Executes this modifier.
+ *
+ * @param array $tagArgs
+ * @param wcf\system\template\TemplateEngine $tplObj
+ * @return string output
+ */
+ public function execute($tagArgs, TemplateEngine $tplObj);
+}
--- /dev/null
+<?php
+namespace wcf\system\template\plugin;
+
+/**
+ * Prefilters are used to process the source of the template immediately before compilation.
+ *
+ * @author Marcel Werk
+ * @copyright 2001-2011 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package com.woltlab.wcf
+ * @subpackage system.template
+ * @category Community Framework
+ */
+interface IPrefilterTemplatePlugin {
+ /**
+ * Executes this prefilter.
+ *
+ * @param string $templateName
+ * @param string $sourceContent
+ * @param wcf\system\template\TemplateScriptingCompiler $compiler
+ * @return string
+ */
+ public function execute($templateName, $sourceContent, TemplateScriptingCompiler $compiler);
+}
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\IPrefilterTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
/**
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\system\exception\SystemException;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\IPrefilterTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\system\WCF;
<?php
namespace wcf\system\template\plugin;
use wcf\system\request\LinkHandler;
-use wcf\system\template\IBlockTemplatePlugin;
use wcf\system\template\TemplateEngine;
/**
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IFunctionTemplatePlugin;
use wcf\system\WCF;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\system\WCF;
use wcf\util\DateUtil;
<?php
namespace wcf\system\template\plugin;
use wcf\system\exception\SystemException;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
-use wcf\system\WCF;
use wcf\system\exception\SystemException;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IFunctionTemplatePlugin;
+use wcf\system\WCF;
use wcf\util\StringUtil;
/**
<?php
namespace wcf\system\template\plugin;
-use wcf\system\template\ICompilerTemplatePlugin;
use wcf\system\template\TemplateScriptingCompiler;
use wcf\util\StringUtil;
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\system\WCF;
use wcf\util\DateUtil;
<?php
namespace wcf\system\template\plugin;
use wcf\system\template\TemplateEngine;
-use wcf\system\template\IModifierTemplatePlugin;
use wcf\util\StringUtil;
/**
* {$foo|truncate:35:'...'}
*
* @author Marcel Werk
- * @copyright 2001-2009 WoltLab GmbH
+ * @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf
* @subpackage system.template.plugin