You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
901 B
PHTML
35 lines
901 B
PHTML
14 years ago
|
<?php
|
||
|
/**
|
||
|
* Smarty Internal Plugin Compile Rdelim
|
||
13 years ago
|
* Compiles the {rdelim} tag
|
||
10 years ago
|
*
|
||
|
* @package Smarty
|
||
14 years ago
|
* @subpackage Compiler
|
||
10 years ago
|
* @author Uwe Tews
|
||
14 years ago
|
*/
|
||
|
|
||
|
/**
|
||
|
* Smarty Internal Plugin Compile Rdelim Class
|
||
13 years ago
|
*
|
||
10 years ago
|
* @package Smarty
|
||
13 years ago
|
* @subpackage Compiler
|
||
|
*/
|
||
7 years ago
|
class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_Compile_Ldelim
|
||
11 years ago
|
{
|
||
14 years ago
|
/**
|
||
|
* Compiles code for the {rdelim} tag
|
||
13 years ago
|
* This tag does output the right delimiter.
|
||
|
*
|
||
7 years ago
|
* @param array $args array with attributes from parser
|
||
|
* @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object
|
||
10 years ago
|
*
|
||
14 years ago
|
* @return string compiled code
|
||
7 years ago
|
* @throws \SmartyCompilerException
|
||
14 years ago
|
*/
|
||
9 years ago
|
public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler)
|
||
14 years ago
|
{
|
||
7 years ago
|
parent::compile($args,$compiler);
|
||
13 years ago
|
return $compiler->smarty->right_delimiter;
|
||
|
}
|
||
14 years ago
|
}
|