(PHP 5, PHP 7, PHP 8)
XSLTProcessor::getParameter — Get value of a parameter
Gets a parameter if previously set by XSLTProcessor::setParameter().
namespaceThe namespace URI of the XSLT parameter.
nameThe local name of the XSLT parameter.
The value of the parameter (as a string), or false if it's not set.
Throws a ValueError if
namespace is not empty and name
uses Clark notation or is a QName.
| 版本 | 说明 |
|---|---|
| 8.5.0 |
The namespace argument now takes effect;
previously it was ignored.
A ValueError is now thrown if
namespace is not empty and name
uses Clark notation or is a QName.
|