php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
xpath_callbacks.h File Reference
#include <libxml/xpathInternals.h>
#include "xml_common.h"

Go to the source code of this file.

Data Structures

struct  php_dom_xpath_callback_ns
 
struct  php_dom_xpath_callbacks
 

Typedefs

typedef void(* php_dom_xpath_callbacks_proxy_factory) (xmlNodePtr node, zval *proxy, dom_object *intern, xmlXPathParserContextPtr ctxt)
 
typedef void(* php_dom_xpath_callbacks_register_func_ctx) (void *ctxt, const zend_string *ns, const zend_string *name)
 

Enumerations

enum  php_dom_register_functions_mode { PHP_DOM_REG_FUNC_MODE_NONE = 0 , PHP_DOM_REG_FUNC_MODE_ALL , PHP_DOM_REG_FUNC_MODE_SET }
 
enum  php_dom_xpath_nodeset_evaluation_mode { PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING , PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET }
 
enum  php_dom_xpath_callback_name_validation { PHP_DOM_XPATH_CALLBACK_NAME_VALIDATE_NULLS , PHP_DOM_XPATH_CALLBACK_NAME_VALIDATE_NCNAME }
 

Functions

PHP_DOM_EXPORT void php_dom_xpath_callbacks_ctor (php_dom_xpath_callbacks *registry)
 
PHP_DOM_EXPORT void php_dom_xpath_callbacks_dtor (php_dom_xpath_callbacks *registry)
 
PHP_DOM_EXPORT void php_dom_xpath_callbacks_clean_node_list (php_dom_xpath_callbacks *registry)
 
PHP_DOM_EXPORT void php_dom_xpath_callbacks_clean_argument_stack (xmlXPathParserContextPtr ctxt, uint32_t num_args)
 
PHP_DOM_EXPORT void php_dom_xpath_callbacks_get_gc (php_dom_xpath_callbacks *registry, zend_get_gc_buffer *gc_buffer)
 
PHP_DOM_EXPORT HashTablephp_dom_xpath_callbacks_get_gc_for_whole_object (php_dom_xpath_callbacks *registry, zend_object *object, zval **table, int *n)
 
PHP_DOM_EXPORT void php_dom_xpath_callbacks_delayed_lib_registration (const php_dom_xpath_callbacks *registry, void *ctxt, php_dom_xpath_callbacks_register_func_ctx register_func)
 
PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_update_method_handler (php_dom_xpath_callbacks *registry, xmlXPathContextPtr ctxt, zend_string *ns, zend_string *name, const HashTable *callable_ht, php_dom_xpath_callback_name_validation name_validation, php_dom_xpath_callbacks_register_func_ctx register_func)
 
PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_update_single_method_handler (php_dom_xpath_callbacks *registry, xmlXPathContextPtr ctxt, zend_string *ns, zend_string *name, const zend_fcall_info_cache *fcc, php_dom_xpath_callback_name_validation name_validation, php_dom_xpath_callbacks_register_func_ctx register_func)
 
PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_php_ns (php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_dom_xpath_nodeset_evaluation_mode evaluation_mode, dom_object *intern, php_dom_xpath_callbacks_proxy_factory proxy_factory)
 
PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_custom_ns (php_dom_xpath_callbacks *xpath_callbacks, xmlXPathParserContextPtr ctxt, int num_args, php_dom_xpath_nodeset_evaluation_mode evaluation_mode, dom_object *intern, php_dom_xpath_callbacks_proxy_factory proxy_factory)
 

Typedef Documentation

◆ php_dom_xpath_callbacks_proxy_factory

typedef void(* php_dom_xpath_callbacks_proxy_factory) (xmlNodePtr node, zval *proxy, dom_object *intern, xmlXPathParserContextPtr ctxt)

Definition at line 34 of file xpath_callbacks.h.

◆ php_dom_xpath_callbacks_register_func_ctx

typedef void(* php_dom_xpath_callbacks_register_func_ctx) (void *ctxt, const zend_string *ns, const zend_string *name)

Definition at line 35 of file xpath_callbacks.h.

Enumeration Type Documentation

◆ php_dom_register_functions_mode

Enumerator
PHP_DOM_REG_FUNC_MODE_NONE 
PHP_DOM_REG_FUNC_MODE_ALL 
PHP_DOM_REG_FUNC_MODE_SET 

Definition at line 23 of file xpath_callbacks.h.

◆ php_dom_xpath_callback_name_validation

Enumerator
PHP_DOM_XPATH_CALLBACK_NAME_VALIDATE_NULLS 
PHP_DOM_XPATH_CALLBACK_NAME_VALIDATE_NCNAME 

Definition at line 48 of file xpath_callbacks.h.

◆ php_dom_xpath_nodeset_evaluation_mode

Enumerator
PHP_DOM_XPATH_EVALUATE_NODESET_TO_STRING 
PHP_DOM_XPATH_EVALUATE_NODESET_TO_NODESET 

Definition at line 29 of file xpath_callbacks.h.

Function Documentation

◆ php_dom_xpath_callbacks_call_custom_ns()

PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_custom_ns ( php_dom_xpath_callbacks * xpath_callbacks,
xmlXPathParserContextPtr ctxt,
int num_args,
php_dom_xpath_nodeset_evaluation_mode evaluation_mode,
dom_object * intern,
php_dom_xpath_callbacks_proxy_factory proxy_factory )

◆ php_dom_xpath_callbacks_call_php_ns()

PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_call_php_ns ( php_dom_xpath_callbacks * xpath_callbacks,
xmlXPathParserContextPtr ctxt,
int num_args,
php_dom_xpath_nodeset_evaluation_mode evaluation_mode,
dom_object * intern,
php_dom_xpath_callbacks_proxy_factory proxy_factory )

◆ php_dom_xpath_callbacks_clean_argument_stack()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_clean_argument_stack ( xmlXPathParserContextPtr ctxt,
uint32_t num_args )

◆ php_dom_xpath_callbacks_clean_node_list()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_clean_node_list ( php_dom_xpath_callbacks * registry)

◆ php_dom_xpath_callbacks_ctor()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_ctor ( php_dom_xpath_callbacks * registry)

◆ php_dom_xpath_callbacks_delayed_lib_registration()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_delayed_lib_registration ( const php_dom_xpath_callbacks * registry,
void * ctxt,
php_dom_xpath_callbacks_register_func_ctx register_func )

◆ php_dom_xpath_callbacks_dtor()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_dtor ( php_dom_xpath_callbacks * registry)

◆ php_dom_xpath_callbacks_get_gc()

PHP_DOM_EXPORT void php_dom_xpath_callbacks_get_gc ( php_dom_xpath_callbacks * registry,
zend_get_gc_buffer * gc_buffer )

◆ php_dom_xpath_callbacks_get_gc_for_whole_object()

PHP_DOM_EXPORT HashTable * php_dom_xpath_callbacks_get_gc_for_whole_object ( php_dom_xpath_callbacks * registry,
zend_object * object,
zval ** table,
int * n )

◆ php_dom_xpath_callbacks_update_method_handler()

PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_update_method_handler ( php_dom_xpath_callbacks * registry,
xmlXPathContextPtr ctxt,
zend_string * ns,
zend_string * name,
const HashTable * callable_ht,
php_dom_xpath_callback_name_validation name_validation,
php_dom_xpath_callbacks_register_func_ctx register_func )

◆ php_dom_xpath_callbacks_update_single_method_handler()

PHP_DOM_EXPORT zend_result php_dom_xpath_callbacks_update_single_method_handler ( php_dom_xpath_callbacks * registry,
xmlXPathContextPtr ctxt,
zend_string * ns,
zend_string * name,
const zend_fcall_info_cache * fcc,
php_dom_xpath_callback_name_validation name_validation,
php_dom_xpath_callbacks_register_func_ctx register_func )