project_listZone
extends jZone
in package
Construct a list of Lizmap projects.
Tags
Table of Contents
Properties
- $_tplname : mixed
Methods
- _prepareTpl() : mixed
- getProjectInspection() : array<string|int, mixed>
- Get the QGIS project inspection data pre-generated by the 3liz qgis-project-validator inspection command.
- getProjectListItem() : array<string|int, mixed>
- Get the QGIS project properties which must be displayed in the administration project list table.
Properties
$_tplname
protected
mixed
$_tplname
= 'project_list_zone'
Methods
_prepareTpl()
protected
_prepareTpl() : mixed
getProjectInspection()
Get the QGIS project inspection data pre-generated by the 3liz qgis-project-validator inspection command.
private
getProjectInspection(string $inspectionDirectoryPath, string $projectRelativePath) : array<string|int, mixed>
It returns the project loading time, memory consumption, invalid layers
Parameters
- $inspectionDirectoryPath : string
-
The path where the inspection files are stored
- $projectRelativePath : string
-
The QGIS project relative path
Return values
array<string|int, mixed> —The data from inspection
getProjectListItem()
Get the QGIS project properties which must be displayed in the administration project list table.
private
getProjectListItem(string $inspectionDirectoryPath, ProjectMetadata $projectMetadata) : array<string|int, mixed>
Parameters
- $inspectionDirectoryPath : string
-
The path where the inspection files are stored
- $projectMetadata : ProjectMetadata
-
The QGIS project metadata instance
Return values
array<string|int, mixed> —The QGIS project properties