GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
as_atts () | |
Turn to an $atts array as used around the old codebase. More... | |
Public Member Functions inherited from Settings | |
__construct ( $settings=array()) | |
Create with new. More... | |
all () | |
Returns all the objects in this collection as an an array. More... | |
get ( $key, $default=null) | |
Set an setting. More... | |
set ( $key, $value) | |
Set a setting. More... | |
update ( $settings) | |
Mass update values from the allowed ones. More... | |
Static Public Member Functions | |
static | defaults ( $detailed=false, $group=null) |
Retrieve the default View settings. More... | |
static | with_defaults ( $detailed=false) |
Retrieve an instance of the settings with default values. More... | |
If this file is called directly, abort.
Definition at line 12 of file class-gv-settings-view.php.
as_atts | ( | ) |
Turn to an $atts array as used around the old codebase.
Definition at line 687 of file class-gv-settings-view.php.
|
static |
Retrieve the default View settings.
bool | $detailed | Whether to return detailed setting meta information or just the value. |
string | $group | Retrieve settings of a particular group. |
string | $label | Setting label shown in admin |
string | $type | Gravity Forms field type |
string | $group | The field group the setting is associated with. Default: "default" |
mixed | $value | The default value for the setting |
string | $tooltip | Tooltip displayed for the setting |
boolean | $show_in_shortcode | Whether to show the setting in the shortcode configuration modal |
array | $options | Array of values to use when generating select, multiselect, radio, or checkboxes fields |
boolean | $full_width | True: Display the input and label together when rendering. False: Display label and input in separate columns when rendering. |
gravityview_default_args
Modify the default settings for new Views gravityview/view/settings/defaults
array | $default_args | Array of default args. |
gravityview/view/defaults
Modify the default settings for new Viewsarray | $default_settings | Array of default settings. |
Definition at line 48 of file class-gv-settings-view.php.
References $value, GVCommon\get_forms_as_options(), gravityview(), gravityview_get_form_id(), GravityView_Delete_Entry\REDIRECT_TO_MULTIPLE_ENTRIES_VALUE, and GravityView_Delete_Entry\REDIRECT_TO_URL_VALUE.
Referenced by GravityView_Admin_Add_Shortcode\add_shortcode_popup(), GravityView_View_Data\get_default_arg(), GravityView_Shortcode\parse_and_sanitize_atts(), gravityview\parse_and_sanitize_atts(), and GravityView_Admin_Views\tooltips().
|
static |
Retrieve an instance of the settings with default values.
bool | $detailed | Whether to return detailed setting meta information or just the value. |
Definition at line 23 of file class-gv-settings-view.php.
References $settings.
Referenced by GravityView_View_Data\get_id_from_atts(), and GravityView_Render_Settings\render_setting_row().