Documentation

pm_WebServer_IIS extends pm_WebServer_Abstract
in package
implements pm_WebServer_Interface

IIS service interface

Tags
since
18.0

Interfaces, Classes and Traits

pm_WebServer_Interface
Web server service interface

Table of Contents

__construct()  : mixed
getParameter()  : string|null
Get web server parameter
getWebConfig()  : mixed
Get folder web.config file contents for specified folder
isEnabled()  : bool
Check whether the server is enabled
isInstalled()  : bool
Check whether the server is installed
isRunning()  : bool
Check whether the server is running
setWebConfig()  : void
Save given contents to web.config file in specified folder
getIisServiceData()  : array<string|int, mixed>

Methods

__construct()

public __construct() : mixed
Return values
mixed

getParameter()

Get web server parameter

public getParameter(string $name) : string|null
Parameters
$name : string

Parameter name (see constants)

Tags
throws
pm_Exception

If requested parameter is not known

since
18.0.47
Return values
string|null

getWebConfig()

Get folder web.config file contents for specified folder

public getWebConfig(pm_Domain $domain, string $relativePath) : mixed
Parameters
$domain : pm_Domain
$relativePath : string
Tags
since
18.0.32
Return values
mixed

isEnabled()

Check whether the server is enabled

public isEnabled() : bool
Return values
bool

isInstalled()

Check whether the server is installed

public isInstalled() : bool
Return values
bool

isRunning()

Check whether the server is running

public isRunning() : bool
Return values
bool

setWebConfig()

Save given contents to web.config file in specified folder

public setWebConfig(pm_Domain $domain, string $relativePath, string $configContent) : void
Parameters
$domain : pm_Domain
$relativePath : string
$configContent : string
Tags
since
18.0.32
Return values
void

getIisServiceData()

protected getIisServiceData() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results