Lizmap Web Client Master

project_listZone extends jZone
in package

Construct a list of Lizmap projects.

Tags
author

3liz

copyright

2022 3liz

see
http://3liz.com
license

Mozilla Public License : http://www.mozilla.org/MPL/

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.
pluginIntVersionToSortableString()  : string
Transform int formatted version (from 5 or 6 integer) to sortable string .
qgisMajMinHumanVersion()  : string

Properties

Methods

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

pluginIntVersionToSortableString()

Transform int formatted version (from 5 or 6 integer) to sortable string .

private pluginIntVersionToSortableString(string $intVersion) : string

Transform "10102" into "01.01.02" Transform "050912" into "05.09.12"

Parameters
$intVersion : string

the lizmap QGIS plugin version (not always int !!)

Return values
string

the version as sortable string

qgisMajMinHumanVersion()

private qgisMajMinHumanVersion(mixed $qgisIntVersion) : string
Parameters
$qgisIntVersion : mixed
Return values
string

        
On this page

Search results