Method |
Description |
|
add ( &$in ) |
* add
Adds a mailing to the database |
|
delete ( &$id ) |
returns the # of deleted subscribers (int). 0 (false) if none. |
|
get ( $p = [] ) |
returns an array of mailings. Array key(s) correlates to mailing ID. |
|
getNotices ( $id, $limit = 50, $timestamp = FALSE ) |
e.g. array('' => array('notice1','notice2')) |
|
getSent ( $id ) |
returns the # of sent mails for a mailing |
|
getSubject ( $id ) |
returns the Subject of a Mailing |
|
isCurrent ( ) |
returns (bool) - true if current mailing |
|
make ( $in = [], $current = FALSE ) |
return a mailing object (array) |
|
makeDB ( &$row ) |
return a mailing object (array) |
|
saveHit ( $mailing, $subscriber ) |
* saveHit
Saves a mailing view in the database |
|
tally ( ) |
returns mailing tally (int) |
|
validate ( &$in ) |
returns true if mailing ($in) is valid, false if not |
|