php-src/ext/xsl/php_xsl.stub.php
Nikita Popov 1fba220725 Update ext/xsl parameter names
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.
2020-10-08 10:28:50 +02:00

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() {}
}