Свойство | Тип | Описание | |
---|---|---|---|
$_logger | Optional Logger | ||
$_params | array | Instance parameters. |
Метод | Описание | |
---|---|---|
__construct ( array $params = [] ) | ||
getData ( $image ) | ||
supportedCategories ( ) |
Метод | Описание | |
---|---|---|
_degToDecimal ( double $degrees, double $minutes, double $seconds ) : double | Convert degrees representation to decimal representation. | |
_logDebug ( $message ) | ||
_logErr ( $message ) | ||
_parseGPSData ( mixed $data ) : double | Parse the Longitude and Latitude values into a standardized format regardless of the source format. | |
_processData ( array $exif ) : array | Process the EXIF data. |
public __construct ( array $params = [] ) | ||
$params | array | Parameter array: - logger: Horde_Log_Logger Logger instance. |
protected _degToDecimal ( double $degrees, double $minutes, double $seconds ) : double | ||
$degrees | double | The degrees latitude or longitude. |
$minutes | double | The minutes latitude or longitude. |
$seconds | double | the seconds latitude or longitude. |
Результат | double | The decimal representation of the latitude or longitute. |
protected _parseGPSData ( mixed $data ) : double | ||
$data | mixed | An array containing degrees, minutes, seconds in index 0, 1, 2 respectifully. |
Результат | double | The location data in a decimal format. |
protected _processData ( array $exif ) : array | ||
$exif | array | Array of EXIF data. |
Результат | array | An array of processed EXIF data. |