Class Inbound_Events
Class for creating events table, storing, and retrieving event records
public
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
store_list_add_event( $lead_id, $list_id )
Stores inbound lead list addition event(s) into events table |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
boolean
|
#
event_exists( $args )
Checks if an event has already been created. Right now mailer is the only tool leveraging this. It will need to be improved to support other uses |
public static
BOOL
|
|
public static
BOOL
|
|
public static
BOOL
|
|
public static
|
|
public static
|
#
get_all_form_submissions( $lead_id )
Agnostically get all form submission events related to lead ID |
public static
mixed
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
get_cta_conversions( $nature, $params )
Gets cta conversion events by cta_id, lead_id or by page_id |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
get_unsubscribes_count_by_email_id( $email_id, $vid = null )
Get all unsubscribe events given an email id |
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
datetime
|
|
public static
datetime
|
#
get_total_activity( $lead_id, string $activity = 'any' , $blacklist = array() )
Get count of event activity given a lead id |
public static
|
#
get_page_actions_count( integer $page_id, string $activity = 'any' , datetime $start_date = null, datetime $end_date = null )
|
public static
|
#
comment_exists( $comment_id )
Checks to see if a comment has already been logged in the events table |
public static
|
|
public static
|