Return to domconfiguration.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / dom |
1.1 ! misho 1: /* ! 2: +----------------------------------------------------------------------+ ! 3: | PHP Version 5 | ! 4: +----------------------------------------------------------------------+ ! 5: | Copyright (c) 1997-2012 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 321634 2012-01-01 13:15:04Z felipe $ */ ! 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: /* {{{ arginfo */ ! 31: ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2) ! 32: ZEND_ARG_INFO(0, name) ! 33: ZEND_ARG_INFO(0, value) ! 34: ZEND_END_ARG_INFO(); ! 35: ! 36: ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_get_parameter, 0, 0, 0) ! 37: ZEND_ARG_INFO(0, name) ! 38: ZEND_END_ARG_INFO(); ! 39: ! 40: ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_can_set_parameter, 0, 0, 0) ! 41: ZEND_ARG_INFO(0, name) ! 42: ZEND_ARG_INFO(0, value) ! 43: ZEND_END_ARG_INFO(); ! 44: /* }}} */ ! 45: ! 46: /* ! 47: * class domdomconfiguration ! 48: * ! 49: * URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration ! 50: * Since: DOM Level 3 ! 51: */ ! 52: ! 53: const zend_function_entry php_dom_domconfiguration_class_functions[] = { ! 54: PHP_FALIAS(setParameter, dom_domconfiguration_set_parameter, arginfo_dom_configuration_set_parameter) ! 55: PHP_FALIAS(getParameter, dom_domconfiguration_get_parameter, arginfo_dom_configuration_get_parameter) ! 56: PHP_FALIAS(canSetParameter, dom_domconfiguration_can_set_parameter, arginfo_dom_configuration_can_set_parameter) ! 57: PHP_FE_END ! 58: }; ! 59: ! 60: /* {{{ attribute protos, not implemented yet */ ! 61: ! 62: /* {{{ proto dom_void dom_domconfiguration_set_parameter(string name, domuserdata value); ! 63: URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property ! 64: Since: ! 65: */ ! 66: PHP_FUNCTION(dom_domconfiguration_set_parameter) ! 67: { ! 68: DOM_NOT_IMPLEMENTED(); ! 69: } ! 70: /* }}} end dom_domconfiguration_set_parameter */ ! 71: ! 72: /* {{{ proto domdomuserdata dom_domconfiguration_get_parameter(string name); ! 73: URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter ! 74: Since: ! 75: */ ! 76: PHP_FUNCTION(dom_domconfiguration_get_parameter) ! 77: { ! 78: DOM_NOT_IMPLEMENTED(); ! 79: } ! 80: /* }}} end dom_domconfiguration_get_parameter */ ! 81: ! 82: /* {{{ proto boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value); ! 83: URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter ! 84: Since: ! 85: */ ! 86: PHP_FUNCTION(dom_domconfiguration_can_set_parameter) ! 87: { ! 88: DOM_NOT_IMPLEMENTED(); ! 89: } ! 90: /* }}} end dom_domconfiguration_can_set_parameter */ ! 91: ! 92: /* }}} */ ! 93: ! 94: #endif ! 95: ! 96: /* ! 97: * Local variables: ! 98: * tab-width: 4 ! 99: * c-basic-offset: 4 ! 100: * End: ! 101: * vim600: noet sw=4 ts=4 fdm=marker ! 102: * vim<600: noet sw=4 ts=4 ! 103: */