xref: /PHP-7.2/ext/dom/string_extend.c (revision 7a7ec01a)
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 
20 /* $Id$ */
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_string_extend_find_offset16, 0, 0, 1)
32 	ZEND_ARG_INFO(0, offset32)
33 ZEND_END_ARG_INFO();
34 
35 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset32, 0, 0, 1)
36 	ZEND_ARG_INFO(0, offset16)
37 ZEND_END_ARG_INFO();
38 /* }}} */
39 
40 /*
41 * class domstringextend
42 *
43 * URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend
44 * Since:
45 */
46 
47 const zend_function_entry php_dom_string_extend_class_functions[] = {
48 	PHP_FALIAS(findOffset16, dom_string_extend_find_offset16, arginfo_dom_string_extend_find_offset16)
49 	PHP_FALIAS(findOffset32, dom_string_extend_find_offset32, arginfo_dom_string_extend_find_offset32)
50 	PHP_FE_END
51 };
52 
53 /* {{{ attribute protos, not implemented yet */
54 
55 /* {{{ proto int dom_string_extend_find_offset16(int offset32);
56 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset16
57 Since:
58 */
PHP_FUNCTION(dom_string_extend_find_offset16)59 PHP_FUNCTION(dom_string_extend_find_offset16)
60 {
61  DOM_NOT_IMPLEMENTED();
62 }
63 /* }}} end dom_string_extend_find_offset16 */
64 
65 /* {{{ proto int dom_string_extend_find_offset32(int offset16);
66 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset32
67 Since:
68 */
PHP_FUNCTION(dom_string_extend_find_offset32)69 PHP_FUNCTION(dom_string_extend_find_offset32)
70 {
71  DOM_NOT_IMPLEMENTED();
72 }
73 /* }}} end dom_string_extend_find_offset32 */
74 
75 /* }}} */
76 
77 #endif
78 
79 /*
80  * Local variables:
81  * tab-width: 4
82  * c-basic-offset: 4
83  * End:
84  * vim600: noet sw=4 ts=4 fdm=marker
85  * vim<600: noet sw=4 ts=4
86  */
87