domconfiguration.c 3.5 KB

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