Php/docs/class.xsltprocessor
(PHP 5, PHP 7)
简介
类摘要
XSLTProcessor {
public getParameter
( string $namespace
, string $name
) : string|false
public getSecurityPrefs ( ) : int
public hasExsltSupport ( ) : bool
public
importStylesheet
( object $stylesheet
) : bool
public registerPHPFunctions
([ array|string|null $functions
= null
] ) : void
public removeParameter
( string $namespace
, string $name
) : bool
public setParameter
( string $namespace
, string $name
, string $value
) : bool
public setProfiling
( string|null $filename
) : bool
public setSecurityPrefs
( int $preferences
) : int
public transformToDoc
( object $document
[, string|null $returnClass
= null
] ) : DOMDocument|false
transformToURI
( DOMDocument $doc
, string $uri
) : int
public transformToXml
( object $document
) : string|false|null
}
Table of Contents
- XSLTProcessor::__construct — Creates a new XSLTProcessor object
- XSLTProcessor::getParameter — Get value of a parameter
- XSLTProcessor::getSecurityPrefs — Get security preferences
- XSLTProcessor::hasExsltSupport — Determine if PHP has EXSLT support
- XSLTProcessor::importStylesheet — Import stylesheet
- XSLTProcessor::registerPHPFunctions — Enables the ability to use PHP functions as XSLT functions
- XSLTProcessor::removeParameter — Remove parameter
- XSLTProcessor::setParameter — Set value for a parameter
- XSLTProcessor::setProfiling — Sets profiling output file
- XSLTProcessor::setSecurityPrefs — Set security preferences
- XSLTProcessor::transformToDoc — Transform to a DOMDocument
- XSLTProcessor::transformToUri — Transform to URI
- XSLTProcessor::transformToXml — Transform to XML
/* 方法 */