pm_WebServer_IIS
extends pm_WebServer_Abstract
in package
implements
pm_WebServer_Interface
IIS service interface
Tags
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
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
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
Return values
void —getIisServiceData()
protected
getIisServiceData() : array<string|int, mixed>