phpDocumentor

ServerInformation

Class ServerInformation

Table of Contents

$htaccessVersion  : string|null
$modRewriteWorking  : bool|null
__construct()  : mixed
ServerInformation constructor.
htaccessVersionAvailable()  : bool
returns the htaccess version available state.
htaccessVersionGreaterEquals()  : bool
Checks if the given htaccess version is greater or equal compared to the current htaccess version.
modRewriteAvailable()  : bool
Returns the mod rewrite available state.
modRewriteWorking()  : bool
Returns the mod rewrite working state.

Properties

Methods

__construct()

ServerInformation constructor.

public __construct(string|null $modRewriteWorking, string|null $htaccessVersion) : mixed
Parameters
$modRewriteWorking : string|null
$htaccessVersion : string|null
Return values
mixed

htaccessVersionAvailable()

returns the htaccess version available state.

public htaccessVersionAvailable() : bool
Return values
bool

htaccessVersionGreaterEquals()

Checks if the given htaccess version is greater or equal compared to the current htaccess version.

public htaccessVersionGreaterEquals(string $version) : bool
Parameters
$version : string
Return values
bool

modRewriteAvailable()

Returns the mod rewrite available state.

public modRewriteAvailable() : bool
Return values
bool

modRewriteWorking()

Returns the mod rewrite working state.

public modRewriteWorking() : bool
Return values
bool

Search results