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
$_bRoutingFound
= false (line 103)
Flag about found routing definition
int
$_iClientMR
(line 89)
Client id used by this class
string
$_sArtName
(line 61)
Extracted article name from request uri
string
$_sIncommingUrl
(line 75)
Incomming URL
string
$_sPath
(line 68)
Remaining path for path resolver (see $GLOBALS['path'])
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'])
Returns a flag about found routing definition
return bool Flag about found routing
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 Mon, 08 Sep 2008 03:08:43 +0200 by phpDocumentor 1.4.0