ModRewriteControllerMod Rewrite controller class. Extracts url parts and sets some necessary globals like:
Located in /contenido/plugins/mod_rewrite/classes/class.modrewritecontroller.php (line 33)
array
$_aCfg
(line 40)
Contenido configuration array (see $GLOBALS['cfg'])
array
$_aCfgMR
(line 47)
Mod Rewrite configuration array (see $GLOBALS['cfg']['mod_rewrite'])
array
$_aParts
(line 54)
Extracted request uri path parts by path separator '/'
bool
$_bError
= false (line 96)
Flag about occured errors
bool
$_bIsRouting
= false (line 103)
Flag about matched routing definition
int
$_iClientMR
(line 89)
Client id used by this class
string
$_sArtName
(line 61)
Extracted article name from request uri
string
$_sPath
(line 68)
Remaining path for path resolver (see $GLOBALS['path'])
string
$_sRequestUri
(line 75)
Request URI
string
$_sResolvedUrl
(line 82)
Resolved URL
Constructor, sets several properties.
Main function to call for mod rewrite related preprocessing jobs.
Executes some private functions to extract request URI and to set needed membervariables (client, language, article id, category id, etc.)
Getter for overwritten change client id (see $GLOBALS['changeclient'])
Getter for change language id (see $GLOBALS['change_lang'])
Extracts request URI and sets member variables $this->_sArtName and $this->_aParts
Overrides local mod rewrite cfg settings with client settings from database
Does post validation of the extracted data.
One main goal of this function is to prevent duplicated content, which could happen, if the configuration 'startfromroot' is activated.
Preprocesses article name and parts list, sets article name and parts list if settings for usage of categories as a html file is active and valid.
Sets path resolver and category id
Documentation generated on Tue, 12 Aug 2008 00:06:20 +0200 by phpDocumentor 1.4.0