domconfiguration.c 3.5 KB

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