mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
more CDATAs
This commit is contained in:
@@ -122,8 +122,13 @@
|
|||||||
(as is the case with some plugins bundled with Smarty), then the proper
|
(as is the case with some plugins bundled with Smarty), then the proper
|
||||||
way to load the needed plugin is this:
|
way to load the needed plugin is this:
|
||||||
</para>
|
</para>
|
||||||
<programlisting>
|
<programlisting role="php">
|
||||||
require_once $smarty->_get_plugin_filepath('function', 'html_options');</programlisting>
|
<![CDATA[
|
||||||
|
<?php
|
||||||
|
require_once $smarty->_get_plugin_filepath('function', 'html_options');
|
||||||
|
?>
|
||||||
|
]]>
|
||||||
|
</programlisting>
|
||||||
<para>
|
<para>
|
||||||
As a general rule, Smarty object is always passed to the plugins
|
As a general rule, Smarty object is always passed to the plugins
|
||||||
as the last parameter (with two exceptions: modifiers do not get
|
as the last parameter (with two exceptions: modifiers do not get
|
||||||
|
Reference in New Issue
Block a user