Overview

Packages

  • ACF
  • Automation
    • Actions
    • Activation
    • LeadProfile
    • Menus
    • Queries
    • Rules
    • Triggers
  • CTA
    • Activation
    • AJAXListeners
    • Cloning
    • Core
    • Display
    • EditPage
    • Enqueues
    • GPLSettings
    • LeadsProfile
    • Loading
    • Menus
    • Notices
    • PlacementMetabox
    • PostType
    • Templates
    • Tracking
    • Variations
    • YOAST
  • InboundPro
    • Activation
    • AdminAJAX
    • AutoLoading
    • Cron
    • DataInterface
    • FieldMapping
    • Funnels
    • InboundNowAPI
    • Installer
    • LeadStatuses
    • Menus
    • Notifications
    • Ouath
    • Reports
    • Settings
    • Tracking
    • Translations
    • Updates
  • LandingPages
    • Activation
    • DataInterfaces
    • Management
    • Menus
    • NeedsAttention
    • Notices
    • Sidebars
    • Templates
    • Tracking
    • Variations
    • WelcomeScreen
    • Widgets
  • Leads
    • Activation
    • Akismet
    • BranchControl
    • BulkActions
    • Dashboard
    • Management
    • Notifications
    • Settings
    • Tracking
    • UserProfile
    • WPLogin
  • Mailer
    • Activation
    • Admin
    • ClickTracking
    • DataInterface
    • InboundForms
    • Leads
    • Management
    • Notifications
    • Scheduling
    • Sending
    • Settings
    • ShortcodesAndTokens
    • SparkPost
    • Templates
    • Unsubscribes
    • Variations
    • YoastSEO
  • None
  • Shared
    • APIs
    • CPT
    • DatabaseRoutines
    • DebugTricks
    • DoubleOptin
    • EventManagement
    • FieldMapping
    • InboundForms
    • LeadSorage
    • MarketingButton
    • Menus
    • Notifications
    • Shortcodes
    • ShortcodesAndTokens
    • StandAloneLicensing
    • Tracking
    • VisualEditor
  • xDepreciated

Classes

  • Leads_Activation
  • Leads_Activation_Update_Routines
  • Leads_Batch_Processor
  • Overview
  • Package
  • Class

Class Leads_Batch_Processor

Class for defining and running database upgrade routines that require batch processing

Package: Leads\Activation
Located at core/leads/classes/class.batch-processing.php
Methods summary
public
# __construct( )

Leads_Batch_Processor constructor.

Leads_Batch_Processor constructor.

public static
# load_hooks( )

Load hooks and filters

Load hooks and filters

public static
# init_listener( )

Listens for batch processing

Listens for batch processing

public static
# get_leads( $args )

get leads from wp-lead post type

get leads from wp-lead post type

public static boolean
# isJson( $string )

Checks if string is json format

Checks if string is json format

Parameters

$string

Returns

boolean
public static
# rebuild_funnel( $array )

Prepares legacy funnel correctly for consuption

Prepares legacy funnel correctly for consuption

Parameters

$array
public static
# process_batches( )

Run the batch processing method stored in leads_batch_processing option

Run the batch processing method stored in leads_batch_processing option

public static boolean
# delete_flag( $args )

Removes complete job and deletes leads_batch_processing if all jobs are complete else updates and returns true.

Removes complete job and deletes leads_batch_processing if all jobs are complete else updates and returns true.

Returns

boolean
public static
# import_events_table_112015( $args )

Loops through all leads and imports events stored in metapairs into inbound_events table

Loops through all leads and imports events stored in metapairs into inbound_events table

public static
# import_event_data_07132016( $args )

Loops through all leads and imports events stored in metapairs into inbound_events table

Loops through all leads and imports events stored in metapairs into inbound_events table

Properties summary
public static $leads
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen