gehe zur Dokumentation dieser Datei
37 $uid = sha1(getcwd());
39 $components = explode(
'|', $source->name);
41 foreach ($components as $component) {
43 if ($s->type ==
'php') {
44 throw new SmartyException(
"Resource type {$s->type} cannot be used with the extends resource type");
47 $uid .= realpath($s->filepath);
48 if ($_template && $_template->smarty->compile_check) {
49 $exists = $exists && $s->exists;
53 $source->filepath = $s->filepath;
54 $source->uid = sha1($uid);
55 if ($_template && $_template->smarty->compile_check) {
56 $source->timestamp = $s->timestamp;
57 $source->exists = $exists;
60 $source->template = $_template;
70 $source->exists =
true;
71 foreach ($source->components as $s) {
72 $source->exists = $source->exists && $s->exists;
74 $source->timestamp = $s->timestamp;
87 if (!$source->exists) {
88 throw new SmartyException(
"Unable to read template {$source->type} '{$source->name}'");
91 $_components = array_reverse($source->components);
94 foreach ($_components as $_component) {
96 $_content .= $_component->content;
110 return str_replace(
':',
'.', basename($source->filepath));
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.