summaryrefslogtreecommitdiff
path: root/ext/xsl/php_xsl.stub.php
blob: 9e79c9c63489cbc8cc251ea8fe76456d3b4295c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php

/** @generate-function-entries */

class XSLTProcessor
{
    /** @return bool */
    public function importStylesheet(object $stylesheet) {}

    /**
     * @param DOMDocument|SimpleXMLElement $document
     * @return DOMDocument|false
     */
    public function transformToDoc(object $document, ?string $return_class = 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) {}

    /**
     * @param string|array $name
     * @return bool
     */
    public function setParameter(string $namespace, $name, string $value = UNKNOWN) {}

    /** @return string|false */
    public function getParameter(string $namespace, string $name) {}

    /** @return bool */
    public function removeParameter(string $namespace, string $name) {}

    /** @return bool */
    public function hasExsltSupport() {}

    /**
     * @param string|array|null $restrict
     * @return void
     */
    public function registerPHPFunctions($restrict = null) {}

    /** @return bool */
    public function setProfiling(?string $filename) {}

    /** @return int */
    public function setSecurityPrefs(int $securityPrefs) {}

    /** @return int */
    public function getSecurityPrefs() {}
}