php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
attr.h File Reference

Go to the source code of this file.

Data Structures

struct  lxb_dom_attr_data_t
 
struct  lxb_dom_attr
 

Functions

LXB_API lxb_dom_attr_tlxb_dom_attr_interface_create (lxb_dom_document_t *document)
 
LXB_API lxb_dom_attr_tlxb_dom_attr_interface_clone (lxb_dom_document_t *document, const lxb_dom_attr_t *attr)
 
LXB_API lxb_dom_attr_tlxb_dom_attr_interface_destroy (lxb_dom_attr_t *attr)
 
LXB_API lxb_status_t lxb_dom_attr_set_name (lxb_dom_attr_t *attr, const lxb_char_t *local_name, size_t local_name_len, bool to_lowercase)
 
LXB_API lxb_status_t lxb_dom_attr_set_value (lxb_dom_attr_t *attr, const lxb_char_t *value, size_t value_len)
 
LXB_API lxb_status_t lxb_dom_attr_set_value_wo_copy (lxb_dom_attr_t *attr, lxb_char_t *value, size_t value_len)
 
LXB_API lxb_status_t lxb_dom_attr_set_existing_value (lxb_dom_attr_t *attr, const lxb_char_t *value, size_t value_len)
 
LXB_API lxb_status_t lxb_dom_attr_clone_name_value (lxb_dom_attr_t *attr_from, lxb_dom_attr_t *attr_to)
 
LXB_API bool lxb_dom_attr_compare (lxb_dom_attr_t *first, lxb_dom_attr_t *second)
 
LXB_API void lxb_dom_attr_remove (lxb_dom_attr_t *attr)
 
LXB_API const lxb_dom_attr_data_tlxb_dom_attr_data_undef (void)
 
LXB_API const lxb_dom_attr_data_tlxb_dom_attr_data_by_id (lexbor_hash_t *hash, lxb_dom_attr_id_t attr_id)
 
LXB_API const lxb_dom_attr_data_tlxb_dom_attr_data_by_local_name (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
LXB_API const lxb_dom_attr_data_tlxb_dom_attr_data_by_qualified_name (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
LXB_API const lxb_char_tlxb_dom_attr_qualified_name (lxb_dom_attr_t *attr, size_t *len)
 
lxb_inline const lxb_char_tlxb_dom_attr_local_name (lxb_dom_attr_t *attr, size_t *len)
 
lxb_inline const lxb_char_tlxb_dom_attr_value (lxb_dom_attr_t *attr, size_t *len)
 
LXB_API const lxb_char_tlxb_dom_attr_local_name_noi (lxb_dom_attr_t *attr, size_t *len)
 
LXB_API const lxb_char_tlxb_dom_attr_value_noi (lxb_dom_attr_t *attr, size_t *len)
 

Function Documentation

◆ lxb_dom_attr_clone_name_value()

LXB_API lxb_status_t lxb_dom_attr_clone_name_value ( lxb_dom_attr_t * attr_from,
lxb_dom_attr_t * attr_to )

Definition at line 285 of file attr.c.

◆ lxb_dom_attr_compare()

LXB_API bool lxb_dom_attr_compare ( lxb_dom_attr_t * first,
lxb_dom_attr_t * second )

Definition at line 295 of file attr.c.

◆ lxb_dom_attr_data_by_id()

LXB_API const lxb_dom_attr_data_t * lxb_dom_attr_data_by_id ( lexbor_hash_t * hash,
lxb_dom_attr_id_t attr_id )

Definition at line 411 of file attr.c.

◆ lxb_dom_attr_data_by_local_name()

LXB_API const lxb_dom_attr_data_t * lxb_dom_attr_data_by_local_name ( lexbor_hash_t * hash,
const lxb_char_t * name,
size_t length )

Definition at line 425 of file attr.c.

◆ lxb_dom_attr_data_by_qualified_name()

LXB_API const lxb_dom_attr_data_t * lxb_dom_attr_data_by_qualified_name ( lexbor_hash_t * hash,
const lxb_char_t * name,
size_t length )

Definition at line 444 of file attr.c.

◆ lxb_dom_attr_data_undef()

LXB_API const lxb_dom_attr_data_t * lxb_dom_attr_data_undef ( void )

Definition at line 405 of file attr.c.

◆ lxb_dom_attr_interface_clone()

LXB_API lxb_dom_attr_t * lxb_dom_attr_interface_clone ( lxb_dom_document_t * document,
const lxb_dom_attr_t * attr )

Definition at line 44 of file attr.c.

◆ lxb_dom_attr_interface_create()

LXB_API lxb_dom_attr_t * lxb_dom_attr_interface_create ( lxb_dom_document_t * document)

Definition at line 26 of file attr.c.

◆ lxb_dom_attr_interface_destroy()

LXB_API lxb_dom_attr_t * lxb_dom_attr_interface_destroy ( lxb_dom_attr_t * attr)

Definition at line 109 of file attr.c.

◆ lxb_dom_attr_local_name()

lxb_inline const lxb_char_t * lxb_dom_attr_local_name ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 109 of file attr.h.

◆ lxb_dom_attr_local_name_noi()

LXB_API const lxb_char_t * lxb_dom_attr_local_name_noi ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 487 of file attr.c.

◆ lxb_dom_attr_qualified_name()

LXB_API const lxb_char_t * lxb_dom_attr_qualified_name ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 463 of file attr.c.

◆ lxb_dom_attr_remove()

LXB_API void lxb_dom_attr_remove ( lxb_dom_attr_t * attr)

Definition at line 322 of file attr.c.

◆ lxb_dom_attr_set_existing_value()

LXB_API lxb_status_t lxb_dom_attr_set_existing_value ( lxb_dom_attr_t * attr,
const lxb_char_t * value,
size_t value_len )

Definition at line 278 of file attr.c.

◆ lxb_dom_attr_set_name()

LXB_API lxb_status_t lxb_dom_attr_set_name ( lxb_dom_attr_t * attr,
const lxb_char_t * local_name,
size_t local_name_len,
bool to_lowercase )

Definition at line 130 of file attr.c.

◆ lxb_dom_attr_set_value()

LXB_API lxb_status_t lxb_dom_attr_set_value ( lxb_dom_attr_t * attr,
const lxb_char_t * value,
size_t value_len )

Definition at line 210 of file attr.c.

◆ lxb_dom_attr_set_value_wo_copy()

LXB_API lxb_status_t lxb_dom_attr_set_value_wo_copy ( lxb_dom_attr_t * attr,
lxb_char_t * value,
size_t value_len )

Definition at line 259 of file attr.c.

◆ lxb_dom_attr_value()

lxb_inline const lxb_char_t * lxb_dom_attr_value ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 124 of file attr.h.

◆ lxb_dom_attr_value_noi()

LXB_API const lxb_char_t * lxb_dom_attr_value_noi ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 493 of file attr.c.