mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
correct markup for $compile_id parameter of display()/fetch() and for
$compile_id variable
This commit is contained in:
@@ -13,18 +13,16 @@
|
||||
|
||||
<!ENTITY parameter.compileid '<para>
|
||||
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
|
||||
the same template, such as having separate templates compiled
|
||||
for different languages. Another use for
|
||||
<link linkend="variable.compile.id">$compile_id</link> is when you
|
||||
use more than one
|
||||
<parameter>$compile_id</parameter> is when you use more than one
|
||||
<link linkend="variable.template.dir">$template_dir</link>
|
||||
but only one
|
||||
<link linkend="variable.compile.dir">$compile_dir</link>.
|
||||
but only one <link linkend="variable.compile.dir">$compile_dir</link>.
|
||||
Set a separate <parameter>$compile_id</parameter> for each
|
||||
<link linkend="variable.template.dir">$template_dir</link>, otherwise
|
||||
templates of the same name will overwrite each other. You can
|
||||
also set the $compile_id variable once
|
||||
instead of passing this to each call to this function.
|
||||
also set the <link linkend="variable.compile.id">$compile_id</link>
|
||||
variable once instead of passing this to each call to this function.
|
||||
</para>'>
|
||||
|
Reference in New Issue
Block a user