Gravity_Forms\Gravity_Forms\Settings\Fields\Select_Custom
Source: includes/settings/fields/class-select-custom.php:14
Details
- Kind:
class - Namespace:
Gravity_Forms\Gravity_Forms\Settings\Fields - Extends:
Base
Properties
| Property | Type | Description |
|---|---|---|
$type | string | Field type. |
$inputs | Base[] | Child inputs. |
Methods
| Method | Description |
|---|---|
__construct() | Initialize Field Select field. |
markup() | Render field. |
do_validation() | Validate posted field value. |
Method Reference
__construct()
public function __construct( $props, $settings )
Initialize Field Select field.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$props | array | Field properties. | |
$settings | \Gravity_Forms\Gravity_Forms\Settings\Settings | Settings instance. |
Since: 2.5
Source: includes/settings/fields/class-select-custom.php:42
markup()
public function markup()
Render field.
Returns
string
Since: 2.5
Source: includes/settings/fields/class-select-custom.php:129
do_validation()
public function do_validation( $value )
Validate posted field value.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$value | array | Posted field values. |
Since: 2.5
Source: includes/settings/fields/class-select-custom.php:172