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
- 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() : mixed
- Save given contents to web.config file in specified folder
- getIisServiceData() : array<string|int, mixed>
Methods
__construct()
public
__construct() : mixed
Return values
mixed —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) : mixed
Parameters
- $domain : pm_Domain
- $relativePath : string
- $configContent : string
Tags
Return values
mixed —getIisServiceData()
protected
getIisServiceData() : array<string|int, mixed>