|
@@ 174-181 (lines=8) @@
|
| 171 |
|
* @param string $message_type the message type slug |
| 172 |
|
* @return boolean |
| 173 |
|
*/ |
| 174 |
|
public function message_sent_for_attendee( $attendee, $message_type ) { |
| 175 |
|
$attendee_ID = EEM_Attendee::instance()->ensure_is_ID( $attendee ); |
| 176 |
|
return $this->exists( array( array( |
| 177 |
|
'Attendee.ATT_ID' => $attendee_ID, |
| 178 |
|
'MSG_message_type' => $message_type, |
| 179 |
|
'STS_ID' => array( 'IN', $this->stati_indicating_sent() ) |
| 180 |
|
) ) ); |
| 181 |
|
} |
| 182 |
|
|
| 183 |
|
|
| 184 |
|
|
|
@@ 192-199 (lines=8) @@
|
| 189 |
|
* @param string $message_type the message type slug |
| 190 |
|
* @return boolean |
| 191 |
|
*/ |
| 192 |
|
public function message_sent_for_registration( $registration, $message_type ) { |
| 193 |
|
$registrationID = EEM_Registration::instance()->ensure_is_ID( $registration ); |
| 194 |
|
return $this->exists( array( array( |
| 195 |
|
'Registration.REG_ID' => $registrationID, |
| 196 |
|
'MSG_message_type' => $message_type, |
| 197 |
|
'STS_ID' => array( 'IN', $this->stati_indicating_sent() ) |
| 198 |
|
) ) ); |
| 199 |
|
} |
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|