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