本文整理汇总了PHP中GFForms::include_feed_addon_framework方法的典型用法代码示例。如果您正苦于以下问题:PHP GFForms::include_feed_addon_framework方法的具体用法?PHP GFForms::include_feed_addon_framework怎么用?PHP GFForms::include_feed_addon_framework使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GFForms
的用法示例。
在下文中一共展示了GFForms::include_feed_addon_framework方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: load
public static function load()
{
if (!class_exists('GFForms') || !class_exists('GFAddOn')) {
return;
}
if (!method_exists('GFForms', 'include_feed_addon_framework')) {
return;
}
GFForms::include_feed_addon_framework();
require_once GFELOQUA_PATH . '/api/class.eloqua.api.php';
require_once GFELOQUA_PATH . '/includes/helpers.php';
require_once GFELOQUA_PATH . 'gfeloqua.class.php';
GFAddOn::register('GFEloqua');
}
示例2: get_instance
<?php
GFForms::include_feed_addon_framework();
class GFZohoCRM extends GFFeedAddOn
{
protected $_version = GF_ZOHOCRM_VERSION;
protected $_min_gravityforms_version = '1.9.14.26';
protected $_slug = 'gravityformszohocrm';
protected $_path = 'gravityformszohocrm/zohocrm.php';
protected $_full_path = __FILE__;
protected $_url = 'http://www.gravityforms.com';
protected $_title = 'Gravity Forms Zoho CRM Add-On';
protected $_short_title = 'Zoho CRM';
protected $_enable_rg_autoupgrade = true;
protected $api = null;
protected $fields_transient_name = 'gform_zohocrm_fields';
private static $_instance = null;
/* Permissions */
protected $_capabilities_settings_page = 'gravityforms_zohocrm';
protected $_capabilities_form_settings = 'gravityforms_zohocrm';
protected $_capabilities_uninstall = 'gravityforms_zohocrm_uninstall';
/* Members plugin integration */
protected $_capabilities = array('gravityforms_zohocrm', 'gravityforms_zohocrm_uninstall');
/**
* Get instance of this class.
*
* @access public
* @static
* @return GFZohoCRM
*/
public static function get_instance()