Lizmap Web Client 3.10.0

project_restCtrl extends RestApiCtrl
in package

Table of Contents

Methods

delete()  : mixed
get()  : object
Retrieves project information based on the provided parameters.
post()  : object
put()  : mixed
getProjDetail()  : object
Return detailed information and user rights.
getProjList()  : object
Return a list of available projects and their basic information.

Methods

get()

Retrieves project information based on the provided parameters.

public get() : object

If a specific project is requested, detailed information are returned. Otherwise, a list of available project and their basic information is returned.

Return values
object

a JSON response object containing project data

getProjDetail()

Return detailed information and user rights.

protected getProjDetail(jResponseJson $rep, lizmapRepository $repo) : object
Parameters
$rep : jResponseJson

response to fill

$repo : lizmapRepository

repository

Return values
object

a JSON response object containing a specific repository with rights

getProjList()

Return a list of available projects and their basic information.

protected getProjList(jResponseJson $rep, lizmapRepository $repo) : object
Parameters
$rep : jResponseJson

response to fill

$repo : lizmapRepository

repository

Return values
object

a JSON response object containing projects


        
On this page

Search results