GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-business-data.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-business-data.php
6  * @since 1.15
7  * @license GPL2+
8  * @author GravityView <[email protected]>
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @package GravityView
13  */
14 
16  const ID = 'preset_business_data';
17 
18  function __construct() {
19  $settings = array(
20  'slug' => 'table',
21  'type' => 'preset',
22  'label' => __( 'Business Data', 'gk-gravityview' ),
23  'description' => __( 'Display business information in a table.', 'gk-gravityview' ),
24  'logo' => plugins_url( 'includes/presets/business-data/logo-business-data.png', GRAVITYVIEW_FILE ),
25  //'preview' => 'http://demo.gravityview.co/blog/view/business-table/',
26  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/business-data/form-business-data.json',
27  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/business-data/fields-business-data.xml'
28  );
29 
30  parent::__construct( self::ID, $settings );
31  }
32 }
33 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
GravityView_Default_Template_Table class.
const GRAVITYVIEW_FILE
Full path to the GravityView file "GRAVITYVIEW_FILE" "./gravityview.php".
Definition: gravityview.php:40