Abstract base mod rewrite class.

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

author Murat Purc
package Contenido Backend plugins
subpackage ModRewrite

 Methods

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

getConfig(string $key, $default) : mixed

Parameters

$key

string

Name of configuration key

$default

Returns

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

Returns enabled state of mod rewrite plugin

isEnabled() : bool

Returns

bool

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

setConfig(string $key, mixed $value) 

Parameters

$key

string

Name of configuration key

$value

mixed

The value to set

Sets the enabled state of mod rewrite plugin

setEnabled($bEnabled) 

pparam bool $bEnabled

Parameters

$bEnabled