public function addParsedObject($object) { if ($object instanceof TTabView) { $this->getControls()->add($object); } }