ConsoleApplication

Extends\CConsoleApplication

package

Default

Methods

__construct

__construct( $aApplicationConfig = null)

Arguments

$aApplicationConfig

Get the Api object.

getApi()

getAssetManager

getAssetManager(): \CAssetManager

Response

\CAssetManager

the asset manager component

Returns the client script manager.

getClientScript(): \CClientScript

Response

\CClientScript

the client script manager

Returns a config variable from the config

getConfig(string $name = null): mixed
access

public

Arguments

$name

string

Response

mixed

This function is implemented since em_core_manager incorrectly requires it to create urls.

getController()

Returns the plugin manager

getPluginManager(): \IApplicationComponent

Response

\IApplicationComponent

getSession

getSession()

Loads a helper

loadHelper(string $helper): void
access

public

Arguments

$helper

string

Sets a configuration variable into the config

setConfig(string $name,mixed $value): void
access

public

Arguments

$name

string

$value

mixed

Properties

config

config :

Type(s)

api

api :\LimeSurvey\PluginManager\LimesurveyApi