当前位置: 首页>>代码示例>>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;未经允许,请勿转载。