diff --git a/reference/xsl/xsltprocessor/registerphpfunctions.xml b/reference/xsl/xsltprocessor/registerphpfunctions.xml index adb53a29ab41..c04d5b46239c 100644 --- a/reference/xsl/xsltprocessor/registerphpfunctions.xml +++ b/reference/xsl/xsltprocessor/registerphpfunctions.xml @@ -11,10 +11,17 @@ public voidXSLTProcessor::registerPHPFunctions arraystringnullfunctions&null; - + This method enables the ability to use PHP functions as XSLT functions within XSL stylesheets. - + + + + functions defaults to &null;, meaning that by + default calling this method enables access to all + PHP functions. + + &reftitle.parameters; @@ -23,17 +30,18 @@ functions - + Use this parameter to only allow certain functions to be called from XSLT. - - + + This parameter can be one of the following: + &null; to indicate that all functions are allowed, a string (a function name), an indexed array of function names, or an associative array with keys being the function name and the associated value being the callable. - + @@ -44,9 +52,9 @@ &reftitle.returnvalues; - + &return.void; - +