Abstract Class ModRewriteBase

Description

Abstract base mod rewrite class.

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

Located in /contenido/plugins/mod_rewrite/classes/class.modrewritebase.php (line 28)


	
			
Direct descendents
Class Description
 class ModRewrite Class to create websafe names
 class ModRewriteController Mod Rewrite controller class. Extracts url parts and sets some necessary globals like:
 class ModRewriteUrlUtil Mod Rewrite url utility class. Handles convertion of Urls from contenido core based url composition pattern to AMR (Advanced Mod Rewrite) url composition pattern and vice versa.
Variable Summary
 static Contenido_mpDebug $_oDebug
 static mpGlobals $_oGlobals
Method Summary
 static mixed getConfig ([string $key = null], [ $default = null])
 static void initialize ()
 static bool isEnabled ()
Variables
static Contenido_mpDebug $_oDebug (line 35)

Debugger instance

  • access: protected
static mpGlobals $_oGlobals (line 42)

Globals instance

  • access: protected
Methods
static getConfig (line 71)

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

  • return: Desired value mr configuration, either the full configuration or one of the desired subpart
  • access: public
mixed getConfig ([string $key = null], [ $default = null])
  • string $key: Name of configuration key
  • $default
static initialize (line 48)

Initialization, is to call at least once by an child.

  • access: protected
void initialize ()

Redefined in descendants as:
  • ModRewrite::initialize() : Initialization, is to call at least once, also possible to call multible times, if different client configuration is to load.
static isEnabled (line 59)

Returns enabled state of mod rewrite plugin

  • access: public
bool isEnabled ()

Documentation generated on Tue, 25 Nov 2008 22:07:22 +0100 by phpDocumentor 1.4.1