XSLTProcessor->registerPHPFunctions()
(no version information, might be only in CVS)
XSLTProcessor->registerPHPFunctions() -- Enables the ability to use PHP functions as XSLT functions
说明
class
XSLTProcessor {
void
registerPHPFunctions ( [mixed restrict] )
}
This method enables the ability to use PHP functions as XSLT functions
within XSL stylesheets.
参数
- restrict
Use this parameter to only allow certain functions to be called from
XSLT.
This parameter can be either a string (a function name) or an array of
functions.