cvs: smarty /docs designers.sgml
"Monte Ohrt" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmohrt1078173625@cvsserver> |
mohrt Mon Mar 1 15:40:25 2004 EDT
Modified files:
/smarty/docs designers.sgml
Log:
update include_php docs:wq
:q
http://cvs.php.net/diff.php/smarty/docs/designers.sgml?r1=1.101&r2=1.102&ty=u
Index: smarty/docs/designers.sgml
diff -u smarty/docs/designers.sgml:1.101 smarty/docs/designers.sgml:1.102
--- smarty/docs/designers.sgml:1.101 Tue Feb 24 11:39:24 2004
+++ smarty/docs/designers.sgml Mon Mar 1 15:40:24 2004
@@ -2277,6 +2277,18 @@
</tbody>
</tgroup>
</informaltable>
+ <note>
+ <title>Technical Note</title>
+ <para>
+ include_php is pretty much deprecated from Smarty, you can
+ accomplish the same functionality via a custom template function.
+ The only reason to use include_php is if you really have a need to
+ quarantine the php function away from the plugin directory or your
+ application code. See the <link
+ linkend="tips.componentized.templates">componentized template
+ example</link> for details.
+ </para>
+ </note>
<para>
include_php tags are used to include a php script in your template.
If security is enabled, then the php script must be located in the
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php