Abstract base mod rewrite class.

Provides some common features such as common debugging, globals/configuration access for childs.

author Murat Purc
package plugin
subpackage Mod Rewrite

 Methods

Returns configuration of mod rewrite, content of gobal $cfg['mod_rewrite']

getConfig(string $key, mixed $default) : mixed
Static

Parameters

$key

string

Name of configuration key

$default

mixed

Default value to return as a fallback

Returns

mixedDesired value mr configuration, either the full configuration or one of the desired subpart

Returns enabled state of mod rewrite plugin

isEnabled() : bool
Static

Returns

bool

Sets the configuration of mod rewrite, content of gobal $cfg['mod_rewrite']

setConfig(string $key, mixed $value) 
Static

Parameters

$key

string

Name of configuration key

$value

mixed

The value to set

Sets the enabled state of mod rewrite plugin

setEnabled(bool $bEnabled) 
Static

Parameters

$bEnabled

bool