add(NagiosCommandPeer::NAME, $name); $c->setIgnoreCase(true); $command = NagiosCommandPeer::doSelectOne($c); if(!$command) return false; return $command; } } // NagiosCommandPeer