Wp.MetadataItem¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
Details¶
- class Wp.MetadataItem¶
Wp.MetadataItem
holds the subject, key, type and value of a metadata entry.- get_key()¶
- Returns:
the metadata key of the item
- Return type:
Gets the key from a metadata item.
New in version 0.5.0.
- get_subject()¶
- Returns:
the metadata subject of the item
- Return type:
Gets the subject from a metadata item.
New in version 0.5.0.
- get_value()¶
- Returns:
the metadata value of the item
- Return type:
Gets the value from a metadata item.
New in version 0.5.0.
- get_value_type()¶
- Returns:
the metadata value type of the item
- Return type:
Gets the value type from a metadata item.
New in version 0.5.0.
- ref()¶
- Returns:
self with an additional reference count on it
- Return type:
Increases the reference count of a metadata item object.
New in version 0.5.0.
- unref()¶
Decreases the reference count on self and frees it when the ref count reaches zero.
New in version 0.5.0.