GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — gravityformscli/class-gf-cli.php at master · gravityforms/gravityformscli Expand file tree/ Copy pathclass-gf-cli.phpMore file actions 111 lines (99 loc) · 2.61 KB / Copy pathclass-gf-cli.phpFile metadata and controls111 lines (99 loc) · 2.61 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 <?php defined( 'ABSPATH' ) || defined( 'WP_CLI' ) || die(); // Include the Gravity Forms add-on framework, if available. // When running as a standalone WP-CLI package, GFForms is not loaded. if ( class_exists('GFForms' ) ) { GFForms::include_addon_framework(); } if ( ! class_exists( 'GFAddOn' ) ) { return; } class GF_CLI extends GFAddOn { /** * Contains an instance of this class, if available. * * @since 1.0-beta-1 * @access private * @var object $_instance If available, contains an instance of this class */ private static $_instance = null; /** * Defines the version of the WP-CLI add-on. * * @since 1.0-beta-1 * @access protected * @var string $_version Contains the version, defined from cli.php */ protected $_version = GF_CLI_VERSION; /** * Defines the minimum Gravity Forms version required. * @since 1.0-beta-1 * @access protected * @var string $_min_gravityforms_version The minimum version required. */ protected $_min_gravityforms_version = GF_CLI_MIN_GF_VERSION; /** * Defines the plugin slug. * * @since 1.0-beta-1 * @access protected * @var string $_slug The slug used for this plugin. */ protected $_slug = 'gravityformscli'; /** * Defines the main plugin file. * * @since 1.0-beta-1 * @access protected * @var string $_path The path to the main plugin file, relative to the plugins folder. */ protected $_path = 'gravityformscli/cli.php'; /** * Defines the full path to this class file. * * @since 1.0-beta-1 * @access protected * @var string $_full_path The full path. */ protected $_full_path = __FILE__; /** * Defines the URL where this add-on can be found. * * @since 1.0-beta-1 * @access protected * @var string */ protected $_url = 'http://www.gravityforms.com'; /** * Defines the title of this add-on. * * @since 1.0-beta-1 * @access protected * @var string $_title The title of the add-on. */ protected $_title = 'Gravity Forms CLI Add-On'; /** * Defines the short title of the add-on. * * @since 1.0-beta-1 * @access protected * @var string $_short_title The short title. */ protected $_short_title = 'CLI'; /** * Returns an instance of this class, and stores it in the $_instance property. * * @since 1.0-beta-1 * @access public * @static * @return object $_instance An instance of the GF_CLI class */ public static function get_instance() { if ( self::$_instance == null ) { self::$_instance = new GF_CLI(); } return self::$_instance; } private function __clone() { } /* do nothing */ } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |