Class Gravity_Flow_Step_Feed_Add_On
Abstract class to be used for integration with Gravity Forms Feed Add-Ons. Extend this class to integrate any Gravity Forms Add-On that is built using the Feed-Add-On Framework.
Register your extending class using Gravity_Flow_Steps::register(). example: Gravity_Flow_Steps::register( new Gravity_Flow_Step_My_Feed_Add_On_Step() )
Class Gravity_Flow_Step_Feed_Add_On
- stdClass
- Gravity_Flow_Step
- Gravity_Flow_Step_Feed_Add_On
Package: GravityFlow\Classes\Step\Feed\Add\On
Copyright: Copyright (c) 2015-2018, Steven Henty S.L.
License: GNU Public License
Since: 1.0
Located at
public
string
|
|
public
boolean
|
#
is_supported( )
Is this feed step supported on this server? Override to hide this step in the list of step types if the requirements are not met. |
public
array
|
|
public
boolean
|
|
public
array|mixed
|
|
public
boolean
|
|
public
|
#
intercept_submission( )
Prevent the feeds assigned to the current step from being processed by the associated add-on. |
public
string
|
|
public
boolean
|
#
is_feed_condition_met( array $feed, array $form, array $entry )
Determines if the supplied feed should be processed. |
public
GFFeedAddOn
|
|
public
array
|
#
pre_process_feeds( array $feeds, array $entry )
Remove the feeds assigned to the current step from the array to be processed by the associated add-on. |
public
boolean
|
|
public
string
|
|
public
array
|
#
get_processed_feeds( boolean|integer $entry_id = false )
Retrieve an array containing the IDs of all the feeds processed for the current entry. |
public
array
|
#
get_processed_add_on_feeds( boolean|integer $entry_id = false )
Retrieve an array of this add-ons feed IDs which have been processed for the current entry. |
public
array
|
#
maybe_set_processed_feed( array $add_on_feeds, integer $feed_id )
Add the ID of the current feed to the processed feeds array for the current add-on. |
public
array
|
#
maybe_unset_processed_feed( array $add_on_feeds, integer $feed_id )
If necessary remove the current feed from the processed feeds array for the current add-on. |
public
|
#
update_processed_feeds( array $add_on_feeds, boolean|integer $entry_id = false )
Update the processed_feeds array for the current entry. |
public
string
|
protected
string
|
$_class_name
The name of the class used by the add-on. Example: GFMailChimp. |
#
''
|
protected
string
|
$_slug
The add-on slug. Example: gravityformsmailchimp. |
#
''
|
$_assignees,
$_next_step_id,
$_rest_base,
$_step_type
|