Code

c809990cae151a96ddf7514bf9021a26492b6956
[gosa.git] / gosa-core / include / smarty / sysplugins / smarty_internal_compile_ldelim.php
1 <?php
3 /**
4 * Smarty Internal Plugin Compile Ldelim
5 *
6 * Compiles the {ldelim} tag 
7 * @package Smarty
8 * @subpackage Compiler
9 * @author Uwe Tews
10 */
11 /**
12 * Smarty Internal Plugin Compile Ldelim Class
13 */ 
14 class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
15     /**
16     * Compiles code for the {ldelim} tag
17     *
18     * This tag does output the left delimiter 
19     * @param array $args array with attributes from parser
20     * @param object $compiler compiler object
21     * @return string compiled code
22     */
23     public function compile($args, $compiler)
24     {
25         $this->compiler = $compiler; 
26         $_attr = $this->_get_attributes($args);
27         // this tag does not return compiled code
28         $this->compiler->has_code = true;
29         return $this->compiler->smarty->left_delimiter;
30     } 
31
32 ?>