Method |
Description |
|
add ( $in, $id = null ) |
as a means for UPDATE? |
|
delete ( &$id ) |
returns the # of deleted subscribers (int). 0 (false) if none. |
|
flagByID ( &$id ) |
returns the # of subscribers successfully flagged (int). 0 (false) if none. |
|
get ( $p = [], $search = ['field' => null, 'string' => null] ) |
returns an array of subscribers. Array key(s) correlates to subscriber id. |
|
getActCode ( $subscriber ) |
returns the activation code for the passed subscriber |
|
getEmail ( $p = [] ) |
returns an array of emails. Array key(s) correlates to subscriber id. |
|
getIDByAttr ( $f = ['subscriber_pending' => [], 'subscriber_data' => [], 'subscribers' => []] ) |
EXAMPLE
array(
'subscriber_pending' => array(
'pending_code' => array("not: 'abc1234'", "is: 'def123'", "is: '2234'"),
'pending_email' => array('not: NULL')),
'subscriber_data' => array(
12 => array("not: 'Milwaukee'"), // 12 is alias for field_id=12 . |
|
getIDByEmail ( $email, $status = null ) |
returns an array of subscriber IDs |
|
getSubscribersHits ( $mailing ) : array |
Returns all the subscribers in the database and if they have opened the
passed mailing id |
|
make ( $in = [], $pending = FALSE ) |
return a subscriber object (array) |
|
makeDB ( &$row, $pending = FALSE ) |
return a subscriber object (array) |
|
tally ( $status = 1 ) |
returns subscriber tally (int) |
|
update ( &$in, $mode = 'REPLACE_PASSED' ) |
Does not change the subscriber_id --> paves the path to add manually assign subs to a group? |
|
validate ( &$in ) |
NOTE: has the magic functionality of converting english status to bool equiv. |
|