gehe zur Dokumentation dieser Datei
46 if (!empty($subtree->subtrees)) {
47 $this->subtrees = array_merge($this->subtrees, $subtree->subtrees);
49 if ($subtree->data !==
'') {
50 $this->subtrees[] = $subtree;
63 for ($key = 0, $cnt = count($this->subtrees); $key < $cnt; $key ++) {
65 $subtree = $this->subtrees[$key]->to_smarty_php();
66 while ($key + 1 < $cnt && ($this->subtrees[$key + 1] instanceof Smarty_Internal_ParseTree_Text || $this->subtrees[$key + 1]->data ==
'')) {
68 if ($this->subtrees[$key]->data ==
'') {
71 $subtree .= $this->subtrees[$key]->to_smarty_php();
76 $code .= preg_replace(
'/((<%)|(%>)|(<\?php)|(<\?)|(\?>)|(<\/?script))/',
"<?php echo '\$1'; ?>\n", $subtree);
80 $subtree = $this->subtrees[$key]->to_smarty_php();
81 while ($key + 1 < $cnt && ($this->subtrees[$key + 1] instanceof Smarty_Internal_ParseTree_Tag || $this->subtrees[$key + 1]->data ==
'')) {
83 if ($this->subtrees[$key]->data ==
'') {
86 $subtree = $this->parser->compiler->appendCode($subtree, $this->subtrees[$key]->
to_smarty_php());
94 $code .= $this->subtrees[$key]->to_smarty_php();
Sie sind hier: Home » MyOOS Benutzerhandbuch » Smarty
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.