mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
1fba220725
Additionally normalize to using $namespace rather than $uri for namespace parameters, including in XMLReader and XMLWriter. I went with that one as it is currently used by DOM, SimpleXML and XSL -- and our DOM parameter names follow the DOM specification. Closes GH-6295.
55 lines
1.4 KiB
PHP
55 lines
1.4 KiB
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
class XSLTProcessor
|
|
{
|
|
/**
|
|
* @param DOMDocument|SimpleXMLElement $stylesheet
|
|
* @return bool
|
|
*/
|
|
public function importStylesheet(object $stylesheet) {}
|
|
|
|
/**
|
|
* @param DOMDocument|SimpleXMLElement $document
|
|
* @return DOMDocument|false
|
|
*/
|
|
public function transformToDoc(object $document, ?string $returnClass = null) {}
|
|
|
|
/**
|
|
* @param DOMDocument|SimpleXMLElement $document
|
|
* @return int
|
|
*/
|
|
public function transformToUri(object $document, string $uri) {}
|
|
|
|
/**
|
|
* @param DOMDocument|SimpleXMLElement $document
|
|
* @return string|false|null
|
|
*/
|
|
public function transformToXml(object $document) {}
|
|
|
|
/** @return bool */
|
|
public function setParameter(string $namespace, array|string $name, ?string $value = null) {}
|
|
|
|
/** @return string|false */
|
|
public function getParameter(string $namespace, string $name) {}
|
|
|
|
/** @return bool */
|
|
public function removeParameter(string $namespace, string $name) {}
|
|
|
|
/** @return bool */
|
|
public function hasExsltSupport() {}
|
|
|
|
/** @return void */
|
|
public function registerPHPFunctions(array|string|null $functions = null) {}
|
|
|
|
/** @return bool */
|
|
public function setProfiling(?string $filename) {}
|
|
|
|
/** @return int */
|
|
public function setSecurityPrefs(int $preferences) {}
|
|
|
|
/** @return int */
|
|
public function getSecurityPrefs() {}
|
|
}
|