Ejemplo n.º 1
0
 function addChild($newChild)
 {
     parent::addChild($newChild);
     // make sure one tab is always selected
     if (!$this->selectedTabId and $newChild instanceof WFYAHOO_widget_Tab) {
         $this->selectedTabId = $newChild->id();
     }
 }