correct markup for $compile_id parameter of display()/fetch() and for

$compile_id variable
This commit is contained in:
messju
2005-06-10 07:16:47 +00:00
parent 29e371821c
commit 26d51166b9

View File

@@ -13,18 +13,16 @@
<!ENTITY parameter.compileid '<para> <!ENTITY parameter.compileid '<para>
As an optional third parameter, you can pass a As an optional third parameter, you can pass a
<link linkend="variable.compile.id">$compile_id</link>. <parameter>$compile_id</parameter>.
This is in the event that you want to compile different versions of This is in the event that you want to compile different versions of
the same template, such as having separate templates compiled the same template, such as having separate templates compiled
for different languages. Another use for for different languages. Another use for
<link linkend="variable.compile.id">$compile_id</link> is when you <parameter>$compile_id</parameter> is when you use more than one
use more than one
<link linkend="variable.template.dir">$template_dir</link> <link linkend="variable.template.dir">$template_dir</link>
but only one but only one <link linkend="variable.compile.dir">$compile_dir</link>.
<link linkend="variable.compile.dir">$compile_dir</link>.
Set a separate <parameter>$compile_id</parameter> for each Set a separate <parameter>$compile_id</parameter> for each
<link linkend="variable.template.dir">$template_dir</link>, otherwise <link linkend="variable.template.dir">$template_dir</link>, otherwise
templates of the same name will overwrite each other. You can templates of the same name will overwrite each other. You can
also set the $compile_id variable once also set the <link linkend="variable.compile.id">$compile_id</link>
instead of passing this to each call to this function. variable once instead of passing this to each call to this function.
</para>'> </para>'>