1 /*
2 +----------------------------------------------------------------------+
3 | PHP Version 7 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 1997-2018 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Authors: Christian Stocker <chregu@php.net> |
16 | Rob Richards <rrichards@php.net> |
17 +----------------------------------------------------------------------+
18 */
19
20 #ifdef HAVE_CONFIG_H
21 #include "config.h"
22 #endif
23
24 #include "php.h"
25 #if HAVE_LIBXML && HAVE_DOM
26 #include "php_dom.h"
27
28 /* {{{ arginfo */
29 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2)
30 ZEND_ARG_INFO(0, name)
31 ZEND_ARG_INFO(0, value)
32 ZEND_END_ARG_INFO();
33
34 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_get_parameter, 0, 0, 0)
35 ZEND_ARG_INFO(0, name)
36 ZEND_END_ARG_INFO();
37
38 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_can_set_parameter, 0, 0, 0)
39 ZEND_ARG_INFO(0, name)
40 ZEND_ARG_INFO(0, value)
41 ZEND_END_ARG_INFO();
42 /* }}} */
43
44 /*
45 * class domdomconfiguration
46 *
47 * URL: https://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration
48 * Since: DOM Level 3
49 */
50
51 const zend_function_entry php_dom_domconfiguration_class_functions[] = {
52 PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, arginfo_dom_configuration_set_parameter)
53 PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, arginfo_dom_configuration_get_parameter)
54 PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, arginfo_dom_configuration_can_set_parameter)
55 PHP_FE_END
56 };
57
58 /* {{{ attribute protos, not implemented yet */
59
60 /* {{{ proto dom_void dom_domconfiguration_set_parameter(string name, domuserdata value);
61 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property
62 Since:
63 */
PHP_FUNCTION(dom_domconfiguration_set_parameter)64 PHP_FUNCTION(dom_domconfiguration_set_parameter)
65 {
66 DOM_NOT_IMPLEMENTED();
67 }
68 /* }}} end dom_domconfiguration_set_parameter */
69
70 /* {{{ proto domdomuserdata dom_domconfiguration_get_parameter(string name);
71 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter
72 Since:
73 */
PHP_FUNCTION(dom_domconfiguration_get_parameter)74 PHP_FUNCTION(dom_domconfiguration_get_parameter)
75 {
76 DOM_NOT_IMPLEMENTED();
77 }
78 /* }}} end dom_domconfiguration_get_parameter */
79
80 /* {{{ proto bool dom_domconfiguration_can_set_parameter(string name, domuserdata value);
81 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter
82 Since:
83 */
PHP_FUNCTION(dom_domconfiguration_can_set_parameter)84 PHP_FUNCTION(dom_domconfiguration_can_set_parameter)
85 {
86 DOM_NOT_IMPLEMENTED();
87 }
88 /* }}} end dom_domconfiguration_can_set_parameter */
89
90 /* }}} */
91
92 #endif
93
94 /*
95 * Local variables:
96 * tab-width: 4
97 * c-basic-offset: 4
98 * End:
99 * vim600: noet sw=4 ts=4 fdm=marker
100 * vim<600: noet sw=4 ts=4
101 */
102