From 139a7226c7cbd6601aee51ed1a1e01664969ab3c Mon Sep 17 00:00:00 2001 From: messju Date: Thu, 7 Aug 2003 22:15:12 +0000 Subject: [PATCH] added docs for block-methods of registered objects --- docs/programmers.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/programmers.sgml b/docs/programmers.sgml index a6f57243..130c04ac 100644 --- a/docs/programmers.sgml +++ b/docs/programmers.sgml @@ -1998,6 +1998,21 @@ When reloading the page you will notice that both dates differ. One is "dynamic" the parameters passed one at a time for each argument like traditional object parameter passing, set the fourth registration parameter to false. + + The optional fifth parameter has only effect with + format being true + and contains a list ob methods that should be treated as + blocks. That means these methods have a closing tag in the + template + ({foobar->meth2}...{/foobar->meth2}) and + the parameters to the methods have the same synopsis as the + parameters for block-function-plugins: They get 4 parameters + $params, + $content, + &$smarty and + &$repeat and they also behave like + block-function-plugins. + using a registered or assigned object