You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

inheriting_types()

Usage

inheriting_types(type[, blacklist])

Description
Returns the list of inheriting types of the given type including the type itself. Additionally a blacklist of type names can be provided as a list. If omitted, the blacklist is empty.

Examples

${inheriting_types("MyType")}
${inheriting_types("MyType", merge("UndesiredSubtype"))}

results in

[MyType, Subtype1, Subtype2, UndesiredSubtype]
[MyType, Subtype1, Subtype2]

Search results for "inheriting_types()"

inheriting_types()

Returns the list of inheriting types of the given type including the type itself. Additionally a blacklist of type names can be provided as a list. If omitted, the blacklist is empty.

inheriting_types(type[, blacklist])