]> granicus.if.org Git - php/commitdiff
fix ws, cs and folding
authorAntony Dovgal <tony2001@php.net>
Thu, 14 Aug 2008 08:38:37 +0000 (08:38 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 14 Aug 2008 08:38:37 +0000 (08:38 +0000)
37 files changed:
ext/dom/attr.c
ext/dom/cdatasection.c
ext/dom/characterdata.c
ext/dom/comment.c
ext/dom/document.c
ext/dom/documentfragment.c
ext/dom/documenttype.c
ext/dom/dom_ce.h
ext/dom/dom_fe.h
ext/dom/dom_iterators.c
ext/dom/dom_properties.h
ext/dom/domconfiguration.c
ext/dom/domerror.c
ext/dom/domerrorhandler.c
ext/dom/domexception.c
ext/dom/domimplementation.c
ext/dom/domimplementationlist.c
ext/dom/domimplementationsource.c
ext/dom/domlocator.c
ext/dom/domstringlist.c
ext/dom/element.c
ext/dom/entity.c
ext/dom/entityreference.c
ext/dom/namednodemap.c
ext/dom/namelist.c
ext/dom/node.c
ext/dom/nodelist.c
ext/dom/notation.c
ext/dom/php_dom.c
ext/dom/php_dom.h
ext/dom/processinginstruction.c
ext/dom/string_extend.c
ext/dom/text.c
ext/dom/typeinfo.c
ext/dom/userdatahandler.c
ext/dom/xml_common.h
ext/dom/xpath.c

index 7647fb2c06fd660c181c25e20d2fb46aef80fc13..2897d944d81e453949b9ef6ff271d36f5bb322ab 100644 (file)
@@ -29,7 +29,6 @@
 
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_attr_is_id, 0, 0, 0)
@@ -99,7 +98,6 @@ PHP_METHOD(domattr, __construct)
 
 /* }}} end DOMAttr::__construct */
 
-
 /* {{{ name    string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-1112119403
@@ -124,8 +122,6 @@ int dom_attr_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ specified       boolean 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-862529273
@@ -141,8 +137,6 @@ int dom_attr_specified_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ value   string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-221662474
@@ -210,8 +204,6 @@ int dom_attr_value_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ ownerElement    DOMElement      
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-ownerElement
@@ -246,8 +238,6 @@ int dom_attr_owner_element_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ schemaTypeInfo  DOMTypeInfo     
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-schemaTypeInfo
@@ -263,8 +253,6 @@ int dom_attr_schema_type_info_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ proto boolean dom_attr_is_id() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId
 Since: DOM Level 3
@@ -290,3 +278,12 @@ PHP_FUNCTION(dom_attr_is_id)
 /* }}} end dom_attr_is_id */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index c73dad1978106eba9b8c4a7781b6d16c90996187..29a58894a90c133b548e2b840323565850b4aff5 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_cdatasection_construct, 0, 0, 1)
@@ -83,3 +82,12 @@ PHP_METHOD(domcdatasection, __construct)
 /* }}} end DOMCdataSection::__construct */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index bb2d279acc9a4c807e0cc1e9437b202e44703cf0..a5aa3cf13ffa62ab74e2f9c3a61bb95dff726261 100644 (file)
@@ -171,7 +171,6 @@ int dom_characterdata_length_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
 /* {{{ proto string dom_characterdata_substring_data(int offset, int count) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6531BCCF
 Since: 
@@ -221,7 +220,6 @@ PHP_FUNCTION(dom_characterdata_substring_data)
 }
 /* }}} end dom_characterdata_substring_data */
 
-
 /* {{{ proto void dom_characterdata_append_data(string arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-32791A2F
 Since: 
@@ -256,7 +254,6 @@ PHP_FUNCTION(dom_characterdata_append_data)
 }
 /* }}} end dom_characterdata_append_data */
 
-
 /* {{{ proto void dom_characterdata_insert_data(int offset, string arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3EDB695F
 Since: 
@@ -305,7 +302,6 @@ PHP_FUNCTION(dom_characterdata_insert_data)
 }
 /* }}} end dom_characterdata_insert_data */
 
-
 /* {{{ proto void dom_characterdata_delete_data(int offset, int count) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7C603781
 Since: 
@@ -361,7 +357,6 @@ PHP_FUNCTION(dom_characterdata_delete_data)
 }
 /* }}} end dom_characterdata_delete_data */
 
-
 /* {{{ proto void dom_characterdata_replace_data(int offset, int count, string arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-E5CBA7FB
 Since: 
@@ -423,4 +418,14 @@ PHP_FUNCTION(dom_characterdata_replace_data)
        RETURN_TRUE;
 }
 /* }}} end dom_characterdata_replace_data */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 6352a68b6efb0bd503c40f18eb9199e4047af756..09b550a60e6f4b43682ea00f3e02b5fa14fac42c 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_comment_construct, 0, 0, 0)
@@ -81,4 +80,14 @@ PHP_METHOD(domcomment, __construct)
        }
 }
 /* }}} end DOMComment::__construct */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 60fcfe3b05cf9d4c39bc0c2724743dc47b1d4f71..fb484ef0d73c6eca0a6c959cc9d0c2fd467ca439 100644 (file)
@@ -226,7 +226,7 @@ ZEND_END_ARG_INFO();
 * Since: 
 */
 
-const zend_function_entry php_dom_document_class_functions[] = {
+const zend_function_entry php_dom_document_class_functions[] = { /* {{{ */
        PHP_FALIAS(createElement, dom_document_create_element, arginfo_dom_document_create_element)
        PHP_FALIAS(createDocumentFragment, dom_document_create_document_fragment, arginfo_dom_document_create_document_fragment)
        PHP_FALIAS(createTextNode, dom_document_create_text_node, arginfo_dom_document_create_text_node)
@@ -266,6 +266,7 @@ const zend_function_entry php_dom_document_class_functions[] = {
        PHP_ME(domdocument, registerNodeClass, arginfo_dom_document_registernodeclass, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
+/* }}} */
 
 /* {{{ docType DOMDocumentType 
 readonly=yes 
@@ -301,8 +302,6 @@ int dom_document_doctype_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ implementation  DOMImplementation       
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1B793EBA
@@ -317,8 +316,6 @@ int dom_document_implementation_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ documentElement DOMElement      
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-87CD092
@@ -423,8 +420,6 @@ int dom_document_encoding_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ standalone      boolean 
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-standalone
@@ -489,8 +484,6 @@ int dom_document_standalone_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ version string  
 readonly=no
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-version
@@ -685,7 +678,6 @@ int dom_document_validate_on_parse_write(dom_object *obj, zval *newval TSRMLS_DC
 }
 /* }}} */
 
-
 /* {{{ resolveExternals        boolean 
 readonly=no
 */
@@ -728,7 +720,6 @@ int dom_document_resolve_externals_write(dom_object *obj, zval *newval TSRMLS_DC
 }
 /* }}} */
 
-
 /* {{{ preserveWhiteSpace      boolean 
 readonly=no
 */
@@ -813,7 +804,6 @@ int dom_document_recover_write(dom_object *obj, zval *newval TSRMLS_DC)
 }
 /* }}} */
 
-
 /* {{{ substituteEntities      boolean 
 readonly=no
 */
@@ -856,7 +846,6 @@ int dom_document_substitue_entities_write(dom_object *obj, zval *newval TSRMLS_D
 }
 /* }}} */
 
-
 /* {{{ documentURI     string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-documentURI
@@ -921,8 +910,6 @@ int dom_document_document_uri_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ config  DOMConfiguration        
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-config
@@ -937,8 +924,6 @@ int dom_document_config_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ proto DOMElement dom_document_create_element(string tagName [, string value]) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547
 Since: 
@@ -972,7 +957,6 @@ PHP_FUNCTION(dom_document_create_element)
 }
 /* }}} end dom_document_create_element */
 
-
 /* {{{ proto DOMDocumentFragment dom_document_create_document_fragment() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5
 Since: 
@@ -1000,7 +984,6 @@ PHP_FUNCTION(dom_document_create_document_fragment)
 }
 /* }}} end dom_document_create_document_fragment */
 
-
 /* {{{ proto DOMText dom_document_create_text_node(string data) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127
 Since: 
@@ -1029,7 +1012,6 @@ PHP_FUNCTION(dom_document_create_text_node)
 }
 /* }}} end dom_document_create_text_node */
 
-
 /* {{{ proto DOMComment dom_document_create_comment(string data) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328
 Since: 
@@ -1058,7 +1040,6 @@ PHP_FUNCTION(dom_document_create_comment)
 }
 /* }}} end dom_document_create_comment */
 
-
 /* {{{ proto DOMCdataSection dom_document_create_cdatasection(string data) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8
 Since: 
@@ -1087,7 +1068,6 @@ PHP_FUNCTION(dom_document_create_cdatasection)
 }
 /* }}} end dom_document_create_cdatasection */
 
-
 /* {{{ proto DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439
 Since: 
@@ -1123,7 +1103,6 @@ PHP_FUNCTION(dom_document_create_processing_instruction)
 }
 /* }}} end dom_document_create_processing_instruction */
 
-
 /* {{{ proto DOMAttr dom_document_create_attribute(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198
 Since: 
@@ -1158,7 +1137,6 @@ PHP_FUNCTION(dom_document_create_attribute)
 }
 /* }}} end dom_document_create_attribute */
 
-
 /* {{{ proto DOMEntityReference dom_document_create_entity_reference(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE
 Since: 
@@ -1192,7 +1170,6 @@ PHP_FUNCTION(dom_document_create_entity_reference)
 }
 /* }}} end dom_document_create_entity_reference */
 
-
 /* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name(string tagname) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094
 Since: 
@@ -1219,7 +1196,6 @@ PHP_FUNCTION(dom_document_get_elements_by_tag_name)
 }
 /* }}} end dom_document_get_elements_by_tag_name */
 
-
 /* {{{ proto DOMNode dom_document_import_node(DOMNode importedNode, boolean deep) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode
 Since: DOM Level 2
@@ -1262,7 +1238,6 @@ PHP_FUNCTION(dom_document_import_node)
 }
 /* }}} end dom_document_import_node */
 
-
 /* {{{ proto DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS
 Since: DOM Level 2
@@ -1326,7 +1301,6 @@ PHP_FUNCTION(dom_document_create_element_ns)
 }
 /* }}} end dom_document_create_element_ns */
 
-
 /* {{{ proto DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS
 Since: DOM Level 2
@@ -1392,7 +1366,6 @@ PHP_FUNCTION(dom_document_create_attribute_ns)
 }
 /* }}} end dom_document_create_attribute_ns */
 
-
 /* {{{ proto DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS
 Since: DOM Level 2
@@ -1420,7 +1393,6 @@ PHP_FUNCTION(dom_document_get_elements_by_tag_name_ns)
 }
 /* }}} end dom_document_get_elements_by_tag_name_ns */
 
-
 /* {{{ proto DOMElement dom_document_get_element_by_id(string elementId) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId
 Since: DOM Level 2
@@ -1451,7 +1423,6 @@ PHP_FUNCTION(dom_document_get_element_by_id)
 }
 /* }}} end dom_document_get_element_by_id */
 
-
 /* {{{ proto DOMNode dom_document_adopt_node(DOMNode source) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode
 Since: DOM Level 3
@@ -1462,7 +1433,6 @@ PHP_FUNCTION(dom_document_adopt_node)
 }
 /* }}} end dom_document_adopt_node */
 
-
 /* {{{ proto void dom_document_normalize_document() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument
 Since: DOM Level 3
@@ -1483,7 +1453,6 @@ PHP_FUNCTION(dom_document_normalize_document)
 }
 /* }}} end dom_document_normalize_document */
 
-
 /* {{{ proto DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode
 Since: DOM Level 3
@@ -1541,7 +1510,8 @@ PHP_METHOD(domdocument, __construct)
 }
 /* }}} end DOMDocument::__construct */
 
-char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len  TSRMLS_DC) {
+char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_path_len  TSRMLS_DC) /* {{{ */
+{
        xmlURI *uri;
        xmlChar *escsource;
        char *file_dest;
@@ -1586,10 +1556,10 @@ char *_dom_get_valid_file_path(char *source, char *resolved_path, int resolved_p
 
        return file_dest;
 }
+/* }}} */
 
-
-/* {{{ */
-static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int options TSRMLS_DC) {
+static xmlDocPtr dom_document_parser(zval *id, int mode, char *source, int options TSRMLS_DC) /* {{{ */
+{
     xmlDocPtr ret;
     xmlParserCtxtPtr ctxt = NULL;
        dom_doc_propsptr doc_props;
@@ -1925,7 +1895,8 @@ PHP_FUNCTION(dom_document_savexml)
 }
 /* }}} end dom_document_savexml */
 
-static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur TSRMLS_DC) {
+static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur TSRMLS_DC) /* {{{ */
+{
        xmlNodePtr xincnode;
 
        xincnode = cur;
@@ -1935,8 +1906,10 @@ static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur TSRMLS_DC) {
 
        return cur;
 }
+/* }}} */
 
-static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) {
+static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) /* {{{ */
+{
        while(cur) {
                if (cur->type == XML_XINCLUDE_START) {
                        cur = php_dom_free_xinclude_node(cur TSRMLS_CC);
@@ -1961,6 +1934,7 @@ static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) {
                }
        }
 }
+/* }}} */
 
 /* {{{ proto int dom_document_xinclude([int options]) U
    Substitutues xincludes in a DomDocument */
@@ -2000,7 +1974,7 @@ PHP_FUNCTION(dom_document_xinclude)
        }
     
 }
-
+/* }}} */
 
 /* {{{ proto boolean dom_document_validate() U
 Since: DOM extended
@@ -2134,6 +2108,7 @@ static void _dom_document_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type
                RETURN_FALSE;
        }
 }
+/* }}} */
 
 /* {{{ proto boolean dom_document_schema_validate_file(string filename) U */
 PHP_FUNCTION(dom_document_schema_validate_file)
@@ -2149,9 +2124,7 @@ PHP_FUNCTION(dom_document_schema_validate_xml)
 }
 /* }}} end dom_document_schema_validate */
 
-
-static void
-_dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type)
+static void _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */
 {
        zval *id;
        xmlDoc *docp;
@@ -2243,6 +2216,7 @@ _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type)
                RETURN_FALSE;
        }
 }
+/* }}} */
 
 /* {{{ proto boolean dom_document_relaxNG_validate_file(string filename) U */
 PHP_FUNCTION(dom_document_relaxNG_validate_file)
@@ -2262,7 +2236,7 @@ PHP_FUNCTION(dom_document_relaxNG_validate_xml)
 
 #if defined(LIBXML_HTML_ENABLED)
 
-static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode)
+static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
 {
        zval *id, *rv = NULL;
        xmlDoc *docp = NULL, *newdoc;
@@ -2353,6 +2327,7 @@ static void dom_load_html(INTERNAL_FUNCTION_PARAMETERS, int mode)
                DOM_RET_OBJ(rv, (xmlNodePtr) newdoc, &ret, NULL);
        }
 }
+/* }}} */
 
 /* {{{ proto DOMNode dom_document_load_html_file(string source) U
 Since: DOM extended
@@ -2513,3 +2488,12 @@ PHP_METHOD(domdocument, registerNodeClass)
 /* }}} */
 
 #endif  /* HAVE_LIBXML && HAVE_DOM */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 9675d9d8fcf9458bd495d760d797f207cd850dd1..11737563f6cdb0f541b5fbff2dce1a2007cbc1af 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_documentfragement_construct, 0, 0, 0)
@@ -88,7 +87,8 @@ PHP_METHOD(domdocumentfragment, __construct)
 
 /* php_dom_xmlSetTreeDoc is a custom implementation of xmlSetTreeDoc
  needed for hack in appendXML due to libxml bug - no need to share this function */
-static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) {
+static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) /* {{{ */
+{
     xmlAttrPtr prop;
        xmlNodePtr cur;
 
@@ -117,6 +117,7 @@ static void php_dom_xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) {
                tree->doc = doc;
     }
 }
+/* }}} */
 
 /* {{{ proto void DOMDocumentFragment::appendXML(string data) U */
 PHP_METHOD(domdocumentfragment, appendXML) {
@@ -154,5 +155,15 @@ PHP_METHOD(domdocumentfragment, appendXML) {
 
        RETURN_TRUE;
 }
+/* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index da69b53a2b0e0f1da3f2bf11085a590a45e72667..290af1c2ccee31e6c44759e10fcec5651eb1604e 100644 (file)
@@ -62,8 +62,6 @@ int dom_documenttype_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ entities        DOMNamedNodeMap 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1788794630
@@ -95,8 +93,6 @@ int dom_documenttype_entities_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ notations       DOMNamedNodeMap 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D46829EF
@@ -128,8 +124,6 @@ int dom_documenttype_notations_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ publicId        string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-publicId
@@ -158,8 +152,6 @@ int dom_documenttype_public_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ systemId        string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-systemId
@@ -187,8 +179,6 @@ int dom_documenttype_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ internalSubset  string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-Core-DocType-internalSubset
@@ -232,3 +222,12 @@ int dom_documenttype_internal_subset_read(dom_object *obj, zval **retval TSRMLS_
 /* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index a15ce074eb6ba03eb52b1aca0fb8018e058cf8be..035bd921f2665bb654bdf60c70df77c7803d61f5 100644 (file)
@@ -55,3 +55,12 @@ extern zend_class_entry *dom_xpath_class_entry;
 extern zend_class_entry *dom_namespace_node_class_entry;
 
 #endif /* DOM_CE_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 840c5bf7a0a2fe04f411acf173ff15dcb0332260..935d6558d383da759f2d50fec49463c3e393ce1b 100644 (file)
@@ -268,3 +268,12 @@ PHP_FUNCTION(dom_xpath_register_php_functions);
 #endif
 
 #endif /* DOM_FE_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 259d7f18027c4be67567fc81727ef89bb1cd9c09..bb2c15dbc122b8188b5c94139cff764e258b1c14 100644 (file)
@@ -42,7 +42,8 @@ struct _notationIterator {
        xmlNotation *notation;
 };
 
-static void itemHashScanner (void *payload, void *data, xmlChar *name) {
+static void itemHashScanner (void *payload, void *data, xmlChar *name) /* {{{ */
+{
        nodeIterator *priv = (nodeIterator *)data;
 
        if(priv->cur < priv->index) {
@@ -53,9 +54,10 @@ static void itemHashScanner (void *payload, void *data, xmlChar *name) {
                }
        }
 }
+/* }}} */
 
-xmlNodePtr create_notation(const xmlChar *name, 
-                                                                       const xmlChar *ExternalID, const xmlChar *SystemID) {
+xmlNodePtr create_notation(const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID) /* {{{ */
+{
        xmlEntityPtr ret;
 
        ret = (xmlEntityPtr) xmlMalloc(sizeof(xmlEntity));
@@ -76,8 +78,9 @@ xmlNodePtr create_notation(const xmlChar *name,
        ret->prev = NULL;
        return((xmlNodePtr) ret);
 }
+/* }}} */
 
-xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index)
+xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */
 {
        xmlNode *nodep = NULL;
        nodeIterator *iter;
@@ -96,8 +99,9 @@ xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index)
                return NULL;
        }
 }
+/* }}} */
 
-xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index)
+xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */
 {
        notationIterator *iter;
        xmlNotation *notep = NULL;
@@ -116,8 +120,9 @@ xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index)
                return NULL;
        }
 }
+/* }}} */
 
-static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC)
+static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
 {
        php_dom_iterator *iterator = (php_dom_iterator *)iter;
 
@@ -129,8 +134,9 @@ static void php_dom_iterator_dtor(zend_object_iterator *iter TSRMLS_DC)
 
        efree(iterator);
 }
+/* }}} */
 
-static int php_dom_iterator_valid(zend_object_iterator *iter TSRMLS_DC)
+static int php_dom_iterator_valid(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
 {
 
        php_dom_iterator *iterator = (php_dom_iterator *)iter;
@@ -180,8 +186,9 @@ static int php_dom_iterator_current_key(zend_object_iterator *iter, zstr *str_ke
                return HASH_KEY_IS_STRING;
        }
 }
+/* }}} */
 
-static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC)
+static void php_dom_iterator_move_forward(zend_object_iterator *iter TSRMLS_DC) /* {{{ */
 {
        zval *curobj, *curattr = NULL;
        zval *object;
@@ -247,6 +254,7 @@ err:
 
        iterator->curobj = curattr;
 }
+/* }}} */
 
 zend_object_iterator_funcs php_dom_iterator_funcs = {
        php_dom_iterator_dtor,
@@ -257,7 +265,7 @@ zend_object_iterator_funcs php_dom_iterator_funcs = {
        NULL
 };
 
-zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC)
+zend_object_iterator *php_dom_get_iterator(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC) /* {{{ */
 {
        dom_object *intern;
        dom_nnodemap_object *objmap;
@@ -328,5 +336,15 @@ err:
 
        return (zend_object_iterator*)iterator;
 }
+/* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 07c70fb69ac32b04a1830c8b76cb5442b2edf28d..dce6087e38500d28aafc48d14540995e3e82ec07 100644 (file)
@@ -160,3 +160,12 @@ int dom_xpath_document_read(dom_object *obj, zval **retval TSRMLS_DC);
 #endif
 
 #endif /* DOM_PROPERTIERS_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 19ad8350913c891dc4bd58eab56ca098b4eed959..ef3e4d9edcf7efcf6c1bf02eb988f53c07528d76 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_configuration_set_parameter, 0, 0, 2)
@@ -95,4 +94,16 @@ PHP_FUNCTION(dom_domconfiguration_can_set_parameter)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domconfiguration_can_set_parameter */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 08df3abcfa663ea95c0cd3ebf961c8ce127fde51..a6342ce90d355510c3e794bba71ffa76572eabd1 100644 (file)
@@ -55,8 +55,6 @@ int dom_domerror_severity_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ message string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-message
@@ -71,8 +69,6 @@ int dom_domerror_message_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ type    string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-type
@@ -87,8 +83,6 @@ int dom_domerror_type_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ relatedException        object  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-relatedException
@@ -103,8 +97,6 @@ int dom_domerror_related_exception_read(dom_object *obj, zval **retval TSRMLS_DC
 
 /* }}} */
 
-
-
 /* {{{ relatedData     domobject       
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-relatedData
@@ -119,8 +111,6 @@ int dom_domerror_related_data_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ location        domlocator      
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ERROR-DOMError-location
@@ -135,4 +125,15 @@ int dom_domerror_location_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 5a58c92392e8bfa73a9b5e6621308425aa767f8f..fc916eed3dee2fde88f6ea0f93d27e82697b6bdb 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_domerrorhandler_handle_error, 0, 0, 1)
@@ -59,4 +58,16 @@ PHP_FUNCTION(dom_domerrorhandler_handle_error)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domerrorhandler_handle_error */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 6cac4b93d57e232e38a2b118336a1c2a28e33ff2..cbe3d8408e9c811db57cdf17859aba96077d89c7 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /*
 * class DOMException 
 *
@@ -41,8 +40,7 @@ const zend_function_entry php_dom_domexception_class_functions[] = {
        {NULL, NULL, NULL}
 };
 
-/* {{{ php_dom_throw_error_with_message */
-void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC)
+void php_dom_throw_error_with_message(int error_code, char *error_message, int strict_error TSRMLS_DC) /* {{{ */
 {
        if (strict_error == 1) {
                zend_throw_exception(dom_domexception_class_entry, error_message, error_code TSRMLS_CC);
@@ -50,6 +48,7 @@ void php_dom_throw_error_with_message(int error_code, char *error_message, int s
                php_libxml_issue_error(E_WARNING, error_message TSRMLS_CC);
        }
 }
+/* }}} */
 
 /* {{{ php_dom_throw_error */
 void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC)
@@ -115,3 +114,12 @@ void php_dom_throw_error(int error_code, int strict_error TSRMLS_DC)
 /* }}} end php_dom_throw_error */
 
 #endif /* HAVE_LIBXML && HAVE_DOM */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 87e6bcdfd50900094e20b27e1f8a4900ebfe7ea7..a32f075c20901a0fad55e1e9b0047623e13fee41 100644 (file)
@@ -89,7 +89,6 @@ PHP_METHOD(domimplementation, hasFeature)
 }
 /* }}} end dom_domimplementation_has_feature */
 
-
 /* {{{ proto DOMDocumentType dom_domimplementation_create_document_type(string qualifiedName, string publicId, string systemId) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType
 Since: DOM Level 2
@@ -150,7 +149,6 @@ PHP_METHOD(domimplementation, createDocumentType)
 }
 /* }}} end dom_domimplementation_create_document_type */
 
-
 /* {{{ proto DOMDocument dom_domimplementation_create_document(string namespaceURI, string qualifiedName, DOMDocumentType doctype) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument
 Since: DOM Level 2
@@ -253,7 +251,6 @@ PHP_METHOD(domimplementation, createDocument)
 }
 /* }}} end dom_domimplementation_create_document */
 
-
 /* {{{ proto DOMNode dom_domimplementation_get_feature(string feature, string version) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature
 Since: DOM Level 3
@@ -263,4 +260,14 @@ PHP_METHOD(domimplementation, getFeature)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domimplementation_get_feature */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index ab51895be3f117cc4cb6f311df0fa14eb2f1cb20..e3cfa22daae030b06a0b3659913f6b274b3b9a82 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_implementationlist_item, 0, 0, 1)
@@ -75,4 +74,16 @@ PHP_FUNCTION(dom_domimplementationlist_item)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domimplementationlist_item */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 15c592283eda88ea39eaca1924b8f267b7889106..d0cc0cdafe3139a709b42181db61d6e203bd8676 100644 (file)
@@ -76,4 +76,16 @@ PHP_FUNCTION(dom_domimplementationsource_get_domimplementations)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domimplementationsource_get_domimplementations */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 9f9644416cd3a832ccdfc85b6756a34103ae73bd..9fcfb577aca4f439a3fc70a4eb6fb9da20e2dbe5 100644 (file)
@@ -55,8 +55,6 @@ int dom_domlocator_line_number_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ column_number   long    
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-column-number
@@ -71,8 +69,6 @@ int dom_domlocator_column_number_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ offset  long    
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-offset
@@ -87,8 +83,6 @@ int dom_domlocator_offset_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ related_node    node    
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-node
@@ -103,8 +97,6 @@ int dom_domlocator_related_node_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ uri     string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMLocator-uri
@@ -119,5 +111,15 @@ int dom_domlocator_uri_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
+/* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 2bbef9180439623ef7024c08cac2c6a282d7fea0..297ab0212f059528adf193568ef8c57fb75f3ffc 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_stringlist_item, 0, 0, 1)
@@ -75,4 +74,16 @@ PHP_FUNCTION(dom_domstringlist_item)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_domstringlist_item */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index e744b44f70a743a95ccf01c1e3a80b59eeb80a05..758c274834b7665c1639b2f72f82d6550a3b6ccc 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_element_get_attribute, 0, 0, 1)
@@ -146,7 +145,7 @@ ZEND_END_ARG_INFO();
 * Since: 
 */
 
-const zend_function_entry php_dom_element_class_functions[] = {
+const zend_function_entry php_dom_element_class_functions[] = { /* {{{ */
        PHP_FALIAS(getAttribute, dom_element_get_attribute, arginfo_dom_element_get_attribute)
        PHP_FALIAS(setAttribute, dom_element_set_attribute, arginfo_dom_element_set_attribute)
        PHP_FALIAS(removeAttribute, dom_element_remove_attribute, arginfo_dom_element_remove_attribute)
@@ -168,6 +167,7 @@ const zend_function_entry php_dom_element_class_functions[] = {
        PHP_ME(domelement, __construct, arginfo_dom_element_construct, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
+/* }}} */
 
 /* {{{ proto void DOMElement::__construct(string name, [string value], [string uri]) U */
 PHP_METHOD(domelement, __construct)
@@ -283,8 +283,6 @@ int dom_element_tag_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ schemaTypeInfo  typeinfo        
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Element-schemaTypeInfo
@@ -299,7 +297,8 @@ int dom_element_schema_type_info_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) {
+static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) /* {{{ */
+{
     int len;
     const xmlChar *nqname;
 
@@ -339,6 +338,7 @@ static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) {
        }
        return (xmlNodePtr)xmlHasNsProp(elem, name, NULL);
 }
+/* }}} */
 
 /* {{{ proto string dom_element_get_attribute(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9
@@ -383,7 +383,6 @@ PHP_FUNCTION(dom_element_get_attribute)
 }
 /* }}} end dom_element_get_attribute */
 
-
 /* {{{ proto void dom_element_set_attribute(string name, string value) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082
 Since: 
@@ -450,7 +449,6 @@ PHP_FUNCTION(dom_element_set_attribute)
 }
 /* }}} end dom_element_set_attribute */
 
-
 /* {{{ proto void dom_element_remove_attribute(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9
 Since:
@@ -499,7 +497,6 @@ PHP_FUNCTION(dom_element_remove_attribute)
 }
 /* }}} end dom_element_remove_attribute */
 
-
 /* {{{ proto DOMAttr dom_element_get_attribute_node(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8
 Since: 
@@ -546,7 +543,6 @@ PHP_FUNCTION(dom_element_get_attribute_node)
 }
 /* }}} end dom_element_get_attribute_node */
 
-
 /* {{{ proto DOMAttr dom_element_set_attribute_node(DOMAttr newAttr) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154
 Since: 
@@ -613,7 +609,6 @@ PHP_FUNCTION(dom_element_set_attribute_node)
 }
 /* }}} end dom_element_set_attribute_node */
 
-
 /* {{{ proto DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198
 Since: 
@@ -651,7 +646,6 @@ PHP_FUNCTION(dom_element_remove_attribute_node)
 }
 /* }}} end dom_element_remove_attribute_node */
 
-
 /* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D
 Since: 
@@ -678,7 +672,6 @@ PHP_FUNCTION(dom_element_get_elements_by_tag_name)
 }
 /* }}} end dom_element_get_elements_by_tag_name */
 
-
 /* {{{ proto string dom_element_get_attribute_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS
 Since: DOM Level 2
@@ -720,7 +713,8 @@ PHP_FUNCTION(dom_element_get_attribute_ns)
 }
 /* }}} end dom_element_get_attribute_ns */
 
-static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
+static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) /* {{{ */
+{
     xmlNsPtr def;
     xmlChar prefix[50];
     int counter = 1;
@@ -756,6 +750,7 @@ static xmlNsPtr _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
        def = xmlNewNs(tree, ns->href, prefix);
        return(def);
 }
+/* }}} */
 
 /* {{{ proto void dom_element_set_attribute_ns(string namespaceURI, string qualifiedName, string value) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS
@@ -874,7 +869,6 @@ PHP_FUNCTION(dom_element_set_attribute_ns)
 }
 /* }}} end dom_element_set_attribute_ns */
 
-
 /* {{{ proto void dom_element_remove_attribute_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS
 Since: DOM Level 2
@@ -932,7 +926,6 @@ PHP_FUNCTION(dom_element_remove_attribute_ns)
 }
 /* }}} end dom_element_remove_attribute_ns */
 
-
 /* {{{ proto DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS
 Since: DOM Level 2
@@ -963,7 +956,6 @@ PHP_FUNCTION(dom_element_get_attribute_node_ns)
 }
 /* }}} end dom_element_get_attribute_node_ns */
 
-
 /* {{{ proto DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS
 Since: DOM Level 2
@@ -1037,8 +1029,6 @@ PHP_FUNCTION(dom_element_set_attribute_node_ns)
 }
 /* }}} end dom_element_set_attribute_node_ns */
 
-
-
 /* {{{ proto DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942
 Since: DOM Level 2
@@ -1067,7 +1057,6 @@ PHP_FUNCTION(dom_element_get_elements_by_tag_name_ns)
 }
 /* }}} end dom_element_get_elements_by_tag_name_ns */
 
-
 /* {{{ proto boolean dom_element_has_attribute(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr
 Since: DOM Level 2
@@ -1096,7 +1085,6 @@ PHP_FUNCTION(dom_element_has_attribute)
 }
 /* }}} end dom_element_has_attribute */
 
-
 /* {{{ proto boolean dom_element_has_attribute_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS
 Since: DOM Level 2
@@ -1135,8 +1123,7 @@ PHP_FUNCTION(dom_element_has_attribute_ns)
 }
 /* }}} end dom_element_has_attribute_ns */
 
-
-static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id)
+static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id) /* {{{ */
 {
        if (is_id == 1 && attrp->atype != XML_ATTRIBUTE_ID) {
                xmlChar *id_val;
@@ -1153,6 +1140,7 @@ static void php_set_attribute_id(xmlAttrPtr attrp, zend_bool is_id)
                }
        }
 }
+/* }}} */
 
 /* {{{ proto void dom_element_set_id_attribute(string name, boolean isId) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr
@@ -1190,7 +1178,6 @@ PHP_FUNCTION(dom_element_set_id_attribute)
 }
 /* }}} end dom_element_set_id_attribute */
 
-
 /* {{{ proto void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS
 Since: DOM Level 3
@@ -1227,7 +1214,6 @@ PHP_FUNCTION(dom_element_set_id_attribute_ns)
 }
 /* }}} end dom_element_set_id_attribute_ns */
 
-
 /* {{{ proto void dom_element_set_id_attribute_node(attr idAttr, boolean isId) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode
 Since: DOM Level 3
@@ -1264,3 +1250,12 @@ PHP_FUNCTION(dom_element_set_id_attribute_node)
 /* }}} end dom_element_set_id_attribute_node */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index df4f79b8ad6a8c0616256b0669d9a9a1b5e53cd1..b966e26c249712d8f2cad6772e9805074bb453a7 100644 (file)
@@ -67,8 +67,6 @@ int dom_entity_public_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ systemId        string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-D7C29F3E
@@ -97,8 +95,6 @@ int dom_entity_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ notationName    string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-6ABAEB38
@@ -130,8 +126,6 @@ int dom_entity_notation_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ actualEncoding  string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-actualEncoding
@@ -151,8 +145,6 @@ int dom_entity_actual_encoding_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ encoding        string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-encoding
@@ -172,8 +164,6 @@ int dom_entity_encoding_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ version string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Entity3-version
@@ -194,3 +184,12 @@ int dom_entity_version_write(dom_object *obj, zval *newval TSRMLS_DC)
 /* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index ed871e619c516120e949ac7be6188e2ad4991d38..571e2a424d128c8be4e0131f1e29695fea2f0c6f 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_entityreference_construct, 0, 0, 1)
@@ -86,6 +85,15 @@ PHP_METHOD(domentityreference, __construct)
                php_libxml_increment_node_ptr((php_libxml_node_object *)intern, node, (void *)intern TSRMLS_CC);
        }
 }
-
 /* }}} end DOMEntityReference::__construct */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 3cc603d41489c01f0528cd16b03134eecef66c9d..74ccba793e31237e6c1b2b29454edba87d0640de 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namednodemap_get_named_item, 0, 0, 1)
@@ -74,7 +73,7 @@ ZEND_END_ARG_INFO();
 * Since: 
 */
 
-const zend_function_entry php_dom_namednodemap_class_functions[] = {
+const zend_function_entry php_dom_namednodemap_class_functions[] = { /* {{{ */
        PHP_FALIAS(getNamedItem, dom_namednodemap_get_named_item, arginfo_dom_namednodemap_get_named_item)
        PHP_FALIAS(setNamedItem, dom_namednodemap_set_named_item, arginfo_dom_namednodemap_set_named_item)
        PHP_FALIAS(removeNamedItem, dom_namednodemap_remove_named_item, arginfo_dom_namednodemap_remove_named_item)
@@ -84,6 +83,7 @@ const zend_function_entry php_dom_namednodemap_class_functions[] = {
        PHP_FALIAS(removeNamedItemNS, dom_namednodemap_remove_named_item_ns, arginfo_dom_namednodemap_remove_named_item_ns)
        {NULL, NULL, NULL}
 };
+/* }}} */
 
 /* {{{ length  int     
 readonly=yes 
@@ -127,9 +127,6 @@ int dom_namednodemap_length_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
-
 /* {{{ proto DOMNode dom_namednodemap_get_named_item(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549
 Since: 
@@ -184,7 +181,6 @@ PHP_FUNCTION(dom_namednodemap_get_named_item)
 }
 /* }}} end dom_namednodemap_get_named_item */
 
-
 /* {{{ proto DOMNode dom_namednodemap_set_named_item(DOMNode arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788
 Since: 
@@ -195,7 +191,6 @@ PHP_FUNCTION(dom_namednodemap_set_named_item)
 }
 /* }}} end dom_namednodemap_set_named_item */
 
-
 /* {{{ proto DOMNode dom_namednodemap_remove_named_item(string name) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193
 Since: 
@@ -206,7 +201,6 @@ PHP_FUNCTION(dom_namednodemap_remove_named_item)
 }
 /* }}} end dom_namednodemap_remove_named_item */
 
-
 /* {{{ proto DOMNode dom_namednodemap_item(int index) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9
 Since: 
@@ -265,7 +259,6 @@ PHP_FUNCTION(dom_namednodemap_item)
 }
 /* }}} end dom_namednodemap_item */
 
-
 /* {{{ proto DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS
 Since: DOM Level 2
@@ -320,7 +313,6 @@ PHP_FUNCTION(dom_namednodemap_get_named_item_ns)
 }
 /* }}} end dom_namednodemap_get_named_item_ns */
 
-
 /* {{{ proto DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS
 Since: DOM Level 2
@@ -331,7 +323,6 @@ PHP_FUNCTION(dom_namednodemap_set_named_item_ns)
 }
 /* }}} end dom_namednodemap_set_named_item_ns */
 
-
 /* {{{ proto DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI, string localName) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS
 Since: DOM Level 2
@@ -341,4 +332,14 @@ PHP_FUNCTION(dom_namednodemap_remove_named_item_ns)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_namednodemap_remove_named_item_ns */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 60b375fa318f6c17f4045f66aca7712f94e76143..14f6ad0166dd915f0d0defcc668650d05333dc89 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_namelist_get_name, 0, 0, 1)
@@ -67,9 +66,6 @@ int dom_namelist_length_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
-
 /* {{{ proto string dom_namelist_get_name(int index) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName
 Since: 
@@ -80,7 +76,6 @@ PHP_FUNCTION(dom_namelist_get_name)
 }
 /* }}} end dom_namelist_get_name */
 
-
 /* {{{ proto string dom_namelist_get_namespace_uri(int index) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI
 Since: 
@@ -90,4 +85,14 @@ PHP_FUNCTION(dom_namelist_get_namespace_uri)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_namelist_get_namespace_uri */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 44a602a5b94877fc6a4fb5467739616e9174040b..f4ed2bae9fe8dc4798e8a3a80d1e58b31dfd83ee 100644 (file)
@@ -150,7 +150,7 @@ ZEND_END_ARG_INFO();
 * Since: 
 */
 
-const zend_function_entry php_dom_node_class_functions[] = {
+const zend_function_entry php_dom_node_class_functions[] = { /* {{{ */
        PHP_FALIAS(insertBefore, dom_node_insert_before, arginfo_dom_node_insert_before)
        PHP_FALIAS(replaceChild, dom_node_replace_child, arginfo_dom_node_replace_child)
        PHP_FALIAS(removeChild, dom_node_remove_child, arginfo_dom_node_remove_child)
@@ -174,8 +174,10 @@ const zend_function_entry php_dom_node_class_functions[] = {
        PHP_ME(domnode, C14NFile, arginfo_dom_node_C14NFile, ZEND_ACC_PUBLIC)
        {NULL, NULL, NULL}
 };
+/* }}} */
 
-static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) {
+static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) /* {{{ */
+{
        xmlNsPtr nsptr;
 
        if (nodep->type == XML_ELEMENT_NODE) {
@@ -190,6 +192,7 @@ static void dom_reconcile_ns(xmlDocPtr doc, xmlNodePtr nodep) {
                xmlReconciliateNs(doc, nodep);
        }
 }
+/* }}} */
 
 /* {{{ nodeName        string  
 readonly=yes 
@@ -281,8 +284,6 @@ int dom_node_node_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ nodeValue       string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68D080
@@ -377,8 +378,6 @@ int dom_node_node_value_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ nodeType        int
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-111237558
@@ -409,8 +408,6 @@ int dom_node_node_type_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ parentNode      DomNode 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1060184317
@@ -444,8 +441,6 @@ int dom_node_parent_node_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ childNodes      DomNodeList     
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1451460987
@@ -478,8 +473,6 @@ int dom_node_child_nodes_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ firstChild DomNode      
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-169727388
@@ -516,8 +509,6 @@ int dom_node_first_child_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ lastChild       DomNode 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-61AD09FB
@@ -554,8 +545,6 @@ int dom_node_last_child_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ previousSibling DomNode 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-640FB3C8
@@ -589,8 +578,6 @@ int dom_node_previous_sibling_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ nextSibling     DomNode
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6AC54C2F
@@ -624,8 +611,6 @@ int dom_node_next_sibling_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ attributes      DomNamedNodeMap 
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-84CF096
@@ -658,8 +643,6 @@ int dom_node_attributes_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ ownerDocument   DomDocument     
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-node-ownerDoc
@@ -700,8 +683,6 @@ int dom_node_owner_document_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ namespaceUri    string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSname
@@ -745,8 +726,6 @@ int dom_node_namespace_uri_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ prefix  string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSPrefix
@@ -869,8 +848,6 @@ int dom_node_prefix_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ localName       string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeNSLocalN
@@ -900,8 +877,6 @@ int dom_node_local_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ baseURI string
 readonly=yes
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-baseURI
@@ -934,8 +909,6 @@ int dom_node_base_uri_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ textContent     string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-textContent
@@ -974,10 +947,7 @@ int dom_node_text_content_write(dom_object *obj, zval *newval TSRMLS_DC)
 
 /* }}} */
 
-
-static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib,
-                                       xmlNodePtr nextsib, xmlNodePtr fragment, 
-                                       dom_object *intern, dom_object *childobj TSRMLS_DC)
+static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib, xmlNodePtr nextsib, xmlNodePtr fragment, dom_object *intern, dom_object *childobj TSRMLS_DC) /* {{{ */
 {
        xmlNodePtr newchild, node;
 
@@ -1020,6 +990,7 @@ static xmlNodePtr _php_dom_insert_fragment(xmlNodePtr nodep, xmlNodePtr prevsib,
 
        return newchild;
 }
+/* }}} */
 
 /* {{{ proto domnode dom_node_insert_before(DomNode newChild, DomNode refChild) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727
@@ -1182,7 +1153,6 @@ PHP_FUNCTION(dom_node_insert_before)
 }
 /* }}} end dom_node_insert_before */
 
-
 /* {{{ proto DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307
 Since: 
@@ -1274,7 +1244,6 @@ PHP_FUNCTION(dom_node_replace_child)
 }
 /* }}} end dom_node_replace_child */
 
-
 /* {{{ proto DomNode dom_node_remove_child(DomNode oldChild) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066
 Since: 
@@ -1327,7 +1296,6 @@ PHP_FUNCTION(dom_node_remove_child)
 }
 /* }}} end dom_node_remove_child */
 
-
 /* {{{ proto DomNode dom_node_append_child(DomNode newChild) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107
 Since: 
@@ -1429,7 +1397,6 @@ PHP_FUNCTION(dom_node_append_child)
 }
 /* }}} end dom_node_append_child */
 
-
 /* {{{ proto boolean dom_node_has_child_nodes() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187
 Since: 
@@ -1458,7 +1425,6 @@ PHP_FUNCTION(dom_node_has_child_nodes)
 }
 /* }}} end dom_node_has_child_nodes */
 
-
 /* {{{ proto DomNode dom_node_clone_node(boolean deep) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4
 Since: 
@@ -1521,8 +1487,6 @@ PHP_FUNCTION(dom_node_clone_node)
 }
 /* }}} end dom_node_clone_node */
 
-
-
 /* {{{ proto void dom_node_normalize() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize
 Since: 
@@ -1544,7 +1508,6 @@ PHP_FUNCTION(dom_node_normalize)
 }
 /* }}} end dom_node_normalize */
 
-
 /* {{{ proto boolean dom_node_is_supported(string feature, string version);
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports
 Since: DOM Level 2
@@ -1567,7 +1530,6 @@ PHP_FUNCTION(dom_node_is_supported)
 }
 /* }}} end dom_node_is_supported */
 
-
 /* {{{ proto boolean dom_node_has_attributes() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs
 Since: DOM Level 2
@@ -1605,7 +1567,6 @@ PHP_FUNCTION(dom_node_compare_document_position)
 }
 /* }}} end dom_node_compare_document_position */
 
-
 /* {{{ proto boolean dom_node_is_same_node(DomNode other) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode
 Since: DOM Level 3
@@ -1632,7 +1593,6 @@ PHP_FUNCTION(dom_node_is_same_node)
 }
 /* }}} end dom_node_is_same_node */
 
-
 /* {{{ proto string dom_node_lookup_prefix(string namespaceURI) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix
 Since: DOM Level 3
@@ -1684,7 +1644,6 @@ PHP_FUNCTION(dom_node_lookup_prefix)
 }
 /* }}} end dom_node_lookup_prefix */
 
-
 /* {{{ proto boolean dom_node_is_default_namespace(string namespaceURI) U
 URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace
 Since: DOM Level 3
@@ -1718,7 +1677,6 @@ PHP_FUNCTION(dom_node_is_default_namespace)
 }
 /* }}} end dom_node_is_default_namespace */
 
-
 /* {{{ proto string dom_node_lookup_namespace_uri(string prefix) U
 URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI
 Since: DOM Level 3
@@ -1754,7 +1712,6 @@ PHP_FUNCTION(dom_node_lookup_namespace_uri)
 }
 /* }}} end dom_node_lookup_namespace_uri */
 
-
 /* {{{ proto boolean dom_node_is_equal_node(DomNode arg) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode
 Since: DOM Level 3
@@ -1765,7 +1722,6 @@ PHP_FUNCTION(dom_node_is_equal_node)
 }
 /* }}} end dom_node_is_equal_node */
 
-
 /* {{{ proto DomNode dom_node_get_feature(string feature, string version) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature
 Since: DOM Level 3
@@ -1776,7 +1732,6 @@ PHP_FUNCTION(dom_node_get_feature)
 }
 /* }}} end dom_node_get_feature */
 
-
 /* {{{ proto DomUserData dom_node_set_user_data(string key, DomUserData data, userdatahandler handler) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData
 Since: DOM Level 3
@@ -1787,7 +1742,6 @@ PHP_FUNCTION(dom_node_set_user_data)
 }
 /* }}} end dom_node_set_user_data */
 
-
 /* {{{ proto DomUserData dom_node_get_user_data(string key) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData
 Since: DOM Level 3
@@ -1798,8 +1752,7 @@ PHP_FUNCTION(dom_node_get_user_data)
 }
 /* }}} end dom_node_get_user_data */
 
-
-static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode)
+static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */
 {
        zval *id;
        zval *xpath_array=NULL, *ns_prefixes=NULL;
@@ -2043,6 +1996,7 @@ static void dom_canonicalization(INTERNAL_FUNCTION_PARAMETERS, int mode)
                }
        }
 }
+/* }}} */
 
 /* {{{ proto string DOMNode::C14N([bool exclusive [, bool with_comments [, array xpath [, array ns_prefixes]]]]) U
    Canonicalize nodes to a string */
@@ -2050,6 +2004,7 @@ PHP_METHOD(domnode, C14N)
 {
        dom_canonicalization(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
 }
+/* }}} */
 
 /* {{{ proto int DOMNode::C14NFile(string uri [, bool exclusive [, bool with_comments [, array xpath [, array ns_prefixes]]]]) U
    Canonicalize nodes to a file */
@@ -2057,8 +2012,7 @@ PHP_METHOD(domnode, C14NFile)
 {
        dom_canonicalization(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
 }
-
-#endif
+/* }}} */
 
 /* {{{ proto int DOMNode::getNodePath() U
    Gets an xpath for a node */
@@ -2070,8 +2024,6 @@ PHP_METHOD(domnode, getNodePath)
        dom_object *intern;
        char *value;
        
-
-       
        DOM_GET_THIS_OBJ(nodep, id, xmlNodePtr, intern);
 
        value = (char *)xmlGetNodePath(nodep);
@@ -2081,7 +2033,16 @@ PHP_METHOD(domnode, getNodePath)
                RETVAL_XML_STRING(value, ZSTR_DUPLICATE);
                xmlFree(value);
        }
-
-       
 }
+/* }}} */
+
+#endif
 
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index f8b787869edf04493f5e24b0fc6159feee683d44..06932658dd740f308961b614a45d68a4ec1d806e 100644 (file)
@@ -99,7 +99,6 @@ int dom_nodelist_length_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
 /* {{{ proto DOMNode dom_nodelist_item(int index) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136
 Since: 
@@ -173,4 +172,14 @@ PHP_FUNCTION(dom_nodelist_item)
        RETVAL_NULL();
 }
 /* }}} end dom_nodelist_item */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 237baa1656f542fcd47045c9e5c65a251bd42cea..02ff6fadaf43e2befc64713f85646c79d4ac5d7f 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /*
 * class DOMNotation extends DOMNode 
 *
@@ -69,8 +68,6 @@ int dom_notation_public_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ systemId        string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-E8AAB1D0
@@ -99,4 +96,15 @@ int dom_notation_system_id_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 2c8eac54a58eecce21f4e5372c8458673d31a1ce..bc6b0074e8498cc48f3cc21f141ff50ef59bd5fe 100644 (file)
@@ -34,6 +34,7 @@
 #define PHP_XPATH 1
 #define PHP_XPTR 2
 
+/* {{{ class entries */
 zend_class_entry *dom_node_class_entry;
 zend_class_entry *dom_domexception_class_entry;
 zend_class_entry *dom_domstringlist_class_entry;
@@ -519,6 +520,7 @@ zend_module_entry dom_module_entry = {
 #ifdef COMPILE_DL_DOM
 ZEND_GET_MODULE(dom)
 #endif
+/* }}} */
 
 static void dom_prop_handlers_dtor(HashTable *ht)
 {
@@ -890,7 +892,7 @@ PHP_MINFO_FUNCTION(dom)
 }
 /* }}} */
 
-PHP_MSHUTDOWN_FUNCTION(dom)
+PHP_MSHUTDOWN_FUNCTION(dom) /* {{{ */
 {
        zend_hash_destroy(&classes);
        
@@ -901,6 +903,7 @@ PHP_MSHUTDOWN_FUNCTION(dom)
 
        return SUCCESS;
 }
+/* }}} */
 
 /* {{{ node_list_unlink */
 void node_list_unlink(xmlNodePtr node TSRMLS_DC)
@@ -986,7 +989,7 @@ void dom_objects_free_storage(void *object TSRMLS_DC)
 }
 /* }}} */
 
-void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC)
+void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) /* {{{ */
 {
        dom_nnodemap_object *mapptr;
        zval *baseobj = NULL;
@@ -1008,8 +1011,9 @@ void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xml
        mapptr->ns = ns;
 
 }
+/* }}} */
 
-static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_DC)
+static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool hash_copy TSRMLS_DC) /* {{{ */
 {
        zend_class_entry *base_class;
        zval *tmp;
@@ -1039,6 +1043,8 @@ static dom_object* dom_objects_set_class(zend_class_entry *class_type, zend_bool
 
        return intern;
 }
+/* }}} */
+/* }}} */
 
 /* {{{ dom_objects_clone */
 void dom_objects_clone(void *object, void **object_clone TSRMLS_DC)
@@ -1110,7 +1116,7 @@ zend_object_value dom_xpath_objects_new(zend_class_entry *class_type TSRMLS_DC)
 /* }}} */
 #endif
 
-static void dom_nnodemap_object_dtor(void *object, zend_object_handle handle TSRMLS_DC)
+static void dom_nnodemap_object_dtor(void *object, zend_object_handle handle TSRMLS_DC) /* {{{ */
 {
        zval *baseobj;
        dom_object *intern;
@@ -1136,8 +1142,10 @@ static void dom_nnodemap_object_dtor(void *object, zend_object_handle handle TSR
 
 
 }
+/* }}} */
+/* }}} */
 
-void dom_nnodemap_objects_free_storage(void *object TSRMLS_DC)
+void dom_nnodemap_objects_free_storage(void *object TSRMLS_DC) /* {{{ */
 {
        dom_object *intern = (dom_object *)object;
 
@@ -1147,8 +1155,9 @@ void dom_nnodemap_objects_free_storage(void *object TSRMLS_DC)
 
        efree(object);
 }
+/* }}} */
 
-zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC)
+zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_DC) /* {{{ */
 {
        zend_object_value retval;
        dom_object *intern;
@@ -1170,8 +1179,9 @@ zend_object_value dom_nnodemap_objects_new(zend_class_entry *class_type TSRMLS_D
 
        return retval;
 }
+/* }}} */
 
-void php_dom_create_interator(zval *return_value, int ce_type TSRMLS_DC)
+void php_dom_create_interator(zval *return_value, int ce_type TSRMLS_DC) /* {{{ */
 {
        zend_class_entry *ce;
 
@@ -1183,6 +1193,7 @@ void php_dom_create_interator(zval *return_value, int ce_type TSRMLS_DC)
 
        object_init_ex(return_value, ce);
 }
+/* }}} */
 
 /* {{{ php_dom_create_object */
 PHP_DOM_EXPORT zval *php_dom_create_object(xmlNodePtr obj, int *found, zval *wrapper_in, zval *return_value, dom_object *domobj TSRMLS_DC)
@@ -1304,8 +1315,8 @@ PHP_DOM_EXPORT zval *php_dom_create_object(xmlNodePtr obj, int *found, zval *wra
 }
 /* }}} end php_domobject_new */
 
-
-void php_dom_create_implementation(zval **retval  TSRMLS_DC) {
+void php_dom_create_implementation(zval **retval  TSRMLS_DC)
+{
        object_init_ex(*retval, dom_domimplementation_class_entry);
 }
 
@@ -1345,7 +1356,7 @@ int dom_has_feature(char *feature, char *version)
 }
 /* }}} end dom_has_feature */
 
-xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index)
+xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */
 {
        xmlNodePtr ret = NULL;
 
@@ -1369,8 +1380,7 @@ xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *l
        }
        return ret;
 }
-/* }}} end dom_element_get_elements_by_tag_name_ns_raw */
-
+/* }}} */
 
 /* {{{ void dom_normalize (xmlNodePtr nodep TSRMLS_DC) */
 void dom_normalize (xmlNodePtr nodep TSRMLS_DC)
@@ -1417,7 +1427,6 @@ void dom_normalize (xmlNodePtr nodep TSRMLS_DC)
 }
 /* }}} end dom_normalize */
 
-
 /* {{{ void dom_set_old_ns(xmlDoc *doc, xmlNs *ns) */
 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns) {
        xmlNs *cur;
@@ -1479,7 +1488,7 @@ int dom_check_qname(char *qname, char **localname, char **prefix, int uri_len, i
 
        return 0;
 }
-
+/* }}} */
 
 /*
 http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-DocCrElNS
index 84aa11a25446410b1f4431a574b1a249abcb42e3..4c91aaef99dec899de8090a2300ad585deb8910e 100644 (file)
@@ -154,3 +154,12 @@ PHP_MSHUTDOWN_FUNCTION(dom);
 PHP_MINFO_FUNCTION(dom);
 
 #endif /* PHP_DOM_H */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index a4c21689f6ae0021185c75516ce23c327b9dfdc9..2c427bc01436de07a7ba84dd618ca43b7d584e92 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_processinginstruction_construct, 0, 0, 1)
@@ -113,8 +112,6 @@ int dom_processinginstruction_target_read(dom_object *obj, zval **retval TSRMLS_
 
 /* }}} */
 
-
-
 /* {{{ data    string  
 readonly=no 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-837822393
@@ -178,3 +175,12 @@ int dom_processinginstruction_data_write(dom_object *obj, zval *newval TSRMLS_DC
 /* }}} */
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index bfb67ab15a8311904614388765028c44235e78f5..ed827f824a9621329cb67c9d69b95316d8c0121e 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /* {{{ arginfo */
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_string_extend_find_offset16, 0, 0, 1)
@@ -76,4 +75,16 @@ PHP_FUNCTION(dom_string_extend_find_offset32)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_string_extend_find_offset32 */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index cb619812896256948219cc532725e5827b221635..214553abd694734a07b6ccaea1e0736a93261ca3 100644 (file)
@@ -141,7 +141,6 @@ int dom_text_whole_text_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
 /* {{{ proto DOMText dom_text_split_text(int offset) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D
 Since: 
@@ -204,7 +203,6 @@ PHP_FUNCTION(dom_text_split_text)
 }
 /* }}} end dom_text_split_text */
 
-
 /* {{{ proto boolean dom_text_is_whitespace_in_element_content() U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent
 Since: DOM Level 3
@@ -228,7 +226,6 @@ PHP_FUNCTION(dom_text_is_whitespace_in_element_content)
 }
 /* }}} end dom_text_is_whitespace_in_element_content */
 
-
 /* {{{ proto DOMText dom_text_replace_whole_text(string content) U
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText
 Since: DOM Level 3
@@ -238,4 +235,14 @@ PHP_FUNCTION(dom_text_replace_whole_text)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_text_replace_whole_text */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index ac223f260d3d8aa8090e3a76ece39b5155bff136..b5f6b9c6cd3cc9675a5fa3ca93c89368d8189ddb 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /*
 * class domtypeinfo 
 *
@@ -55,8 +54,6 @@ int dom_typeinfo_type_name_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
-
-
 /* {{{ type_namespace  string  
 readonly=yes 
 URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#TypeInfo-typeNamespace
@@ -71,4 +68,15 @@ int dom_typeinfo_type_namespace_read(dom_object *obj, zval **retval TSRMLS_DC)
 
 /* }}} */
 
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 80aa80a2be5bf47890f1a121fb1103f784b8bc6f..ebea3fe2b09ae9a199e5d4fc9b1c26a099aef021 100644 (file)
@@ -27,7 +27,6 @@
 #if HAVE_LIBXML && HAVE_DOM
 #include "php_dom.h"
 
-
 /*
 * class domuserdatahandler 
 *
@@ -52,4 +51,16 @@ PHP_FUNCTION(dom_userdatahandler_handle)
  DOM_NOT_IMPLEMENTED();
 }
 /* }}} end dom_userdatahandler_handle */
+
+/* }}} */
+
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 05afde91dadf5015bc86dc4d36902fbf8add65b5..ce2321eca2f1ccdbfccdddaab8229808b1381f3c 100644 (file)
@@ -95,3 +95,12 @@ PHP_DOM_EXPORT xmlNodePtr dom_object_get_node(dom_object *obj);
        DOM_GET_OBJ(__ptr, __id, __prtype, __intern);
 
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */
index 0f363eeb6d848a530144811cbfcc83d4116ac1a0..63f48f69d39d22a748c6a085f5c0e79379511de2 100644 (file)
@@ -75,7 +75,7 @@ const zend_function_entry php_dom_xpath_class_functions[] = {
 };
 
 
-static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int type)
+static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int type) /* {{{ */
 {
        zval **args;
        zval *retval;
@@ -256,16 +256,19 @@ static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs,
                efree(fci.params);
        }
 }
+/* }}} */
 
-static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void dom_xpath_ext_function_string_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */
 {
        dom_xpath_ext_function_php(ctxt, nargs, 1);
 }
+/* }}} */
 
-static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs)
+static void dom_xpath_ext_function_object_php(xmlXPathParserContextPtr ctxt, int nargs) /* {{{ */
 {
        dom_xpath_ext_function_php(ctxt, nargs, 2);
 }
+/* }}} */
 
 /* {{{ proto void DOMXPath::__construct(DOMDocument doc) U */
 PHP_METHOD(domxpath, __construct)
@@ -334,6 +337,7 @@ int dom_xpath_document_read(dom_object *obj, zval **retval TSRMLS_DC)
        }
        return SUCCESS;
 }
+/* }}} */
 
 /* {{{ proto boolean dom_xpath_register_ns(string prefix, string uri) U */
 PHP_FUNCTION(dom_xpath_register_ns)
@@ -361,8 +365,9 @@ PHP_FUNCTION(dom_xpath_register_ns)
        }
        RETURN_TRUE;
 }
+/* }}} */
 
-static void dom_xpath_iter(zval *baseobj, dom_object *intern)
+static void dom_xpath_iter(zval *baseobj, dom_object *intern) /* {{{ */
 {
        dom_nnodemap_object *mapptr;
 
@@ -371,8 +376,10 @@ static void dom_xpath_iter(zval *baseobj, dom_object *intern)
        mapptr->nodetype = DOM_NODESET;
 
 }
+/* }}} */
 
-static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) {
+static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) /* {{{ */
+{
        zval *id, *retval, *context = NULL;
        xmlXPathContextPtr ctxp;
        xmlNodePtr nodep = NULL;
@@ -513,6 +520,7 @@ static void php_xpath_eval(INTERNAL_FUNCTION_PARAMETERS, int type) {
 
        xmlXPathFreeObject(xpathobjp);
 }
+/* }}} */
 
 /* {{{ proto DOMNodeList dom_xpath_query(string expr [,DOMNode context]) U */
 PHP_FUNCTION(dom_xpath_query)
@@ -572,5 +580,13 @@ PHP_FUNCTION(dom_xpath_register_php_functions)
 
 #endif /* LIBXML_XPATH_ENABLED */
 
-/* }}} */
 #endif
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */