1 : /*
2 : +----------------------------------------------------------------------+
3 : | PHP Version 5 |
4 : +----------------------------------------------------------------------+
5 : | Copyright (c) 1997-2009 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 : /* $Id: domconfiguration.c 272374 2008-12-31 11:17:49Z sebastian $ */
21 :
22 : #ifdef HAVE_CONFIG_H
23 : #include "config.h"
24 : #endif
25 :
26 : #include "php.h"
27 : #if HAVE_LIBXML && HAVE_DOM
28 : #include "php_dom.h"
29 :
30 :
31 : /* {{{ arginfo */
32 : static
33 : ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2)
34 : ZEND_ARG_INFO(0, name)
35 : ZEND_ARG_INFO(0, value)
36 : ZEND_END_ARG_INFO();
37 :
38 : static
39 : ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_get_parameter, 0, 0, 0)
40 : ZEND_ARG_INFO(0, name)
41 : ZEND_END_ARG_INFO();
42 :
43 : static
44 : ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_can_set_parameter, 0, 0, 0)
45 : ZEND_ARG_INFO(0, name)
46 : ZEND_ARG_INFO(0, value)
47 : ZEND_END_ARG_INFO();
48 : /* }}} */
49 :
50 : /*
51 : * class domdomconfiguration
52 : *
53 : * URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration
54 : * Since: DOM Level 3
55 : */
56 :
57 : zend_function_entry php_dom_domconfiguration_class_functions[] = {
58 : PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, arginfo_dom_configuration_set_parameter)
59 : PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, arginfo_dom_configuration_get_parameter)
60 : PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, arginfo_dom_configuration_can_set_parameter)
61 : {NULL, NULL, NULL}
62 : };
63 :
64 : /* {{{ attribute protos, not implemented yet */
65 :
66 :
67 : /* {{{ proto dom_void dom_domconfiguration_set_parameter(string name, domuserdata value);
68 : URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property
69 : Since:
70 : */
71 : PHP_FUNCTION(dom_domconfiguration_set_parameter)
72 0 : {
73 0 : DOM_NOT_IMPLEMENTED();
74 : }
75 : /* }}} end dom_domconfiguration_set_parameter */
76 :
77 :
78 : /* {{{ proto domdomuserdata dom_domconfiguration_get_parameter(string name);
79 : URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter
80 : Since:
81 : */
82 : PHP_FUNCTION(dom_domconfiguration_get_parameter)
83 0 : {
84 0 : DOM_NOT_IMPLEMENTED();
85 : }
86 : /* }}} end dom_domconfiguration_get_parameter */
87 :
88 :
89 : /* {{{ proto boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value);
90 : URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter
91 : Since:
92 : */
93 : PHP_FUNCTION(dom_domconfiguration_can_set_parameter)
94 0 : {
95 0 : DOM_NOT_IMPLEMENTED();
96 : }
97 : /* }}} end dom_domconfiguration_can_set_parameter */
98 : #endif
|