Form/Field/GoogleMapsField.php
- package
- Form
- Classes
- Kwf_Form_Field_GoogleMapsField
Description
\Kwf_Form_Field_GoogleMapsField
- Extends from
- \Kwf_Form_Field_SimpleAbstract
- package
- Form
- Properties
- $_latitudeFieldname
- $_longitudeFieldname
- Methods
- __construct
- _addValidators
- load
- prepareSave
- setCoordinateFieldnames
Description
Base class for form fields that represent a textual value
Properties
$_latitudeFieldname
$_latitudeFieldname = 'null'
Details
- visibility
- protected
- default
- null
- final
- false
- static
- false
$_longitudeFieldname
$_longitudeFieldname = 'null'
Details
- visibility
- protected
- default
- null
- final
- false
- static
- false
Methods
__construct
__construct(
$field_name
=
null, $field_label
=
null
)
:
Zeigt mehrere Checkboxes an und speichert diese in einer Relationstabelle
Arguments
- $field_name
- $field_label
Details
- visibility
- public
- final
- false
- static
- false
_addValidators
_addValidators(
)
:
Add validators to the field here, called in prepareSave
Details
- visibility
- protected
- final
- false
- static
- false
load
load(
$row, $postData
=
array
)
:
Arguments
- $row
- $postData
Details
- visibility
- public
- final
- false
- static
- false
prepareSave
prepareSave(
$row, $postData
)
:
Arguments
- $row
- $postData
Details
- visibility
- public
- final
- false
- static
- false
setCoordinateFieldnames
setCoordinateFieldnames(
$latitudeFieldname
=
latitude, $longitudeFieldname
=
longitude
)
:
Arguments
- $latitudeFieldname
- $longitudeFieldname
Details
- visibility
- public
- final
- false
- static
- false