Content expert controller for expert settings/actions.

author Murat Purc
package plugin
subpackage Mod Rewrite

 Methods

Constructor, sets some properties by assigning global variables to them.

__construct() 
Inherited
inherited_from \ModRewrite_ControllerAbstract::__construct()

Copy htaccess action

copyHtaccessAction() 

Download htaccess action

downloadHtaccessAction() 

Property getter.

getProperty(string $key, mixed $default) : mixed
Inherited
inherited_from \ModRewrite_ControllerAbstract::getProperty()

Parameters

$key

string

$default

mixed

Returns

mixed

Template getter.

getTemplate() : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::getTemplate()

Returns

string

View property getter.

getView() : object
Inherited
inherited_from \ModRewrite_ControllerAbstract::getView()

Returns

object

Index action

indexAction() 

Initializer method, sets the paths to htaccess files

init() 

This method will be invoked in constructor of ModRewrite_ControllerAbstract.

Renders template by replacing all view variables in template.

render(string $template) : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::render()

Parameters

$template

string

Either full path and name of template file or a template string. If not passed, previous set template will be used.

Exceptions

\cException if no template is set

Returns

string

Reset aliases action

resetAction() 

Reset only empty aliases action

resetEmptyAction() 

Property setter.

setProperty(string $key, mixed $value) 
Inherited
inherited_from \ModRewrite_ControllerAbstract::setProperty()

Parameters

$key

string

$value

mixed

Template setter.

setTemplate(string $sTemplate) 
Inherited
inherited_from \ModRewrite_ControllerAbstract::setTemplate()

Parameters

$sTemplate

string

Either full path and name of template file or a template string.

View property setter.

setView(object $oView) 
Inherited
inherited_from \ModRewrite_ControllerAbstract::setView()

Parameters

$oView

object

Returns parameter from request, the order is: - Return from $_GET, if found - Return from $_POST, if found

_getParam(string $key, mixed $default) : mixed
Inherited
inherited_from \ModRewrite_ControllerAbstract::_getParam()

Parameters

$key

string

$default

mixed

The default value

Returns

mixed

Returns rendered notification markup by using global $notification variable.

_notifyBox(string $type, string $msg) : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::_notifyBox()

Parameters

$type

string

One of cGuiNotification::LEVEL_* constants

$msg

string

The message to display

Returns

string

 Properties

 

$_action : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_action
 

$_area : int | string
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_area
 

$_cfg : array
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_cfg
 

$_client : int
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_client
 

$_contenido : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_contenido
 

$_debug : bool
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_debug
 

$_frame : int
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_frame
 

$_htaccessRestrictive : string
 

$_htaccessSimple : string
 

$_oView : \stdClass
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_oView
 

$_properties : array
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_properties
 

$_template : string
Inherited
inherited_from \ModRewrite_ControllerAbstract::$$_template