Application Framework Reference

Module API

getDescendants()

The getDescendants() method gets an ordered list of all module descendants.

Note: This method should not be overridden.

Synopsis

results = getDescendants( self , **args )

Return Value

Array

Ordered list of descendants.

Example

var descendants = this.getDescendants();
for (var i=0, len=descendants.length; i < len; i++) {
    descendants[i].reset();
}
 

See Also

getAncestors()
getModulesInTree()
getRootAncestor()
Splunk.Context