kid-templating.org


properties

Configuration API.


Functions

f get(name, default=None) ...

Get the property identified by name if it exists or return default.

name: the name of the property to retrieve default: the value returned for non-existing properties, defaults to None

f set(name, value) ...

The the property identified by name with the value identified by value.

Returns the value passed in.

f isset(name) ...

Returns True if a property exists or False if it doesn't.

f remove(name) ...

Remove a property.

See the source for more information.