public function removeBandMemberNotification($memberID, $bandID, $notificationTypeID, $dbConnection = null)
 {
     $processed = false;
     try {
         $notification = new BandMemberNotification();
         $notification->setVariable(BandMemberNotification::MEMBER_ID, $memberID);
         $notification->setVariable(BandMemberNotification::BAND_ID, $bandID);
         $notification->setVariable(BandMemberNotification::NOTIFICATION_TYPE_ID, $notificationTypeID);
         $notification->setVariable(BandMemberNotification::ACTIVE, 2);
         $processed = BandMemberNotificationDao::updateBandMemberNotification($notification, $dbConnection);
     } catch (Exception $ex) {
         echo "addBandMember error: " . $ex->getMessage();
         $processed = false;
     }
     return $processed;
 }
 public function extractBandMemberNotificationObject(&$result)
 {
     $bandMemberNotification = null;
     try {
         if ($result[BandMemberNotificationDao::BAND_ID_FIELD] !== null) {
             $bandMemberNotification = new BandMemberNotification();
             $bandMemberNotification->setVariable(BandMemberNotification::BAND_ID, $result[BandMemberNotificationDao::BAND_ID_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::BAND_NAME, $result[BandMemberNotificationDao::BAND_NAME_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::MEMBER_ID, $result[BandMemberNotificationDao::MEMBER_ID_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::NOTIFICATION_TYPE_ID, $result[BandMemberNotificationDao::NOTIFICATION_TYPE_ID_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::NEW_NOTIFICATION, $result[BandMemberNotificationDao::NEW_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::MESSAGE, $result[BandMemberNotificationDao::MESSAGE_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::CREATOR_FIRST_NAME, $result[BandMemberNotificationDao::CREATOR_FIRST_NAME_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::CREATOR_LAST_NAME, $result[BandMemberNotificationDao::CREATOR_LAST_NAME_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::CREATED_BY, $result[BandMemberNotificationDao::CREATED_BY_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::CREATED_DATE, $result[BandMemberNotificationDao::CREATED_DATE_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::MODIFIED_BY, $result[BandMemberNotificationDao::MODIFIED_BY_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::MODIFIED_DATE, $result[BandMemberNotificationDao::MODIFIED_DATE_FIELD]);
             $bandMemberNotification->setVariable(BandMemberNotification::ACTIVE, $result[BandMemberNotificationDao::ACTIVE_FIELD]);
         }
     } catch (PDOException $ex) {
         echo "extractBandMemberInstrumentObject error: " . $ex->getMessage();
     }
     return $bandMemberNotification;
 }