AirLay backend

ExcelConverter
in package

Table of Contents

convertToExcel()  : Spreadsheet
convertCoordinates()  : array<string|int, mixed>
convertGeometryType()  : string
convertPropertyName()  : string
convertPropertyValue()  : string
createExcelData()  : array<string|int, mixed>

Methods

convertToExcel()

public static convertToExcel(array<string|int, mixed> $objects) : Spreadsheet
Parameters
$objects : array<string|int, mixed>
Tags
throws
JsonException
Return values
Spreadsheet

convertCoordinates()

private static convertCoordinates(array<string|int, mixed> $coordinates, string $type) : array<string|int, mixed>
Parameters
$coordinates : array<string|int, mixed>
$type : string
Return values
array<string|int, mixed>

convertGeometryType()

private static convertGeometryType(string $geometryType) : string
Parameters
$geometryType : string
Return values
string

convertPropertyName()

private static convertPropertyName(string $propertyName, mixed $propertyValue) : string
Parameters
$propertyName : string
$propertyValue : mixed
Return values
string

convertPropertyValue()

private static convertPropertyValue(mixed $propertyValue) : string
Parameters
$propertyValue : mixed
Return values
string

createExcelData()

private static createExcelData(array<string|int, mixed> $objects) : array<string|int, mixed>
Parameters
$objects : array<string|int, mixed>
Tags
throws
JsonException
Return values
array<string|int, mixed>

Search results