XSLTProcessor::setParameter
(no version information, might be only in CVS)
XSLTProcessor::setParameter -- Set value for a parameterOpis
class XSLTProcessor {bool setParameter ( string namespace, string name, string value )
}class XSLTProcessor {
bool setParameter ( string namespace, array options )
}
Sets the value of one or more parameters to be used in subsequent transformations with XSLTProcessor. If the parameter doesn't exist in the stylesheet it will be ignored.
Parametry
namespaceThe namespace URI of the XSLT parameter.
nameThe local name of the XSLT parameter.
valueThe new value of the XSLT parameter.
optionsAn array of name => value pairs. This syntax is available since PHP 5.1.0.
Przykłady
| Poprzedni | Spis treści | Następny |
| XSLTProcessor::removeParameter | Początek rozdziału |