Definiert in Zeile 17 der Datei smarty_resource.php.
buildUniqueResourceName |
( |
Smarty |
$smarty, |
|
|
|
$resource_name, |
|
|
|
$isConfig = false |
|
) |
| |
modify resource_name according to resource handlers specifications
- Parameter
-
Smarty | $smarty | Smarty instance |
string | $resource_name | resource_name to make unique |
boolean | $isConfig | flag for config resource |
- Rückgabe
- string unique resource name
Definiert in Zeile 123 der Datei smarty_resource.php.
Determine basename for compiled filename
- Parameter
-
- Rückgabe
- string resource's basename
Definiert in Zeile 139 der Datei smarty_resource.php.
Load template's source into current template object {
static getUniqueTemplateName |
( |
|
$template, |
|
|
|
$template_resource |
|
) |
| |
|
static |
modify resource_name according to resource handlers specifications
- Parameter
-
Smarty | $smarty | Smarty instance |
string | $resource_name | resource_name to make unique |
- Rückgabe
- string unique resource name modify template_resource according to resource handlers specifications
- Parameter
-
Smarty_Internal_template | $template | Smarty instance |
string | $template_resource | template_resource to extract resource handler and name of |
- Rückgabe
- string unique resource name
Definiert in Zeile 254 der Datei smarty_resource.php.
Benutzt load().
Wird benutzt von Smarty_Internal_TemplateBase\getTemplateId().
static load |
( |
Smarty |
$smarty, |
|
|
|
$type |
|
) |
| |
|
static |
static parseResourceName |
( |
|
$resource_name, |
|
|
|
$default_resource |
|
) |
| |
|
static |
extract resource_type and resource_name from template_resource and config_resource
- Zu beachten
- "C:/foo.tpl" was forced to file resource up till Smarty 3.1.3 (including).
- Parameter
-
string | $resource_name | template_resource or config_resource to parse |
string | $default_resource | the default resource_type defined in $smarty |
- Rückgabe
- array with parsed resource name and type
Definiert in Zeile 222 der Datei smarty_resource.php.
Wird benutzt von Smarty_Template_Config\load() und Smarty_Template_Source\load().
populate Source Object with meta data from Resource
- Parameter
-
populate Source Object with timestamp and exists from Resource
- Parameter
-
Definiert in Zeile 109 der Datei smarty_resource.php.
Initialisierung:= array(
'file' => 'smarty_internal_resource_file.php',
'string' => 'smarty_internal_resource_string.php',
'extends' => 'smarty_internal_resource_extends.php',
'stream' => 'smarty_internal_resource_stream.php',
'eval' => 'smarty_internal_resource_eval.php',
'php' => 'smarty_internal_resource_php.php'
)
Definiert in Zeile 55 der Datei smarty_resource.php.
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
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.