From 8a7d191074e2bb2528b2fbc0fd9787ab80a49d37 Mon Sep 17 00:00:00 2001 From: mohrt Date: Mon, 23 Sep 2002 16:59:25 +0000 Subject: [PATCH] fix error with include_php description, add $this to description --- docs/designers.sgml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/designers.sgml b/docs/designers.sgml index 64a2b9e3..8b24167b 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -1684,8 +1684,8 @@ cell: 760-1234<br> By default, php files are only included once even if called multiple times in the template. You can specify that it should be included every time with the once attribute. - Setting once to true will include the php script each time it is - included. + Setting once to false will include the php script each time it is + included in the template. You can optionally pass the assign attribute, @@ -1693,6 +1693,10 @@ cell: 760-1234<br> include_php will be assigned to instead of displayed. + + The smarty object is available as $this within the PHP script that you + include. + function include_php