![]() |
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 | |
| __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... | |
Private Attributes | |
| $settings = array() | |
If this file is called directly, abort.
A generic Settings base class.
Definition at line 12 of file class-gv-settings.php.
| __construct | ( | $settings = array() | ) |
Create with new.
| array | $settings | Initial settings. Default: none. |
Definition at line 27 of file class-gv-settings.php.
References $settings.
| all | ( | ) |
Returns all the objects in this collection as an an array.
Definition at line 84 of file class-gv-settings.php.
References $settings.
| get | ( | $key, | |
$default = null |
|||
| ) |
Set an setting.
| mixed | $key | The key in this setting to retrieve. |
| mixed | $default | A default in case the key is not set. |
Definition at line 73 of file class-gv-settings.php.
| set | ( | $key, | |
| $value | |||
| ) |
Set a setting.
| mixed | $key | The key the value should be added under. |
| mixed | $value | The value to be added to the key. |
Definition at line 59 of file class-gv-settings.php.
References $value.
| update | ( | $settings | ) |
Mass update values from the allowed ones.
| array | $settings | An array of settings to update. |
Definition at line 42 of file class-gv-settings.php.
|
private |
Definition at line 16 of file class-gv-settings.php.