Class ProMarker
This class represents a marker
-
WPGMZA\Factory
-
WPGMZA\Crud
implements
IteratorAggregate,
JsonSerializable
-
WPGMZA\Marker
implements
JsonSerializable
-
WPGMZA\ProMarker
Methods summary
public
|
#
__construct( integer|array|object $id_or_fields = -1 )
Constructor
Parameters
- $id_or_fields
- integer ID to read a marker, or an array or object to read data from to create a new one. If this argument is not specified, a new marker will be created.
Overrides
|
public
array
|
#
jsonSerialize( )
Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.
Returns a clone of this marker for JSON serialization. Unsets latlng binary spatial data which corrupts JSON, and sets custom field data.
Returns
array A JSON representation of this marker, without spatial data and with custom field ata.
Throws
Exception
Overrides
|
public static
|
|
Methods inherited from WPGMZA\Crud
__get(),
__isset(),
__unset(),
assert_not_trashed(),
bulk_read(),
bulk_trash(),
column_exists(),
create(),
getIterator(),
get_column_names(),
get_column_parameters(),
get_column_placeholders(),
get_column_type(),
get_columns(),
get_table_name(),
is_read_only(),
parse_arbitrary_data(),
read(),
set(),
store_arbitrary_data(),
trash()
|