k2hpx_add_attr
Adds the attribute to the key
Description
bool k2hpx_add_attr ( mixed $handle_res , string $key , string $attrkey , string $attrval )
Adds the attribute to the key. Attributes represent configurations to keep timestamps of data modification, data encryptions or histories.
Parameters
- handle_res
Specifies the k2hash (.k2h) file handle that k2hpx_open returns. - key
Specifies the key that links with the attribute. - attrkey
Specifies the name of the attribute. - attrval
Specifies the value of the attribute.
Return Values
Returns true on success or false on failure.
See Also
- K2hash::addAttr - Adds the attribute to the key