libs/sysplugins/smarty_internal_compile_nocache.php Quellcode

smarty_internal_compile_nocache.php
gehe zur Dokumentation dieser Datei
1 <?php
18 {
24  public $option_flags = array();
25 
35  public function compile($args, $compiler)
36  {
37  $_attr = $this->getAttributes($compiler, $args);
38  $this->openTag($compiler, 'nocache', array($compiler->nocache));
39  // enter nocache mode
40  $compiler->nocache = true;
41  // this tag does not return compiled code
42  $compiler->has_code = false;
43 
44  return true;
45  }
46 }
47 
55 {
65  public function compile($args, $compiler)
66  {
67  $_attr = $this->getAttributes($compiler, $args);
68  // leave nocache mode
69  list($compiler->nocache) = $this->closeTag($compiler, array('nocache'));
70  // this tag does not return compiled code
71  $compiler->has_code = false;
72 
73  return true;
74  }
75 }




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.