Class GeometryCustomFieldType
Defines the geometry field type.
Field Type Specific Arguments
attributes
- (array) The array that defines the HTML attributes of the field elements.latitude
- (array) The attributes applied the latitude input tag.longitude
- (array) The attributes applied the longitude input tag.elevation
- (array) The attributes applied the elevation element.location_name
- (array) The attributes applied the location_name element.button
- (array) The attributes applied the button element.
Example
array( 'field_id' => 'geometrical_coordinates', 'section_id' => 'geometry', 'title' => __( 'Geometrical Coordinates', 'admin-page-framework-field-type-pack' ), 'type' => 'geometry', 'default' => array( 'latitude' => 20, 'longitude' => 20, ), )
Package: AdminPageFrameworkFieldTypePack\CustomFieldType
Since: 1.0.0
Located at custom-field-types/geometry-custom-field-type/GeometryCustomFieldType.php
Since: 1.0.0
Located at custom-field-types/geometry-custom-field-type/GeometryCustomFieldType.php
Methods summary
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
|
protected
|
Magic methods summary
Properties summary
public
array
|
$aFieldTypeSlugs |
#
Defines the field type slugs used for this field type. |
protected
array
|
$aDefaultKeys |
#
Defines the default key-values of this field type. Remark
$_aDefaultKeys holds shared default key-values defined in the base class.
|