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
|
||||
way to load the needed plugin is this:
|
||||
</para>
|
||||
<programlisting>
|
||||
require_once $smarty->_get_plugin_filepath('function', 'html_options');</programlisting>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
require_once $smarty->_get_plugin_filepath('function', 'html_options');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
As a general rule, Smarty object is always passed to the plugins
|
||||
as the last parameter (with two exceptions: modifiers do not get
|
||||
|
Reference in New Issue
Block a user