Wp.PropertiesItem

Fields

None

Methods

get_key ()

get_value ()

ref ()

unref ()

Details

class Wp.PropertiesItem
get_key()
Returns:

the property key of the item

Return type:

str

Gets the key from a properties item.

New in version 0.4.2.

get_value()
Returns:

the property value of the item

Return type:

str

Gets the value from a properties item.

New in version 0.4.2.

ref()
Returns:

self with an additional reference count on it

Return type:

Wp.PropertiesItem

Increases the reference count of a properties item object.

New in version 0.4.2.

unref()

Decreases the reference count on self and frees it when the ref count reaches zero.

New in version 0.4.2.