static function retrieve(&$params, &$defaults)
 {
     $result = null;
     $dao = new CRM_Event_DAO_ParticipantStatusType();
     $dao->copyValues($params);
     if ($dao->find(true)) {
         CRM_Core_DAO::storeValues($dao, $defaults);
         $result = $dao;
     }
     return $result;
 }