php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_dom.h File Reference
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxml/uri.h>
#include <libxml/xmlerror.h>
#include <libxml/xinclude.h>
#include <libxml/hash.h>
#include <libxml/c14n.h>
#include "xml_common.h"
#include "ext/libxml/php_libxml.h"
#include "xpath_callbacks.h"
#include "zend_exceptions.h"
#include "dom_ce.h"
#include "domexception.h"

Go to the source code of this file.

Data Structures

struct  dom_xpath_object
 
struct  dom_nnodemap_object
 
struct  php_dom_iterator
 
struct  dom_object_namespace_node
 

Macros

#define phpext_dom_ptr   &dom_module_entry
 
#define DOM_API_VERSION   "20031129"
 
#define DOM_NODESET   XML_XINCLUDE_START
 
#define Z_XPATHOBJ_P(zv)
 
#define DOM_HTML_NO_DEFAULT_NS   (1U << 31)
 
#define DOM_DOCUMENT_MALFORMED   ((xmlDocPtr) -1)
 
#define DOM_GET_INTERN(__id, __intern)
 
#define DOM_GET_THIS_INTERN(__intern)
 
#define DOM_GET_OBJ(__ptr, __id, __prtype, __intern)
 
#define PHP_DOM_DEPRECATED_PROPERTY(message)
 
#define DOM_G(v)
 

Typedefs

typedef struct dom_xpath_object dom_xpath_object
 
typedef struct dom_nnodemap_object dom_nnodemap_object
 
typedef enum dom_iterator_type dom_iterator_type
 

Enumerations

enum  dom_iterator_type { DOM_NODELIST , DOM_NAMEDNODEMAP , DOM_DTD_NAMEDNODEMAP , DOM_HTMLCOLLECTION }
 
enum  dom_load_mode { DOM_LOAD_STRING = 0 , DOM_LOAD_FILE = 1 }
 

Functions

void dom_objects_free_storage (zend_object *object)
 
dom_doc_propsptr dom_get_doc_props (php_libxml_ref_obj *document)
 
libxml_doc_props const * dom_get_doc_props_read_only (const php_libxml_ref_obj *document)
 
zend_objectdom_objects_new (zend_class_entry *class_type)
 
zend_objectdom_nnodemap_objects_new (zend_class_entry *class_type)
 
bool dom_get_strict_error (php_libxml_ref_obj *document)
 
void node_list_unlink (xmlNodePtr node)
 
int dom_check_qname (char *qname, char **localname, char **prefix, int uri_len, int name_len)
 
xmlNsPtr dom_get_ns (xmlNodePtr node, char *uri, int *errorcode, char *prefix)
 
xmlNsPtr dom_get_ns_unchecked (xmlNodePtr nodep, char *uri, char *prefix)
 
void dom_reconcile_ns (xmlDocPtr doc, xmlNodePtr nodep)
 
void dom_reconcile_ns_list (xmlDocPtr doc, xmlNodePtr nodep, xmlNodePtr last)
 
xmlNsPtr dom_get_nsdecl (xmlNode *node, xmlChar *localName)
 
void php_dom_normalize_legacy (xmlNodePtr nodep)
 
void php_dom_normalize_modern (xmlNodePtr nodep)
 
xmlNode * dom_get_elements_by_tag_name_ns_raw (xmlNodePtr basep, xmlNodePtr nodep, xmlChar *ns, xmlChar *local, xmlChar *local_lower, zend_long *cur, zend_long index)
 
void php_dom_create_implementation (zval *retval, bool modern)
 
int dom_hierarchy (xmlNodePtr parent, xmlNodePtr child)
 
bool dom_has_feature (zend_string *feature, zend_string *version)
 
int dom_node_is_read_only (const xmlNode *node)
 
bool dom_node_children_valid (const xmlNode *node)
 
void php_dom_create_iterator (zval *return_value, dom_iterator_type iterator_type, bool modern)
 
void dom_namednode_iter (dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, const char *local, size_t local_len, const char *ns, size_t ns_len)
 
xmlNodePtr create_notation (const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
 
xmlNode * php_dom_libxml_hash_iter (dom_nnodemap_object *objmap, int index)
 
zend_object_iteratorphp_dom_get_iterator (zend_class_entry *ce, zval *object, int by_ref)
 
void dom_set_doc_classmap (php_libxml_ref_obj *document, zend_class_entry *basece, zend_class_entry *ce)
 
xmlNodePtr php_dom_create_fake_namespace_decl (xmlNodePtr nodep, xmlNsPtr original, zval *return_value, dom_object *parent_intern)
 
void php_dom_get_content_into_zval (const xmlNode *nodep, zval *target, bool default_is_null)
 
zend_stringdom_node_concatenated_name_helper (size_t name_len, const char *name, size_t prefix_len, const char *prefix)
 
zend_stringdom_node_get_node_name_attribute_or_element (const xmlNode *nodep, bool uppercase)
 
bool php_dom_is_node_connected (const xmlNode *node)
 
bool php_dom_adopt_node (xmlNodePtr nodep, dom_object *dom_object_new_document, xmlDocPtr new_document)
 
xmlNsPtr dom_get_ns_resolve_prefix_conflict (xmlNodePtr tree, const char *uri)
 
int dom_validate_and_extract (const zend_string *namespace, const zend_string *qname, xmlChar **localName, xmlChar **prefix)
 
bool dom_match_qualified_name_according_to_spec (const xmlChar *qname, const xmlNode *nodep)
 
bool php_dom_has_sibling_following_node (xmlNodePtr node, xmlElementType type)
 
bool php_dom_has_sibling_preceding_node (xmlNodePtr node, xmlElementType type)
 
bool php_dom_has_child_of_type (xmlNodePtr node, xmlElementType type)
 
void php_dom_update_document_after_clone (dom_object *original, xmlNodePtr original_node, dom_object *clone, xmlNodePtr cloned_node)
 
xmlAttrPtr php_dom_get_attribute_node (xmlNodePtr elem, const xmlChar *name, size_t name_len)
 
xmlChar * php_dom_libxml_fix_file_path (xmlChar *path)
 
void dom_document_convert_to_modern (php_libxml_ref_obj *document, xmlDocPtr lxml_doc)
 
dom_objectphp_dom_instantiate_object_helper (zval *return_value, zend_class_entry *ce, xmlNodePtr obj, dom_object *parent)
 
xmlDocPtr php_dom_create_html_doc (void)
 
xmlEntityPtr dom_entity_reference_fetch_and_sync_declaration (xmlNodePtr reference)
 
void dom_set_xml_class (php_libxml_ref_obj *document)
 
const char * dom_locate_a_namespace (const xmlNode *node, const zend_string *prefix)
 
void dom_mark_namespaces_as_attributes_too (php_dom_libxml_ns_mapper *ns_mapper, xmlDocPtr doc)
 
bool dom_compare_value (const xmlAttr *attr, const xmlChar *value)
 
void dom_attr_value_will_change (dom_object *obj, xmlAttrPtr attrp)
 
bool php_dom_create_nullable_object (xmlNodePtr obj, zval *return_value, dom_object *domobj)
 
xmlNodePtr dom_clone_node (php_dom_libxml_ns_mapper *ns_mapper, xmlNodePtr node, xmlDocPtr doc, bool recursive)
 
void dom_set_document_ref_pointers (xmlNodePtr node, php_libxml_ref_obj *document)
 
void dom_set_document_ref_pointers_attr (xmlAttrPtr attr, php_libxml_ref_obj *document)
 
xmlDocPtr dom_document_parser (zval *id, dom_load_mode mode, const char *source, size_t source_len, size_t options, xmlCharEncodingHandlerPtr encoding)
 
void dom_parent_node_prepend (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_parent_node_append (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_parent_node_after (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_parent_node_before (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_parent_node_replace_children (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_child_node_remove (dom_object *context)
 
void dom_child_replace_with (dom_object *context, zval *nodes, uint32_t nodesc)
 
void dom_remove_all_children (xmlNodePtr nodep)
 
bool php_dom_fragment_insertion_hierarchy_check_pre_insertion (xmlNodePtr parent, xmlNodePtr node, xmlNodePtr child)
 
bool php_dom_fragment_insertion_hierarchy_check_replace (xmlNodePtr parent, xmlNodePtr node, xmlNodePtr child)
 
void php_dom_node_append (php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent)
 
bool php_dom_pre_insert (php_libxml_ref_obj *document, xmlNodePtr node, xmlNodePtr parent, xmlNodePtr insertion_point)
 
bool php_dom_pre_insert_is_parent_invalid (xmlNodePtr parent)
 
void dom_parent_node_query_selector (xmlNodePtr thisp, dom_object *intern, zval *return_value, const zend_string *selectors_str)
 
void dom_parent_node_query_selector_all (xmlNodePtr thisp, dom_object *intern, zval *return_value, const zend_string *selectors_str)
 
void dom_element_matches (xmlNodePtr thisp, dom_object *intern, zval *return_value, const zend_string *selectors_str)
 
void dom_element_closest (xmlNodePtr thisp, dom_object *intern, zval *return_value, const zend_string *selectors_str)
 
xmlNodePtr php_dom_named_node_map_get_named_item (dom_nnodemap_object *objmap, const zend_string *named, bool may_transform)
 
void php_dom_named_node_map_get_named_item_into_zval (dom_nnodemap_object *objmap, const zend_string *named, zval *return_value)
 
xmlNodePtr php_dom_named_node_map_get_item (dom_nnodemap_object *objmap, zend_long index)
 
void php_dom_named_node_map_get_item_into_zval (dom_nnodemap_object *objmap, zend_long index, zval *return_value)
 
int php_dom_get_namednodemap_length (dom_object *obj)
 
xmlNodePtr dom_nodelist_iter_start_first_child (xmlNodePtr nodep)
 
 PHP_MINIT_FUNCTION (dom)
 
 PHP_MSHUTDOWN_FUNCTION (dom)
 
 PHP_MINFO_FUNCTION (dom)
 

Variables

zend_module_entry dom_module_entry
 
bool suppress_warnings
 

Macro Definition Documentation

◆ DOM_API_VERSION

#define DOM_API_VERSION   "20031129"

Definition at line 63 of file php_dom.h.

◆ DOM_DOCUMENT_MALFORMED

#define DOM_DOCUMENT_MALFORMED   ((xmlDocPtr) -1)

Definition at line 196 of file php_dom.h.

◆ DOM_G

#define DOM_G ( v)
Value:
uint32_t v
Definition cdf.c:1237
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
Definition zend_API.h:274

Definition at line 324 of file php_dom.h.

◆ DOM_GET_INTERN

#define DOM_GET_INTERN ( __id,
__intern )
Value:
{ \
__intern = Z_DOMOBJ_P(__id); \
if (UNEXPECTED(__intern->ptr == NULL)) { \
zend_throw_error(NULL, "Couldn't fetch %s", ZSTR_VAL(__intern->std.ce->name));\
RETURN_THROWS();\
} \
}
#define NULL
Definition gdcache.h:45
#define Z_DOMOBJ_P(zv)
Definition xml_common.h:36
#define UNEXPECTED(condition)
#define ZSTR_VAL(zstr)
Definition zend_string.h:68

Definition at line 227 of file php_dom.h.

◆ DOM_GET_OBJ

#define DOM_GET_OBJ ( __ptr,
__id,
__prtype,
__intern )
Value:
{ \
DOM_GET_INTERN(__id, __intern); \
__ptr = (__prtype)((php_libxml_node_ptr *)__intern->ptr)->node; \
}

Definition at line 237 of file php_dom.h.

◆ DOM_GET_THIS_INTERN

#define DOM_GET_THIS_INTERN ( __intern)
Value:
#define DOM_GET_INTERN(__id, __intern)
Definition php_dom.h:227
#define ZEND_THIS
Definition zend_API.h:523

Definition at line 235 of file php_dom.h.

◆ DOM_HTML_NO_DEFAULT_NS

#define DOM_HTML_NO_DEFAULT_NS   (1U << 31)

Definition at line 130 of file php_dom.h.

◆ DOM_NODESET

#define DOM_NODESET   XML_XINCLUDE_START

Definition at line 65 of file php_dom.h.

◆ PHP_DOM_DEPRECATED_PROPERTY

#define PHP_DOM_DEPRECATED_PROPERTY ( message)
Value:
do { \
zend_error(E_DEPRECATED, message); \
if (UNEXPECTED(EG(exception))) { \
return FAILURE; \
} \
} \
} while (0)
bool exception
Definition assert.c:30
#define DOM_G(v)
Definition php_dom.h:324
bool suppress_warnings
Definition php_dom.h:319
#define E_DEPRECATED
Definition zend_errors.h:37
#define EG(v)
#define EXPECTED(condition)
@ FAILURE
Definition zend_types.h:61

Definition at line 309 of file php_dom.h.

◆ phpext_dom_ptr

#define phpext_dom_ptr   &dom_module_entry

Definition at line 23 of file php_dom.h.

◆ Z_XPATHOBJ_P

#define Z_XPATHOBJ_P ( zv)
Value:
php_xpath_obj_from_obj(Z_OBJ_P((zv)))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 78 of file php_dom.h.

Typedef Documentation

◆ dom_iterator_type

◆ dom_nnodemap_object

typedef struct dom_nnodemap_object dom_nnodemap_object

◆ dom_xpath_object

typedef struct dom_xpath_object dom_xpath_object

Enumeration Type Documentation

◆ dom_iterator_type

Enumerator
DOM_NODELIST 
DOM_NAMEDNODEMAP 
DOM_DTD_NAMEDNODEMAP 
DOM_HTMLCOLLECTION 

Definition at line 114 of file php_dom.h.

◆ dom_load_mode

Enumerator
DOM_LOAD_STRING 
DOM_LOAD_FILE 

Definition at line 191 of file php_dom.h.

Function Documentation

◆ create_notation()

xmlNodePtr create_notation ( const xmlChar * name,
const xmlChar * ExternalID,
const xmlChar * SystemID )

◆ dom_attr_value_will_change()

void dom_attr_value_will_change ( dom_object * obj,
xmlAttrPtr attrp )

◆ dom_check_qname()

int dom_check_qname ( char * qname,
char ** localname,
char ** prefix,
int uri_len,
int name_len )

◆ dom_child_node_remove()

void dom_child_node_remove ( dom_object * context)

◆ dom_child_replace_with()

void dom_child_replace_with ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_clone_node()

xmlNodePtr dom_clone_node ( php_dom_libxml_ns_mapper * ns_mapper,
xmlNodePtr node,
xmlDocPtr doc,
bool recursive )

◆ dom_compare_value()

bool dom_compare_value ( const xmlAttr * attr,
const xmlChar * value )

◆ dom_document_convert_to_modern()

void dom_document_convert_to_modern ( php_libxml_ref_obj * document,
xmlDocPtr lxml_doc )

◆ dom_document_parser()

xmlDocPtr dom_document_parser ( zval * id,
dom_load_mode mode,
const char * source,
size_t source_len,
size_t options,
xmlCharEncodingHandlerPtr encoding )

◆ dom_element_closest()

void dom_element_closest ( xmlNodePtr thisp,
dom_object * intern,
zval * return_value,
const zend_string * selectors_str )

◆ dom_element_matches()

void dom_element_matches ( xmlNodePtr thisp,
dom_object * intern,
zval * return_value,
const zend_string * selectors_str )

◆ dom_entity_reference_fetch_and_sync_declaration()

xmlEntityPtr dom_entity_reference_fetch_and_sync_declaration ( xmlNodePtr reference)

◆ dom_get_doc_props()

dom_doc_propsptr dom_get_doc_props ( php_libxml_ref_obj * document)

◆ dom_get_doc_props_read_only()

libxml_doc_props const * dom_get_doc_props_read_only ( const php_libxml_ref_obj * document)

◆ dom_get_elements_by_tag_name_ns_raw()

xmlNode * dom_get_elements_by_tag_name_ns_raw ( xmlNodePtr basep,
xmlNodePtr nodep,
xmlChar * ns,
xmlChar * local,
xmlChar * local_lower,
zend_long * cur,
zend_long index )

◆ dom_get_ns()

xmlNsPtr dom_get_ns ( xmlNodePtr node,
char * uri,
int * errorcode,
char * prefix )

◆ dom_get_ns_resolve_prefix_conflict()

xmlNsPtr dom_get_ns_resolve_prefix_conflict ( xmlNodePtr tree,
const char * uri )

◆ dom_get_ns_unchecked()

xmlNsPtr dom_get_ns_unchecked ( xmlNodePtr nodep,
char * uri,
char * prefix )

◆ dom_get_nsdecl()

xmlNsPtr dom_get_nsdecl ( xmlNode * node,
xmlChar * localName )

◆ dom_get_strict_error()

bool dom_get_strict_error ( php_libxml_ref_obj * document)

◆ dom_has_feature()

bool dom_has_feature ( zend_string * feature,
zend_string * version )

◆ dom_hierarchy()

int dom_hierarchy ( xmlNodePtr parent,
xmlNodePtr child )

◆ dom_locate_a_namespace()

const char * dom_locate_a_namespace ( const xmlNode * node,
const zend_string * prefix )

◆ dom_mark_namespaces_as_attributes_too()

void dom_mark_namespaces_as_attributes_too ( php_dom_libxml_ns_mapper * ns_mapper,
xmlDocPtr doc )

◆ dom_match_qualified_name_according_to_spec()

bool dom_match_qualified_name_according_to_spec ( const xmlChar * qname,
const xmlNode * nodep )

◆ dom_namednode_iter()

void dom_namednode_iter ( dom_object * basenode,
int ntype,
dom_object * intern,
xmlHashTablePtr ht,
const char * local,
size_t local_len,
const char * ns,
size_t ns_len )

◆ dom_nnodemap_objects_new()

zend_object * dom_nnodemap_objects_new ( zend_class_entry * class_type)

◆ dom_node_children_valid()

bool dom_node_children_valid ( const xmlNode * node)

◆ dom_node_concatenated_name_helper()

zend_string * dom_node_concatenated_name_helper ( size_t name_len,
const char * name,
size_t prefix_len,
const char * prefix )

◆ dom_node_get_node_name_attribute_or_element()

zend_string * dom_node_get_node_name_attribute_or_element ( const xmlNode * nodep,
bool uppercase )

◆ dom_node_is_read_only()

int dom_node_is_read_only ( const xmlNode * node)

◆ dom_nodelist_iter_start_first_child()

xmlNodePtr dom_nodelist_iter_start_first_child ( xmlNodePtr nodep)

◆ dom_objects_free_storage()

void dom_objects_free_storage ( zend_object * object)

◆ dom_objects_new()

zend_object * dom_objects_new ( zend_class_entry * class_type)

◆ dom_parent_node_after()

void dom_parent_node_after ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_parent_node_append()

void dom_parent_node_append ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_parent_node_before()

void dom_parent_node_before ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_parent_node_prepend()

void dom_parent_node_prepend ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_parent_node_query_selector()

void dom_parent_node_query_selector ( xmlNodePtr thisp,
dom_object * intern,
zval * return_value,
const zend_string * selectors_str )

◆ dom_parent_node_query_selector_all()

void dom_parent_node_query_selector_all ( xmlNodePtr thisp,
dom_object * intern,
zval * return_value,
const zend_string * selectors_str )

◆ dom_parent_node_replace_children()

void dom_parent_node_replace_children ( dom_object * context,
zval * nodes,
uint32_t nodesc )

◆ dom_reconcile_ns()

void dom_reconcile_ns ( xmlDocPtr doc,
xmlNodePtr nodep )

◆ dom_reconcile_ns_list()

void dom_reconcile_ns_list ( xmlDocPtr doc,
xmlNodePtr nodep,
xmlNodePtr last )

◆ dom_remove_all_children()

void dom_remove_all_children ( xmlNodePtr nodep)

◆ dom_set_doc_classmap()

void dom_set_doc_classmap ( php_libxml_ref_obj * document,
zend_class_entry * basece,
zend_class_entry * ce )

◆ dom_set_document_ref_pointers()

void dom_set_document_ref_pointers ( xmlNodePtr node,
php_libxml_ref_obj * document )

◆ dom_set_document_ref_pointers_attr()

void dom_set_document_ref_pointers_attr ( xmlAttrPtr attr,
php_libxml_ref_obj * document )

◆ dom_set_xml_class()

void dom_set_xml_class ( php_libxml_ref_obj * document)

◆ dom_validate_and_extract()

int dom_validate_and_extract ( const zend_string * namespace,
const zend_string * qname,
xmlChar ** localName,
xmlChar ** prefix )

◆ node_list_unlink()

void node_list_unlink ( xmlNodePtr node)

◆ php_dom_adopt_node()

bool php_dom_adopt_node ( xmlNodePtr nodep,
dom_object * dom_object_new_document,
xmlDocPtr new_document )

◆ php_dom_create_fake_namespace_decl()

xmlNodePtr php_dom_create_fake_namespace_decl ( xmlNodePtr nodep,
xmlNsPtr original,
zval * return_value,
dom_object * parent_intern )

◆ php_dom_create_html_doc()

xmlDocPtr php_dom_create_html_doc ( void )

◆ php_dom_create_implementation()

void php_dom_create_implementation ( zval * retval,
bool modern )

◆ php_dom_create_iterator()

void php_dom_create_iterator ( zval * return_value,
dom_iterator_type iterator_type,
bool modern )

◆ php_dom_create_nullable_object()

bool php_dom_create_nullable_object ( xmlNodePtr obj,
zval * return_value,
dom_object * domobj )

◆ php_dom_fragment_insertion_hierarchy_check_pre_insertion()

bool php_dom_fragment_insertion_hierarchy_check_pre_insertion ( xmlNodePtr parent,
xmlNodePtr node,
xmlNodePtr child )

◆ php_dom_fragment_insertion_hierarchy_check_replace()

bool php_dom_fragment_insertion_hierarchy_check_replace ( xmlNodePtr parent,
xmlNodePtr node,
xmlNodePtr child )

◆ php_dom_get_attribute_node()

xmlAttrPtr php_dom_get_attribute_node ( xmlNodePtr elem,
const xmlChar * name,
size_t name_len )

◆ php_dom_get_content_into_zval()

void php_dom_get_content_into_zval ( const xmlNode * nodep,
zval * target,
bool default_is_null )

◆ php_dom_get_iterator()

zend_object_iterator * php_dom_get_iterator ( zend_class_entry * ce,
zval * object,
int by_ref )

◆ php_dom_get_namednodemap_length()

int php_dom_get_namednodemap_length ( dom_object * obj)

◆ php_dom_has_child_of_type()

bool php_dom_has_child_of_type ( xmlNodePtr node,
xmlElementType type )

◆ php_dom_has_sibling_following_node()

bool php_dom_has_sibling_following_node ( xmlNodePtr node,
xmlElementType type )

◆ php_dom_has_sibling_preceding_node()

bool php_dom_has_sibling_preceding_node ( xmlNodePtr node,
xmlElementType type )

◆ php_dom_instantiate_object_helper()

dom_object * php_dom_instantiate_object_helper ( zval * return_value,
zend_class_entry * ce,
xmlNodePtr obj,
dom_object * parent )

◆ php_dom_is_node_connected()

bool php_dom_is_node_connected ( const xmlNode * node)

◆ php_dom_libxml_fix_file_path()

xmlChar * php_dom_libxml_fix_file_path ( xmlChar * path)

◆ php_dom_libxml_hash_iter()

xmlNode * php_dom_libxml_hash_iter ( dom_nnodemap_object * objmap,
int index )

◆ php_dom_named_node_map_get_item()

xmlNodePtr php_dom_named_node_map_get_item ( dom_nnodemap_object * objmap,
zend_long index )

◆ php_dom_named_node_map_get_item_into_zval()

void php_dom_named_node_map_get_item_into_zval ( dom_nnodemap_object * objmap,
zend_long index,
zval * return_value )

◆ php_dom_named_node_map_get_named_item()

xmlNodePtr php_dom_named_node_map_get_named_item ( dom_nnodemap_object * objmap,
const zend_string * named,
bool may_transform )

◆ php_dom_named_node_map_get_named_item_into_zval()

void php_dom_named_node_map_get_named_item_into_zval ( dom_nnodemap_object * objmap,
const zend_string * named,
zval * return_value )

◆ php_dom_node_append()

void php_dom_node_append ( php_libxml_ref_obj * document,
xmlNodePtr node,
xmlNodePtr parent )

◆ php_dom_normalize_legacy()

void php_dom_normalize_legacy ( xmlNodePtr nodep)

◆ php_dom_normalize_modern()

void php_dom_normalize_modern ( xmlNodePtr nodep)

◆ php_dom_pre_insert()

bool php_dom_pre_insert ( php_libxml_ref_obj * document,
xmlNodePtr node,
xmlNodePtr parent,
xmlNodePtr insertion_point )

◆ php_dom_pre_insert_is_parent_invalid()

bool php_dom_pre_insert_is_parent_invalid ( xmlNodePtr parent)

◆ php_dom_update_document_after_clone()

void php_dom_update_document_after_clone ( dom_object * original,
xmlNodePtr original_node,
dom_object * clone,
xmlNodePtr cloned_node )

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( dom )

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( dom )

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( dom )

Variable Documentation

◆ dom_module_entry

zend_module_entry dom_module_entry
extern

◆ suppress_warnings

bool suppress_warnings

Definition at line 319 of file php_dom.h.