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

  • Inbound_Upgrade_Routines
  • Overview
  • Package
  • Class

Class Inbound_Upgrade_Routines

Package: Shared\DatabaseRoutines
Located at core/shared/classes/class.database-routines.php
Methods summary
public static
# load( )

Run upgrade routines defined in this class

Run upgrade routines defined in this class

public static
# add_update_check( )

Add fallback listener to make sure database upgrade routines are ran even if the activation protocol does not fire. This function compares the shared files version in the database to the INBOUNDNOW_SHARED_DBRV constant. If they aren't the same then it runs the routines.

Add fallback listener to make sure database upgrade routines are ran even if the activation protocol does not fire. This function compares the shared files version in the database to the INBOUNDNOW_SHARED_DBRV constant. If they aren't the same then it runs the routines.

public static
# define_routines( )

Defines upgrade routines to run.

Defines upgrade routines to run.

public static
# load_routines( )
public static
# set_versions( $routine )

Parameters

$routine
public static
# alter_page_views_table( $routines,… )

Alter pageview table from INT to VARCHARR

Alter pageview table from INT to VARCHARR

Parameters

$routines,…
public static
# alter_events_table_1( )

Migration-type:

alter inbound_events table

Mirgration:

adds columns list_id funnel, and source to events table
public static
# alter_events_table_1_0_5( )

Migration-type:

alter inbound_events table

Mirgration:

adds columns list_id funnel, and source to events table
public static
# alter_events_table_1_0_8( )

Migration-type:

alter inbound_events table

Mirgration:

adds columns list_id funnel, and source to events table
public static
# alter_events_pageviews_107( )

Migration-type:

alter inbound_events,inbound_pageviews table

Mirgration:

convert page_id to VARCHAR to accept complex ids related to taxonomy archives
public static
# alter_automation_queue_table_1( )

Migration-type:

alter inbound_automation_queue table

Mirgration:

adds columns lead_id
public static
# alter_inbound_settings_109( )

Migration-type:

inbound pro settings array

Mirgrationcomment_id

change the 'mailer' key to 'mailer' key in $inbound_settings
public static
# alter_inbound_settings_203( )

Migration-type:

inbound pro settings array

Mirgration:

changes mediumint to bigint
Properties summary
public static $routines
#
public static $past_version
#
public static $current_version
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen