public function updateDefault($hostid, $onoff)
 {
     foreach ((array) $hostid as $id) {
         $Host = new Host($id);
         if ($Host && $Host->isValid()) {
             $Host->updateDefault($this->get('id'), in_array($Host->get('id'), $onoff));
         }
     }
     return $this;
 }