diff --git a/docs/de/programmers/api-functions/api-clear-config.xml b/docs/de/programmers/api-functions/api-clear-config.xml new file mode 100644 index 00000000..b7db6979 --- /dev/null +++ b/docs/de/programmers/api-functions/api-clear-config.xml @@ -0,0 +1,52 @@ + + + + + clear_config + + + + + <methodsynopsis> + <type>void</type><methodname>clear_config</methodname> + <methodparam choice="opt"><type>string</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + Löscht alle zugewiesenen Konfigurations-Variablen. Wenn der Variablenname übergeben wird, wird nur diese Variable gelöscht. + </para> + <example> + <title>clear_config + +clear_config(); + +// eine löschen +$smarty->clear_config('foobar'); +?> +]]> + + + + + diff --git a/docs/de/programmers/api-functions/api-config-load.xml b/docs/de/programmers/api-functions/api-config-load.xml new file mode 100644 index 00000000..1cc4b49b --- /dev/null +++ b/docs/de/programmers/api-functions/api-config-load.xml @@ -0,0 +1,60 @@ + + + + + config_load + + + + + <methodsynopsis> + <type>void</type><methodname>config_load</methodname> + <methodparam><type>string</type><parameter>file</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>section</parameter></methodparam> + </methodsynopsis> + <para> + Lädt die Konfigurationsdatei <parameter>file</parameter> und weist die Daten dem + Template zu. Dies funktioniert identisch wie <link linkend="language.function.config.load">config_load</link>. + </para> + <note> + <title>Technische Bemerkung + + Seit Smarty 2.4.0 bleiben Variablen während fetch() und display() Aufrufen erhalten. Variablen, die mit config_load() geladen werden sind immer global deklariert. Konfigurationsdateien werden für eine schnellere Ausgabe ebenfalls kompiliert, und halten sich an die force_compile und compile_check Konfiguration. + + + + config_load + +config_load('my.conf'); + +// nur einen abschnitt laden +$smarty->config_load('my.conf', 'foobar'); +?> +]]> + + + + + diff --git a/docs/de/programmers/api-functions/api-get-config-vars.xml b/docs/de/programmers/api-functions/api-get-config-vars.xml new file mode 100644 index 00000000..40d3b59c --- /dev/null +++ b/docs/de/programmers/api-functions/api-get-config-vars.xml @@ -0,0 +1,55 @@ + + + + + get_config_vars + + + + + <methodsynopsis> + <type>array</type><methodname>get_config_vars</methodname> + <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam> + </methodsynopsis> + <para> + Gibt den Wert der Konfigurationsvariable zurück. Wenn kein Parameter übergeben wird, wird ein Array aller geladenen Variablen zurück gegeben. + </para> + <example> + <title>get_config_vars + +get_config_vars('foo'); + +// alle geladenen konfigurationsvariablen zuweisen +$config_vars = $smarty->get_config_vars(); + +// ausgabe +print_r($config_vars); +?> +]]> + + + + + diff --git a/docs/de/programmers/api-functions/api-get-registered-object.xml b/docs/de/programmers/api-functions/api-get-registered-object.xml new file mode 100644 index 00000000..9836702b --- /dev/null +++ b/docs/de/programmers/api-functions/api-get-registered-object.xml @@ -0,0 +1,56 @@ + + + + + get_registered_object + + + + + <methodsynopsis> + <type>array</type><methodname>get_registered_object</methodname> + <methodparam><type>string</type><parameter>object_name</parameter></methodparam> + </methodsynopsis> + <para> + Gibt eine Referenz zum registrerten Objekt zurück. Dies ist vorallem sinnvoll, + um von einer eigenen Funktion auf ein registriertes Objekt zuzugreiffen. + </para> + <example> + <title>get_registered_object + +get_registered_object($params['object']); + // $obj_ref ist nun ein pointer zum registrierten objekt + } +} +?> +]]> + + + + + diff --git a/docs/de/programmers/api-functions/api-unregister-object.xml b/docs/de/programmers/api-functions/api-unregister-object.xml new file mode 100644 index 00000000..8070521d --- /dev/null +++ b/docs/de/programmers/api-functions/api-unregister-object.xml @@ -0,0 +1,38 @@ + + + + + unregister_object + + + + + <methodsynopsis> + <type>void</type><methodname>unregister_object</methodname> + <methodparam><type>string</type><parameter>object_name</parameter></methodparam> + </methodsynopsis> + <para> + Pointer zu einem registrierten Objekt löschen + </para> + </refsect1> +</refentry> +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +-->