Method | Description | |
---|---|---|
__construct ( Tdt\Core\Repositories\Interfaces\TabularColumnsRepositoryInterface $tabular_columns, Tdt\Core\Repositories\Interfaces\GeoPropertyRepositoryInterface $geo_properties ) | ||
getFileExtension ( $file ) | Retrieve the file extension from the xls file. (xls or xlsx) | |
loadExcel ( $file, $type, $sheet ) | Create an Excel PHP Reader object from the Excel sheet. | |
parseColumns ( $input ) | Retrieve colummn information from the request parameters. | |
readData ( $source_definition, $rest_parameters = [] ) |
Method | Description | |
---|---|---|
createValues ( $columns, $data ) | This function returns an array with key=column-name and value=data given a certain data row. |
public __construct ( Tdt\Core\Repositories\Interfaces\TabularColumnsRepositoryInterface $tabular_columns, Tdt\Core\Repositories\Interfaces\GeoPropertyRepositoryInterface $geo_properties ) | ||
$tabular_columns | Tdt\Core\Repositories\Interfaces\TabularColumnsRepositoryInterface | |
$geo_properties | Tdt\Core\Repositories\Interfaces\GeoPropertyRepositoryInterface |
public static getFileExtension ( $file ) |
public static loadExcel ( $file, $type, $sheet ) |
public static parseColumns ( $input ) |