code/ReflectionTemplate.php
public function addChild($index) {
		foreach($this->children as $child) {
			if($child->getID() == $index) return;
		}
		$this->children[] = $this->reflector->getBlockByID($index);
	}
public function addChild($index) {
		foreach($this->children as $child) {
			if($child->getID() == $index) return;
		}
		$this->children[] = $this->reflector->getBlockByID($index);
	}
public function addChild ( $ index ) { foreach ( $ this -> children as $ child ) { if ( $ child -> getID ( ) == $ index ) return ; } $ this -> children [ ] = $ this -> reflector -> getBlockByID ( $ index ) ; }
Adds a child block to this block
@param int $index The offset of the child block
Adds a child block to this block