Back to index

php5  5.3.10
domimplementationlist.c
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Christian Stocker <chregu@php.net>                          |
00016    |          Rob Richards <rrichards@php.net>                            |
00017    +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: domimplementationlist.c 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifdef HAVE_CONFIG_H
00023 #include "config.h"
00024 #endif
00025 
00026 #include "php.h"
00027 #if HAVE_LIBXML && HAVE_DOM
00028 #include "php_dom.h"
00029 
00030 /* {{{ arginfo */
00031 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationlist_item, 0, 0, 1)
00032        ZEND_ARG_INFO(0, index)
00033 ZEND_END_ARG_INFO();
00034 /* }}} */
00035 
00036 /*
00037 * class domimplementationlist 
00038 *
00039 * URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList
00040 * Since: DOM Level 3
00041 */
00042 
00043 const zend_function_entry php_dom_domimplementationlist_class_functions[] = {
00044        PHP_FALIAS(item, dom_domimplementationlist_item, arginfo_dom_implementationlist_item)
00045        {NULL, NULL, NULL}
00046 };
00047 
00048 /* {{{ attribute protos, not implemented yet */
00049 
00050 /* {{{ length unsigned long 
00051 readonly=yes 
00052 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList-length
00053 Since: 
00054 */
00055 int dom_domimplementationlist_length_read(dom_object *obj, zval **retval TSRMLS_DC)
00056 {
00057        ALLOC_ZVAL(*retval);
00058        ZVAL_STRING(*retval, "TEST", 1);
00059        return SUCCESS;
00060 }
00061 
00062 /* }}} */
00063 
00064 /* {{{ proto domdomimplementation dom_domimplementationlist_item(int index);
00065 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList-item
00066 Since: 
00067 */
00068 PHP_FUNCTION(dom_domimplementationlist_item)
00069 {
00070  DOM_NOT_IMPLEMENTED();
00071 }
00072 /* }}} end dom_domimplementationlist_item */
00073 
00074 /* }}} */
00075 
00076 #endif
00077 
00078 /*
00079  * Local variables:
00080  * tab-width: 4
00081  * c-basic-offset: 4
00082  * End:
00083  * vim600: noet sw=4 ts=4 fdm=marker
00084  * vim<600: noet sw=4 ts=4
00085  */