fusionpbx/resources/templates/engine/smarty/sysplugins/smarty_internal_compile_rde...

35 lines
902 B
PHP
Raw Normal View History

2013-11-09 21:02:56 +01:00
<?php
/**
* Smarty Internal Plugin Compile Rdelim
* Compiles the {rdelim} tag
2018-11-07 08:18:14 +01:00
*
* @package Smarty
2013-11-09 21:02:56 +01:00
* @subpackage Compiler
2018-11-07 08:18:14 +01:00
* @author Uwe Tews
2013-11-09 21:02:56 +01:00
*/
/**
* Smarty Internal Plugin Compile Rdelim Class
*
2018-11-07 08:18:14 +01:00
* @package Smarty
2013-11-09 21:02:56 +01:00
* @subpackage Compiler
*/
2018-11-07 08:18:14 +01:00
class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_Compile_Ldelim
2013-11-09 21:02:56 +01:00
{
/**
* Compiles code for the {rdelim} tag
* This tag does output the right delimiter.
*
2018-11-07 08:18:14 +01:00
* @param array $args array with attributes from parser
* @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object
*
2013-11-09 21:02:56 +01:00
* @return string compiled code
2018-11-07 08:18:14 +01:00
* @throws \SmartyCompilerException
2013-11-09 21:02:56 +01:00
*/
2018-11-07 08:18:14 +01:00
public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler)
2013-11-09 21:02:56 +01:00
{
2018-11-07 08:18:14 +01:00
parent::compile($args, $compiler);
2013-11-09 21:02:56 +01:00
return $compiler->smarty->right_delimiter;
}
}