Method | Description | |
---|---|---|
buildKeyPath ( |
Create a fully qualified Key path | |
mapOneFromResult ( object $obj_result ) : |
Map a single result out of the Raw response data array FROM Google TO a GDS Entity | |
mapToGoogle ( |
Create a REST representation of a GDS entity |
Method | Description | |
---|---|---|
createKeyPathElement ( array $arr_kpe ) : stdClass | Create a Key Path Element from array | |
createPropertyValue ( array $arr_field_def, $mix_value ) : mixed | Create a property object | |
extractAutoDetectValue ( object $obj_property ) : mixed | Auto detect & extract a value | |
extractDatetimeValue ( $obj_property ) : mixed | Extract a datetime value | |
extractGeopointValue ( $obj_property ) : |
Extract a Geopoint value | |
extractPropertyValue ( $int_type, object $obj_property ) : mixed | Extract a single property value from a Property object | |
extractStringListValue ( $obj_property ) : array | Extract a String List value |
Method | Description | |
---|---|---|
bestEffortFieldDefs ( |
Find and return the field definitions (if any) for the Entity | |
createEntityWithKey ( stdClass $obj_result ) : array | Create & populate a GDS\Entity with key data |
public buildKeyPath ( |
||
$obj_gds_entity | ||
$bol_first_node | boolean | |
return | array |
protected createKeyPathElement ( array $arr_kpe ) : stdClass | ||
$arr_kpe | array | |
return | stdClass |
protected createPropertyValue ( array $arr_field_def, $mix_value ) : mixed | ||
$arr_field_def | array | |
$mix_value | ||
return | mixed |
protected extractAutoDetectValue ( object $obj_property ) : mixed | ||
$obj_property | object | |
return | mixed |
protected extractDatetimeValue ( $obj_property ) : mixed | ||
$obj_property | ||
return | mixed |
protected extractGeopointValue ( $obj_property ) : |
||
$obj_property | ||
return |
protected extractPropertyValue ( $int_type, object $obj_property ) : mixed | ||
$int_type | ||
$obj_property | object | |
return | mixed |
protected extractStringListValue ( $obj_property ) : array | ||
$obj_property | ||
return | array |
public mapOneFromResult ( object $obj_result ) : |
||
$obj_result | object | |
return |
public mapToGoogle ( |
||
$obj_gds_entity | ||
return | stdClass |