From ad83ab2472648e2859ff756897fbb867248f530f Mon Sep 17 00:00:00 2001 From: didou Date: Mon, 29 Mar 2004 01:49:20 +0000 Subject: [PATCH] more CDATAs --- docs/en/programmers/plugins.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/en/programmers/plugins.xml b/docs/en/programmers/plugins.xml index e58a5e9b..4e69859b 100644 --- a/docs/en/programmers/plugins.xml +++ b/docs/en/programmers/plugins.xml @@ -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: - -require_once $smarty->_get_plugin_filepath('function', 'html_options'); + +_get_plugin_filepath('function', 'html_options'); +?> +]]> + As a general rule, Smarty object is always passed to the plugins as the last parameter (with two exceptions: modifiers do not get