From a5586c3d0af1b2c12b8c2a4e1822b5f854ce0df8 Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 7 Aug 2003 20:04:26 +0000 Subject: [PATCH] updated docs for capture, html_table, html_image and register_object --- docs/designers.sgml | 60 +++++++++++++++++++++++++++++++++++++++++-- docs/programmers.sgml | 1 + 2 files changed, 59 insertions(+), 2 deletions(-) diff --git a/docs/designers.sgml b/docs/designers.sgml index 46c4df12..28e37187 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -1677,6 +1677,40 @@ s m o k e r s a r e p. . . capture + + + + + + + + + + Attribute Name + Type + Required + Default + Description + + + + + name + string + no + default + The name of the captured block + + + assign + string + No + n/a + The variable name where to assign the captured output to + + + + capture is used to collect the output of the template into a variable instead of displaying it. Any content between {capture @@ -3757,7 +3791,14 @@ OUTPUT: (both examples) directory to base relative paths from - link + alt + string + no + "" + alternative description of the image + + + href string no n/a @@ -3778,7 +3819,7 @@ OUTPUT: (both examples) path to the image must be within a secure directory. - link is the href value to link the image to. If link is supplied, an + href is the href value to link the image to. If link is supplied, an <a href="LINKVALUE"><a> tag is put around the image tag. @@ -4716,6 +4757,21 @@ OUTPUT: value to pad the trailing cells on last row with (if any) + + + hdir + string + No + right + direction of one row to be rendered. possible values: left/right + + + vdir + string + No + down + direction of the columns to be rendered. possible values: up/down + diff --git a/docs/programmers.sgml b/docs/programmers.sgml index 6a0436e1..19fd33d0 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -1290,6 +1290,7 @@ $smarty->register_modifier("sslash","stripslashes"); object $object array allowed methods/properties boolean format + array block methods