IgeObject

Method: children

Returns the object's children as an array of objects.
children ()
Returns Array The array of child objects.

Get the child objects array

// Create a couple of entities and give them ids
var entity1 = new IgeEntity().id('entity1'),
    entity2 = new IgeEntity().id('entity2');

// Mount entity2 to entity1
entity2.mount(entity1);

// Get the chilren array entity1
var childArray = entity1.children();

// Log the child array contents (will contain entity2)
console.log(childArray);
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point