phpDocumentor

WmsServerTest extends WmsServer
in package

Test d'utilisation de la classe WmsServer

Table of Contents

Properties

$debug  : int
$logfilename  : string

Methods

exception()  : never
Envoi d'une exception WMS
getCapabilities()  : never
La classe concrète doit fournir une méthode getCapabilities()
getFeatureInfo()  : never
La classe concrète peut fournir une méthode getFeatureInfo()
getMap()  : never
La classe concrète doit fournir une méthode getMap()
init()  : void
possibilité de modifier le nom du fichier de log
log()  : void
écrit un message dans le fichier des logs
process()  : never
traite une requête WMS

Properties

$logfilename

public static string $logfilename = __DIR__ . '/wmsserver_logfile.txt'

Methods

exception()

Envoi d'une exception WMS

public static exception(int $httpErrorCode, string $mesUti[, string $wmsErrorCode = '' ][, string $mesSys = '' ]) : never
Parameters
$httpErrorCode : int

code d'erreur HTTP

$mesUti : string

message destiné à l'utilisateur

$wmsErrorCode : string = ''
$mesSys : string = ''
Return values
never

getCapabilities()

La classe concrète doit fournir une méthode getCapabilities()

public getCapabilities([string $version = '' ]) : never
Parameters
$version : string = ''
Return values
never

getFeatureInfo()

La classe concrète peut fournir une méthode getFeatureInfo()

public getFeatureInfo(array<int, string> $lyrnames, string $crs, TPos $pos, int $featureCount, array<int, float> $pixelSize, string $format) : never
Parameters
$lyrnames : array<int, string>
$crs : string
$pos : TPos
$featureCount : int
$pixelSize : array<int, float>
$format : string
Return values
never

getMap()

La classe concrète doit fournir une méthode getMap()

public getMap(string $version, array<string|int, mixed> $lyrnames, array<string|int, mixed> $styles, array<string|int, mixed> $bbox, string $crs, int $width, int $height, string $format, string $transparent, string $bgcolor) : never
Parameters
$version : string
$lyrnames : array<string|int, mixed>
$styles : array<string|int, mixed>
$bbox : array<string|int, mixed>
$crs : string
$width : int
$height : int
$format : string
$transparent : string
$bgcolor : string
Return values
never

init()

possibilité de modifier le nom du fichier de log

public static init(array<string, string> $params) : void
Parameters
$params : array<string, string>

log()

écrit un message dans le fichier des logs

public static log(string $message) : void
Parameters
$message : string

process()

traite une requête WMS

public process(array<string, string> $params) : never
Parameters
$params : array<string, string>

copie de _GET

Return values
never

        
On this page

Search results