function __construct($id) { parent::__construct($id); $this->dataset = new WactArrayIterator(array()); }
function testFindParentByChilld() { $component = new WactRuntimeComponent('TestParent'); $component->addChild($this->component); $this->assertIsA($this->component->findParentByClass('WactRuntimeComponent'), 'WactRuntimeComponent'); }
function __construct($id) { parent::__construct($id); $this->datasource = array(); }