當前位置: 首頁>>代碼示例>>PHP>>正文


PHP GFForms::include_feed_addon_framework方法代碼示例

本文整理匯總了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');
 }
開發者ID:ryanhellyer,項目名稱:gravityforms-eloqua,代碼行數:14,代碼來源:gravityforms-eloqua.plugin.php

示例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()
開發者ID:wp-premium,項目名稱:gravityformszohocrm,代碼行數:31,代碼來源:class-gf-zohocrm.php


注:本文中的GFForms::include_feed_addon_framework方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。