This class does contain the security settings
Definiert in Zeile 22 der Datei smarty_security.php.
exitTemplate |
( |
|
$template) | |
|
isTrustedConstant |
( |
|
$const, |
|
|
|
$compiler |
|
) |
| |
Check if constants are enabled or trusted
- Parameter
-
string | $const | contant name |
object | $compiler | compiler object |
- Rückgabe
- bool
Definiert in Zeile 427 der Datei smarty_security.php.
isTrustedModifier |
( |
|
$modifier_name, |
|
|
|
$compiler |
|
) |
| |
Check if modifier plugin is trusted.
- Parameter
-
string | $modifier_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if tag is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 397 der Datei smarty_security.php.
isTrustedPHPDir |
( |
|
$filepath) | |
|
Check if directory of file resource is trusted.
- Parameter
-
- Rückgabe
- boolean true if directory is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 578 der Datei smarty_security.php.
Benutzt $trusted_dir.
isTrustedPhpFunction |
( |
|
$function_name, |
|
|
|
$compiler |
|
) |
| |
Check if PHP function is trusted.
- Parameter
-
string | $function_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if function is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 244 der Datei smarty_security.php.
isTrustedPhpModifier |
( |
|
$modifier_name, |
|
|
|
$compiler |
|
) |
| |
Check if PHP modifier is trusted.
- Parameter
-
string | $modifier_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if modifier is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 324 der Datei smarty_security.php.
isTrustedResourceDir |
( |
|
$filepath) | |
|
isTrustedSpecialSmartyVar |
( |
|
$var_name, |
|
|
|
$compiler |
|
) |
| |
Check if special $smarty variable is trusted.
- Parameter
-
string | $var_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if tag is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 377 der Datei smarty_security.php.
isTrustedStaticClass |
( |
|
$class_name, |
|
|
|
$compiler |
|
) |
| |
Check if static class is trusted.
- Parameter
-
string | $class_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if class is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 264 der Datei smarty_security.php.
Wird benutzt von isTrustedStaticClassAccess().
isTrustedStaticClassAccess |
( |
|
$class_name, |
|
|
|
$params, |
|
|
|
$compiler |
|
) |
| |
isTrustedStream |
( |
|
$stream_name) | |
|
Check if stream is trusted.
- Parameter
-
- Rückgabe
- boolean true if stream is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 454 der Datei smarty_security.php.
isTrustedTag |
( |
|
$tag_name, |
|
|
|
$compiler |
|
) |
| |
Check if tag is trusted.
- Parameter
-
string | $tag_name | |
object | $compiler | compiler object |
- Rückgabe
- boolean true if tag is trusted
- Ausnahmebehandlung
-
Definiert in Zeile 344 der Datei smarty_security.php.
Check if URI (e.g. {fetch} or {html_image}) is trusted To simplify things, isTrustedUri() resolves all input to "{$PROTOCOL}://{$HOSTNAME}". So "http://username:password@hello.world.example.org:8080/some-path?some=query-string" is reduced to "http://hello.world.example.org" prior to applying the patters from $trusted_uri.
- Parameter
-
- Rückgabe
- boolean true if URI is trusted
- Ausnahmebehandlung
-
SmartyException | if URI is not trusted $trusted_uri for list of patterns to match against $uri |
Definiert in Zeile 555 der Datei smarty_security.php.
startTemplate |
( |
|
$template) | |
|
$_current_template_nesting = 0 |
|
private |
$_php_resource_dir = null |
|
protected |
$allow_super_globals = true |
$allowed_modifiers = array() |
$disabled_modifiers = array() |
$disabled_special_smarty_vars = array() |
$max_template_nesting = 0 |
Initialisierung:= array(
'isset', 'empty',
'count', 'sizeof',
'in_array', 'is_array',
'time',
)
Definiert in Zeile 106 der Datei smarty_security.php.
$static_classes = array() |
$trusted_constants = array() |
$trusted_static_methods = array() |
$trusted_static_properties = array() |
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.