PageRenderTime 76ms CodeModel.GetById 70ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/smarty3/lib/libs/sysplugins/smarty_internal_compile_rdelim.php

http://zoop.googlecode.com/
PHP | 32 lines | 11 code | 1 blank | 20 comment | 0 complexity | 2a719573cd26a1ff88ff7a5b3eb253a7 MD5 | raw file
 1<?php
 2
 3/**
 4* Smarty Internal Plugin Compile Rdelim
 5*
 6* Compiles the {rdelim} tag 
 7* @package Smarty
 8* @subpackage Compiler
 9* @author Uwe Tews
10*/
11/**
12* Smarty Internal Plugin Compile Rdelim Class
13*/ 
14class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_CompileBase {
15    /**
16    * Compiles code for the {rdelim} tag
17    *
18    * This tag does output the right 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->right_delimiter;
30    } 
31} 
32?>