GravityMathAddOn
Source: includes/class-gravitymath-gfaddon.php:6
Details
- Kind:
class - Namespace:
(global) - Extends: GFAddOn
Methods
| Method | Description |
|---|---|
__construct() | We're not able to set the __construct() method to private because we're extending the GFAddon class, so |
get_instance() | |
init_frontend() | |
form_settings_fields() | |
get_default_value() | Get the supplied default value for a form otherwise default to 'skip' |
Method Reference
__construct()
public function __construct( $prevent_multiple_instances='' )
We're not able to set the __construct() method to private because we're extending the GFAddon class, so
we fake it. When called using new GravityView_Settings, it will return get_instance() instead. We pass
'get_instance' as a test string.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$prevent_multiple_instances | string | '' |