PluginsController

Extends \LSYii_Controller

todo

Not used, copied to admin/pluginmanager.php. Delete this file?

todo

Actually, it's used for action direct.

package

Default

Methods

Basic initialiser to the base controller class

__construct(string $id, \CWebModule $module = null) 
inherited
access

public

Arguments

$id

string

$module

\CWebModule

__get

__get( $property) 

Arguments

$property

__set

__set( $property,  $value) 

Arguments

$property

$value

Check that installation was already done by looking for config.php Will redirect to the installer script if not exists.

_checkInstallation() : void
inherited
access

protected

_init

_init() 
inherited

Activates plugin with $id

actionActivate(integer $id) : void

Arguments

$id

integer

Show configuration for plugin with $id

actionConfigure(integer $id) : void

Arguments

$id

integer

Deactivates plugin with $id

actionDeactivate(integer $id) : void

Arguments

$id

integer

Launch the event newDirectRequest

actionDirect( $plugin,  $function = null) 

Arguments

$plugin

: the target

$function

: the function to call from the plugin

Show list of plugins

actionIndex() : void

Launch the event newUnsecureRequest

actionUnsecure( $plugin,  $function = null) 

Arguments

$plugin

: the target

$function

: the function to call from the plugin

Creates an absolute URL based on the given controller and action information.

createAbsoluteUrl(string $route, array $params = array(), string $schema = '', string $ampersand = '&') : string
inherited

Arguments

$route

string

the URL route. This should be in the format of 'ControllerID/ActionID'.

$params

array

additional GET parameters (name=>value). Both the name and value will be URL-encoded.

$schema

string

schema to use (e.g. http, https). If empty, the schema used for the current request will be used.

$ampersand

string

the token separating name-value pairs in the URL.

Response

string

the constructed URL

filters

filters() 
todo

Doc

Loads a helper

loadHelper(string $helper) : void
inherited
access

public

Arguments

$helper

string

Loads a library

loadLibrary(string $library) : void
inherited
access

public

Arguments

$library

string

Loads page states from a hidden input.

loadPageStates() : array
inherited

Response

array

the loaded page states

Properties

Stored dynamic properties set and unset via __get and __set.

properties : array
var

of mixed.

Type(s)

array

This array contains the survey / group / question id used by the menu widget.

navData : array
inherited
var

Type(s)

array