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 26)


	
			
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
Method Summary
 static mixed getConfig ([string $key = null], [ $default = null])
 static void initialize ()
 static bool isEnabled ()
Variables
static Contenido_mpDebug $_oDebug (line 33)

Debugger instance

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

Globals instance

  • access: protected
Methods
static getConfig (line 69)

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 46)

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 57)

Returns enabled state of mod rewrite plugin

  • access: public
bool isEnabled ()

Documentation generated on Sun, 08 Feb 2009 22:00:32 +0100 by phpDocumentor 1.4.1