[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/sysplugins/ -> smarty_internal_compile_ldelim.php (source)

   1  <?php
   2  /**
   3   * Smarty Internal Plugin Compile Ldelim
   4   *
   5   * Compiles the {ldelim} tag
   6   *
   7   * @package Smarty
   8   * @subpackage Compiler
   9   * @author Uwe Tews
  10   */
  11  
  12  /**
  13   * Smarty Internal Plugin Compile Ldelim Class
  14   *
  15   * @package Smarty
  16   * @subpackage Compiler
  17   */
  18  class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
  19  
  20      /**
  21       * Compiles code for the {ldelim} tag
  22       *
  23       * This tag does output the left delimiter
  24       * @param array  $args     array with attributes from parser
  25       * @param object $compiler compiler object
  26       * @return string compiled code
  27       */
  28      public function compile($args, $compiler)
  29      {
  30          $_attr = $this->getAttributes($compiler, $args);
  31          if ($_attr['nocache'] === true) {
  32              $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
  33          }
  34          // this tag does not return compiled code
  35          $compiler->has_code = true;
  36          return $compiler->smarty->left_delimiter;
  37      }
  38  
  39  }
  40  
  41  ?>


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1