ModRewriteControllerMod Rewrite controller class. Extracts url parts and sets some necessary globals like:
Located in /contenido/plugins/mod_rewrite/classes/class.modrewritecontroller.php (line 29)
ModRewriteBase | --ModRewriteController
array
$_aParts
(line 36)
Extracted request uri path parts by path separator '/'
bool
$_bError
= false (line 78)
Flag about occured errors
bool
$_bRoutingFound
= false (line 85)
Flag about found routing definition
int
$_iClientMR
(line 71)
Client id used by this class
string
$_sArtName
(line 43)
Extracted article name from request uri
string
$_sIncommingUrl
(line 57)
Incomming URL
string
$_sPath
(line 50)
Remaining path for path resolver (see $GLOBALS['path'])
string
$_sResolvedUrl
(line 64)
Resolved URL
Inherited from ModRewriteBase
ModRewriteBase::$_oDebug
ModRewriteBase::$_oGlobals
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
Parses the url using defined separators
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.
Sets path resolver and category id
Inherited From ModRewriteBase
ModRewriteBase::getConfig()
ModRewriteBase::initialize()
ModRewriteBase::isEnabled()
Documentation generated on Wed, 24 Dec 2008 21:44:00 +0100 by phpDocumentor 1.4.1