/** * Add a child view to this view. * * @param object A WFView object to add. */ function addChild(WFView $view) { $this->children[$view->id()] = $view; $view->setParent($this); }