<?xml version = '1.0' encoding = 'UTF-8' standalone = 'no' ?>
<NA_FUNCTION_DESCRIPT>
<FUNCTION name="npf_include" call="npf_include" context="layout" date="2001-06-28" depricated="0" internal="1" tail="0">
<AUTHOR>
<COMPANY>/digiconcept/</COMPANY>
<NAME>Stefan Rottensteiner</NAME>
<EMAIL>hide@address.com</EMAIL>
</AUTHOR>
<DESCRIPT lang="de">F&uuml;gt ein anderes Netautor Layout, ein Netautor Template, den Inhalt einer Datei oder einer URL in das aktuelle Layout ein. Optional kann die Ausgabe auch in eine weitere Datei erfolgen.</DESCRIPT>
<DESCRIPT lang="en">Includes a Netautor layout, a Netautor template, content of file from server or URL. Output can also written into a file.</DESCRIPT>
<PARAM name="pre.outer" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2004-09-16">
<DEFAULT/>
<DESCRIPT/>
</PARAM>
<PARAM name="post.outer" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2004-09-16">
<DEFAULT/>
<DESCRIPT/>
</PARAM>
<PARAM name="template.call" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">Name des Templates das angezeigt werden soll.</DESCRIPT>
<DESCRIPT lang="en">Name of the Template should be displayed.</DESCRIPT>
</PARAM>
<PARAM name="mlay_id" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">ID des einzuf&uuml;genden Layouts.</DESCRIPT>
<DESCRIPT lang="en">ID of layout fragment to be included.</DESCRIPT>
</PARAM>
<PARAM name="mdoc_id" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">ID eines Dokuments das in das aufzurufende Layout geladen werden soll.</DESCRIPT>
<DESCRIPT lang="en">The ID of a document should be displayed in the included fragment.</DESCRIPT>
</PARAM>
<PARAM name="pipe" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="en">
A comma-separated list of elements which should be piped into called layout.
Further you can rename the piped values with 'FIELD_NAME as NEW_FIELD_NAME ' or simply pipe all values with an astrix *.&lt;br&gt;
Example:&lt;br&gt;
pipe = &quot;FIELD_1,FIELD_2 as FIELD_NEW&quot;
</DESCRIPT>
<DESCRIPT lang="de">
Eine Liste von lokalen Variablen welche dem einzuf&uuml;gendem Inhalt &uuml;bergeben werden soll.
Diese k&ouml;nnen durch 'FELDNAME as NEUER_FELDNAME' umbenannt werden.
Mit * werden alle lokalen Variablen weitergegeben.
</DESCRIPT>
</PARAM>
<PARAM name="dependon" new_name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="2001-12-14" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">Eine optionale Bedingung die gegen WAHR evaluiert wird und die Ausf&uuml;hrung der Netautor-Funktion bedingt.</DESCRIPT>
<DESCRIPT lang="en">A condition which indicates function execution.</DESCRIPT>
</PARAM>
<PARAM name="dependon.value" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Wert gegen den geprueft werden soll.</DESCRIPT>
<DESCRIPT lang="en">Value to check on.</DESCRIPT>
</PARAM>
<PARAM name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Element welches zu pruefen ist.</DESCRIPT>
<DESCRIPT lang="en">Element to check.</DESCRIPT>
</PARAM>
<PARAM name="dependon.operator" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Operator der zur Pr&uuml;fung benutzt wird.</DESCRIPT>
<DESCRIPT lang="en">Operator for the check.</DESCRIPT>
<VALUE>EQ</VALUE><VALUE>GT</VALUE>
<VALUE>LT</VALUE><VALUE>LE</VALUE>
<VALUE>GE</VALUE><VALUE>NE</VALUE>
<VALUE>EMPTY</VALUE><VALUE>NONEMPTY</VALUE>
<VALUE>LK</VALUE>
</PARAM>
<PARAM name="dependon.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT>THIS</DEFAULT>
<DESCRIPT lang="de">Legt fest aus welchem Kontext das Vergleichselement genommen wird.</DESCRIPT>
<DESCRIPT lang="en">Sets the Context of the Element.</DESCRIPT>
<VALUE>THIS</VALUE><VALUE>GLOBALS</VALUE>
<VALUE>FEATURE</VALUE><VALUE>USER</VALUE>
<VALUE>PARENT</VALUE><VALUE>SESSION</VALUE>
<VALUE>GET</VALUE><VALUE>POST</VALUE>
</PARAM>
<PARAM name="nonempty" new_name="" magic="0" quote="0" flag="1" explizit="0" depricated="2001-12-14" date="2001-06-28">
<DEFAULT>0</DEFAULT>
<DESCRIPT lang="de">Ab nun in Parameter MODE anzugeben.&lt;br&gt;Wenn gegeben wird das Layout nur bei g&uuml;ltiger 'mdoc_id' inkludiert.</DESCRIPT>
<DESCRIPT lang="en">Has to be specified in parameter MODE now !&lt;br&gt;If given, layout fragment is only included if a valid 'mdoc_id' exists.</DESCRIPT>
</PARAM>
<PARAM name="mode" magic="0" quote="3" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT></DEFAULT>
<DESCRIPT lang="de">
Bestimmt verschiedene Einstellungen.<BR>
NONEMPTY: Layout wird nur bei g&uuml;ltiger 'mdoc_id' inkludiert.<BR>
SILENT : Layout oder Template wird inkludiert, es erfolgt jedoch keine Ausgabe
</DESCRIPT>
<DESCRIPT lang="en">
Defines various options and modes.<BR>
NONEMPTY : Layout is only included if a valid 'mdoc_id' exists.<BR>
SILENT : Layout or template will be included, any output will be surpressed
</DESCRIPT>
<VALUE>NONEMPTY</VALUE>
<VALUE>SILENT</VALUE>
</PARAM>
<PARAM name="url" new_name="file.url" magic="1" quote="0" flag="0" explizit="0" depricated="2001-12-14" date="2001-06-28">
<DEFAULT/>
</PARAM>
<PARAM name="file.url" magic="1" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">Vollst&auml;ndige URL oder der Pfad zu einer Datei auf dem Server deren Inhalt anstelle eines Layouts geladen wird.</DESCRIPT>
<DESCRIPT lang="en">Full URL or path of an server located file which should be include instead of an layout fragment.</DESCRIPT>
</PARAM>
<PARAM name="file.path" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">
Vollst&auml;ndiger Pfad zu einer Datei auf dem Server welcher die Ausgabe des inkludierten Layouts Fragmentes oder der URL aufnehmen soll.&lt;br&gt;
In diesem Falle erfolgt keine Bildschirmausgabe.
</DESCRIPT>
<DESCRIPT lang="en">
Full path to a server located file which takes over the content of the included layout fragment or URL.&lt;br&gt;
In this case, there's is no output on the screen.
</DESCRIPT>
</PARAM>
<PARAM name="file.mode" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT>w</DEFAULT>
<DESCRIPT lang="en">
Access mode for file defined by the parameter FILE.PATH.&lt;br&gt;
'w' : Allways create file with new content&lt;br&gt;
a: Append new content to file.
</DESCRIPT>
<DESCRIPT lang="de">
Zugriffsmodus auf die Datei aus Parameter FILE.PATH.&lt;br&gt;
'w' : Inhalt ersetzt alte Daten oder legt neue an.&lt;br&gt;
'a' : Inhalt legt neue Datei an oder wird am Ende angeh&auml;ngt.
</DESCRIPT>
</PARAM>
<PARAM name="proxy" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">Angabe eines Proxy-Servers f&uuml;r den Zugriff auf Daten per URL-Parameter wenn notwendig. Format : &lt;b&gt;PROXY_NAME:PROXY_PORT&lt;/b&gt; .</DESCRIPT>
<DESCRIPT lang="en">Defines a proxy-server for access on locations defined via URL, only if necessary. Format : &lt;b&gt;PROXY_NAME:PROXY_PORT&lt;/b&gt; .</DESCRIPT>
</PARAM>
<PARAM name="store" new_name="store.result" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-11-09"><DEFAULT/><DESCRIPT/><VALUE/></PARAM>
<PARAM name="store.result" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-11-09">
<DEFAULT/>
<DESCRIPT lang="de">Name einer lokalen Variablen welche den Inhalt der Funktion aufnehmen soll.</DESCRIPT>
<DESCRIPT lang="en">Name of a local variable in which the content of the function should be stored.</DESCRIPT>
</PARAM>
<PARAM name="store.element" magic="0" quote="0" flag="0" explizit="0" depricated="" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Elemente des aufgerufenen Layouts oder Templates welche in den gegebenen Kontext gespeicher werden.</DESCRIPT>
<DESCRIPT lang="en">Elemens of the called layout or template to te stored into the given context.</DESCRIPT>
</PARAM>
<PARAM name="store.container" magic="0" quote="0" flag="0" explizit="0" depricated="" date="2002-10-28">
<DEFAULT/>
<DESCRIPT lang="de">Eine Kontainer-Elements, welches aehnlich einem Bereich ist und die Elemente aufnimmt.</DESCRIPT>
<DESCRIPT lang="en">A container element, similar an Natautor Area, storing the elements.</DESCRIPT>
</PARAM>
<PARAM name="store.context" magic="0" quote="0" flag="0" explizit="0" depricated="" date="2001-12-12">
<DEFAULT>THIS</DEFAULT>
<DESCRIPT lang="de">Auswahl des Kontext in dem die Werte gespeichert werden .</DESCRIPT>
<DESCRIPT lang="en">Select the context where the elements are stored.</DESCRIPT>
<VALUE>THIS</VALUE> <VALUE>GLOBALS</VALUE>
<VALUE>FEATURE</VALUE> <VALUE>USER</VALUE>
<VALUE>PARENT</VALUE> <VALUE>SESSION</VALUE>
</PARAM>
<PARAM name="query" new_name="file.url" magic="1" quote="0" flag="0" explizit="0" depricated="2001-12-14" date="2001-11-09">
<DEFAULT/>
<DESCRIPT lang="de">Zus&auml;tzliche Parameter</DESCRIPT>
</PARAM>
<EXAMPLE lang="de">
&lt;#npf_include mlay_id=&quot;1000030&quot;
query=&quot;npf_search=yes&quot;
pipe=&quot;USER_ID&quot;
#&gt;
&lt;#npf_include nonempty
mdoc_id = &quot;%ADDRESS_ID%&quot;
mlay_id = &quot;1000141&quot;
#&gt;
&lt;#npf_include url =&quot;http://www.digiconcept.net&quot;
proxy = &quot;myProxy.domain:80&quot;
#&gt;
&lt;#npf_include mlay_id=&quot;100003&quot;
query=&quot;npf_search=yes&quot;
pipe=&quot;USER_ID&quot;
file_write = &quot;usr/local/www/saved_doc.html&quot;
#&gt;
</EXAMPLE>
</FUNCTION>
<FUNCTION name="npf_template" call="npf_template" context="layout" date="2001-06-28" depricated="0" internal="1" tail="1">
<AUTHOR>
<COMPANY>/digiconcept/</COMPANY>
<NAME>Stefan Rottensteiner</NAME>
<EMAIL>hide@address.com</EMAIL>
</AUTHOR>
<DESCRIPT lang="de">
Definiert zur Laufzeit ein Layout Fragment, welches von diversen nachfolgenden Funktionen verwendet werden kann.<BR>
Zum Beispiel &lt;b&gt;npf_results&lt;/b&gt;, &lt;b&gt;npf_while&lt;/b&gt;<BR>
Dieses Template kann mittels NPF_INCLUDE aufgerufen werden.<BR>
</DESCRIPT>
<DESCRIPT lang="en">
Defines a layout fragment at runtime which can be used by various functions. e.g.: &lt;b&gt;
npf_results&lt;/b&gt; or &lt;b&gt;npf_while .&lt;/b&gt;
This template can be included using the function NPF_INCLUDE
</DESCRIPT>
<PARAM name="name" magic="0" quote="0" flag="0" explizit="1" depricated="0" date="2001-06-28">
<DEFAULT/>
<DESCRIPT lang="de">Name des Fragmentes</DESCRIPT>
<DESCRIPT lang="en">Name of the fragment</DESCRIPT>
</PARAM>
<PARAM name="call" new_name="" magic="0" quote="0" flag="1" explizit="0" depricated="2001-12-12" date="2001-06-28">
<DEFAULT>0</DEFAULT>
<DESCRIPT lang="de">Gibt an ob das Template aufgerufen werden soll.<br>
NOTE: Ist durch Parameter MODE anzugeben.</DESCRIPT>
<DESCRIPT lang="en">Forces template to be executed.<br>
NOTE: Has to be defined via parameter MODE .</DESCRIPT>
</PARAM>
<PARAM name="define" new_name="" magic="0" quote="0" flag="1" explizit="0" depricated="2001-12-12" date="2001-07-23">
<DEFAULT>0</DEFAULT>
<DESCRIPT lang="de">Gibt an ob das Template angelegt werden soll.<br>
NOTE: Ist durch Parameter MODE anzugeben.</DESCRIPT>
<DESCRIPT lang="en">Forces template to be defined.<br>
NOTE: Has to be defined via parameter MODE .</DESCRIPT>
</PARAM>
<PARAM name="mode" new_name="" magic="0" quote="3" flag="0" explizit="0" depricated="2002-05-29" date="2001-12-12">
<DEFAULT>DEFINE</DEFAULT>
<DESCRIPT lang="de">Gibt an, wie mit dem Template verfahren werden soll:<br>
DEFINE: Das Template wird unter dem gegebenem Namen und Inhalt gesetzt. (Vorrang gegen&uuml;ber CALL)<br>
CALL : Ein &uuml;ber den Parameter NAME angesprochenes Template wird ausgef&uuml;hrt</DESCRIPT>
<DESCRIPT lang="en">Defines to operation mode:<br>
DEFINE : Define template with given content under given name (Priority to CALL).<br>
CALL : Execute template defined by parameter NAME .</DESCRIPT>
<VALUE>DEFINE</VALUE>
<VALUE>CALL</VALUE>
</PARAM>
<PARAM name="dependon.value" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Wert gegen den gepr&uuml;ft werden soll.</DESCRIPT>
<DESCRIPT lang="en">Value to check on.</DESCRIPT>
</PARAM>
<PARAM name="dependon.element" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Element welches zu pr&uuml;fen ist.</DESCRIPT>
<DESCRIPT lang="en">Element to check.</DESCRIPT>
</PARAM>
<PARAM name="dependon.operator" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT/>
<DESCRIPT lang="de">Operator der zur Pruefung benutzt wird.</DESCRIPT>
<DESCRIPT lang="en">Operator for the check.</DESCRIPT>
<VALUE>EQ</VALUE><VALUE>NE</VALUE>
<VALUE>GT</VALUE><VALUE>LT</VALUE>
<VALUE>LE</VALUE><VALUE>GE</VALUE>
<VALUE>EMPTY</VALUE><VALUE>NONEMPTY</VALUE>
<VALUE>LK</VALUE>
</PARAM>
<PARAM name="dependon.context" magic="0" quote="0" flag="0" explizit="0" depricated="0" date="2001-12-12">
<DEFAULT>THIS</DEFAULT>
<DESCRIPT lang="de">Legt fest, aus welchem Kontext das Vergleichselement genommen wird.</DESCRIPT>
<DESCRIPT lang="en">Sets the Context of the Element.</DESCRIPT>
<VALUE>THIS</VALUE> <VALUE>GLOBALS</VALUE>
<VALUE>FEATURE</VALUE> <VALUE>USER</VALUE>
<VALUE>PARENT</VALUE> <VALUE>SESSION</VALUE>
<VALUE>GET</VALUE> <VALUE>POST</VALUE>
</PARAM>
</FUNCTION>
</NA_FUNCTION_DESCRIPT>