Class ModRewriteController
Mod Rewrite controller class. Extracts url parts and sets some necessary globals like:
- $idart
- $idcat
- $client
- $changeclient
- $lang
- $changelang
- ModRewriteBase
- ModRewriteController
Package: Plugin\ModRewrite
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at plugins/mod_rewrite/classes/class.modrewritecontroller.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at plugins/mod_rewrite/classes/class.modrewritecontroller.php
public
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
integer
|
|
public
string
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
integer
|
|
public
|
|
private
|
#
_extractRequestUri( boolean $secondCall = false )
Extracts request URI and sets member variables $this->_sArtName and $this->_aParts |
private
|
#
_initializeClientId( )
Tries to initialize the client id. This is required to load the proper plugin configuration for current client. |
private
|
|
private
|
|
private
|
|
private
|
|
private
|
|
private
|
|
private
string
|
|
private
boolean
|
|
private
boolean
|
|
private
|
getConfig(),
isEnabled(),
setConfig(),
setEnabled()
|
integer |
ERROR_CLIENT
|
1 |
|
integer |
ERROR_LANGUAGE
|
2 |
|
integer |
ERROR_CATEGORY
|
3 |
|
integer |
ERROR_ARTICLE
|
4 |
|
integer |
ERROR_POST_VALIDATION
|
5 |
|
string |
FRONT_CONTENT
|
'front_content.php' |
private
array
|
$_aParts |
|
#
Extracted request uri path parts by path separator '/' |
private
string
|
$_sArtName |
|
#
Extracted article name from request uri |
private
string
|
$_sPath |
|
#
Remaining path for path resolver (see $GLOBALS['path']) |
private
string
|
$_sIncommingUrl |
|
#
Incomming URL |
private
string
|
$_sResolvedUrl |
|
#
Resolved URL |
private
integer
|
$_iClientMR |
|
#
Client id used by this class |
private
integer
|
$_iLangMR |
|
#
Language id used by this class |
private
boolean
|
$_bError | false |
#
Flag about occured errors |
private
integer
|
$_iError | 0 |
#
One of ERROR_* constants or 0 |
private
boolean
|
$_bRoutingFound | false |
#
Flag about found routing definition |