PHP 手册
后退 |  | 前进

# 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.

## 返回值

无返回值。

## 更新日志

版本 | 说明
--- | ---
5.1.0 | The restrict parameter was added.

后退 | 起点 | 前进
XSLTProcessor->importStylesheet() | 上一级 | XSLTProcessor->removeParameter()