PEEL Shopping
Open source ecommerce : PEEL Shopping
smarty_internal_compile_nocache.php
Go to the documentation of this file.
1 <?php
19 
29  public function compile($args, $compiler)
30  {
31  $_attr = $this->getAttributes($compiler, $args);
32  if ($_attr['nocache'] === true) {
33  $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
34  }
35  // enter nocache mode
36  $compiler->nocache = true;
37  // this tag does not return compiled code
38  $compiler->has_code = false;
39  return true;
40  }
41 
42 }
43 
51 
61  public function compile($args, $compiler)
62  {
63  $_attr = $this->getAttributes($compiler, $args);
64  // leave nocache mode
65  $compiler->nocache = false;
66  // this tag does not return compiled code
67  $compiler->has_code = false;
68  return true;
69  }
70 
71 }
72 
73 ?>
compile($args, $compiler)
Compiles code for the {/nocache} tag.
compile($args, $compiler)
Compiles code for the {nocache} tag.
getAttributes($compiler, $attributes)
This function checks if the attributes passed are valid.

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:17 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.