/**
  * @see TemplatePluginCompiler::executeEnd()
  */
 public function executeEnd(TemplateScriptingCompiler $compiler)
 {
     $compiler->popTag('implode');
     $tagArgs = array_pop($this->tagStack);
     $phpCode = "<?php\n";
     $phpCode .= "if (++\$_i" . $tagArgs['hash'] . " < \$_length" . $tagArgs['hash'] . ") { echo " . $tagArgs['glue'] . "; }\n";
     $phpCode .= "} ?>";
     return $phpCode;
 }
 /**
  * @see TemplatePluginCompiler::executeEnd()
  */
 public function executeEnd(TemplateScriptingCompiler $compiler)
 {
     $compiler->popTag('staticlang');
     $hash = StringUtil::getRandomID();
     return "<?php \$_lang" . $hash . " = ob_get_contents(); ob_end_clean(); echo WCF::getLanguage()->get(\$_lang" . $hash . "); ?>";
 }
 /**
  * @see TemplatePluginCompiler::executeEnd()
  */
 public function executeEnd(TemplateScriptingCompiler $compiler)
 {
     $compiler->popTag('icon');
     $hash = StringUtil::getRandomID();
     return "<?php \$_icon" . $hash . " = ob_get_contents(); ob_end_clean(); echo StyleManager::getStyle()->getIconPath(\$_icon" . $hash . "); ?>";
 }
	/**
	 * @see TemplatePluginCompiler::executeEnd()
	 */
	public function executeEnd(TemplateScriptingCompiler $compiler) {
		$compiler->popTag('icons');
		$hash = StringUtil::getRandomID();
		return '<?php $_icons'.$hash.' = ob_get_contents(); ob_end_clean(); echo IconsUtil::getIconPath($_icons'.$hash.'); ?>';
	}
 /**
  * @see TemplatePluginCompiler::executeEnd()
  */
 public function executeEnd(TemplateScriptingCompiler $compiler)
 {
     $compiler->popTag('lang');
     $hash = StringUtil::getRandomID();
     return "<?php \$_lang" . $hash . " = ob_get_contents(); ob_end_clean(); echo WCF::getLanguage()->getDynamicVariable(\$_lang" . $hash . ", \$this->tagStack[count(\$this->tagStack) - 1][1]); array_pop(\$this->tagStack); ?>";
 }