php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
XSLTProcessor Class Reference

Public Member Functions

 importStylesheet (object $stylesheet)
 
 transformToDoc (object $document, ?string $returnClass=null)
 
 transformToUri (object $document, string $uri)
 
 transformToXml (object $document)
 
 setParameter (string $namespace, array|string $name, ?string $value=null)
 
 getParameter (string $namespace, string $name)
 
 removeParameter (string $namespace, string $name)
 
 hasExsltSupport ()
 
 registerPHPFunctions (array|string|null $functions=null)
 
 registerPHPFunctionNS (string $namespaceURI, string $name, callable $callable)
 
 setProfiling (?string $filename)
 
 setSecurityPrefs (int $preferences)
 
 getSecurityPrefs ()
 

Data Fields

bool $doXInclude = false
 
bool $cloneDocument = false
 
int $maxTemplateDepth
 
int $maxTemplateVars
 

Detailed Description

Definition at line 72 of file php_xsl.stub.php.

Member Function Documentation

◆ getParameter()

XSLTProcessor::getParameter ( string $namespace,
string $name )

@tentative-return-type

Definition at line 110 of file php_xsl.stub.php.

◆ getSecurityPrefs()

XSLTProcessor::getSecurityPrefs ( )

@tentative-return-type

Definition at line 130 of file php_xsl.stub.php.

◆ hasExsltSupport()

XSLTProcessor::hasExsltSupport ( )

@tentative-return-type

Definition at line 116 of file php_xsl.stub.php.

◆ importStylesheet()

XSLTProcessor::importStylesheet ( object $stylesheet)
Parameters
DOMDocument | Dom\Document | SimpleXMLElement$stylesheet@tentative-return-type

Definition at line 86 of file php_xsl.stub.php.

◆ registerPHPFunctionNS()

XSLTProcessor::registerPHPFunctionNS ( string $namespaceURI,
string $name,
callable $callable )

Definition at line 121 of file php_xsl.stub.php.

◆ registerPHPFunctions()

XSLTProcessor::registerPHPFunctions ( array|string|null $functions = null)

@tentative-return-type

Definition at line 119 of file php_xsl.stub.php.

◆ removeParameter()

XSLTProcessor::removeParameter ( string $namespace,
string $name )

@tentative-return-type

Definition at line 113 of file php_xsl.stub.php.

◆ setParameter()

XSLTProcessor::setParameter ( string $namespace,
array|string $name,
?string $value = null )

@tentative-return-type

Definition at line 107 of file php_xsl.stub.php.

◆ setProfiling()

XSLTProcessor::setProfiling ( ?string $filename)

@tentative-return-type

Definition at line 124 of file php_xsl.stub.php.

◆ setSecurityPrefs()

XSLTProcessor::setSecurityPrefs ( int $preferences)

@tentative-return-type

Definition at line 127 of file php_xsl.stub.php.

◆ transformToDoc()

XSLTProcessor::transformToDoc ( object $document,
?string $returnClass = null )
Parameters
DOMDocument | Dom\Document | SimpleXMLElement$document@tentative-return-type

Definition at line 92 of file php_xsl.stub.php.

◆ transformToUri()

XSLTProcessor::transformToUri ( object $document,
string $uri )
Parameters
DOMDocument | Dom\Document | SimpleXMLElement$document@tentative-return-type

Definition at line 98 of file php_xsl.stub.php.

◆ transformToXml()

XSLTProcessor::transformToXml ( object $document)
Parameters
DOMDocument | Dom\Document | SimpleXMLElement$document@tentative-return-type

Definition at line 104 of file php_xsl.stub.php.

Field Documentation

◆ $cloneDocument

bool XSLTProcessor::$cloneDocument = false

Definition at line 76 of file php_xsl.stub.php.

◆ $doXInclude

bool XSLTProcessor::$doXInclude = false

Definition at line 74 of file php_xsl.stub.php.

◆ $maxTemplateDepth

int XSLTProcessor::$maxTemplateDepth

Definition at line 78 of file php_xsl.stub.php.

◆ $maxTemplateVars

int XSLTProcessor::$maxTemplateVars

Definition at line 80 of file php_xsl.stub.php.


The documentation for this class was generated from the following file: