Back to index

php5  5.3.10
typeinfo.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: typeinfo.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 
00031 /*
00032 * class domtypeinfo 
00033 *
00034 * URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#TypeInfo
00035 * Since: DOM Level 3
00036 */
00037 
00038 const zend_function_entry php_dom_typeinfo_class_functions[] = {
00039        PHP_FE_END
00040 };
00041 
00042 /* {{{ attribute protos, not implemented yet */
00043 
00044 /* {{{ type_name     string 
00045 readonly=yes 
00046 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#TypeInfo-typeName
00047 Since: 
00048 */
00049 int dom_typeinfo_type_name_read(dom_object *obj, zval **retval TSRMLS_DC)
00050 {
00051        ALLOC_ZVAL(*retval);
00052        ZVAL_NULL(*retval);
00053        return SUCCESS;
00054 }
00055 
00056 /* }}} */
00057 
00058 /* {{{ type_namespace       string 
00059 readonly=yes 
00060 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#TypeInfo-typeNamespace
00061 Since: 
00062 */
00063 int dom_typeinfo_type_namespace_read(dom_object *obj, zval **retval TSRMLS_DC)
00064 {
00065        ALLOC_ZVAL(*retval);
00066        ZVAL_NULL(*retval);
00067        return SUCCESS;
00068 }
00069 
00070 /* }}} */
00071 
00072 /* }}} */
00073 
00074 #endif
00075 
00076 /*
00077  * Local variables:
00078  * tab-width: 4
00079  * c-basic-offset: 4
00080  * End:
00081  * vim600: noet sw=4 ts=4 fdm=marker
00082  * vim<600: noet sw=4 ts=4
00083  */