package | Default |
---|
__construct(string $id,\CWebModule $module = null)
access | public |
---|---|
string
\CWebModule
_checkInstallation(): void
access | protected |
---|---|
actions(): array
todo REFACTORING we don't have to refactore this method ...
access | public |
---|---|
array
createAbsoluteUrl(string $route,array $params = array(),string $schema = '',string $ampersand = '&'): string
string
the URL route. This should be in the format of 'ControllerID/ActionID'.
array
additional GET parameters (name=>value). Both the name and value will be URL-encoded.
string
schema to use (e.g. http, https). If empty, the schema used for the current request will be used.
string
the token separating name-value pairs in the URL.
string
the constructed URL
customInit()
error(string $message, $sURL = array()): void
todo REFACTORING is this still in use? can't find any call in an action or a view ... todo its used multiple times getController->error, all calls should be replaceable by setFlashMessage
access | public |
---|
string
The error message
getActionClasses()
getAdminHeader(boolean $meta = false,boolean $return = false): string|null
REFACTORED (in LayoutHelper.php)
access | protected |
---|
boolean
boolean
string|null
getAdminModulesActionClasses()
getModulesActions(): array
todo REFACTORING we don't have to refactore this method ...
access | public |
---|---|
array
getOverridenCoreAction(): array
REFACTORED ( in LSYiiController)
array
loadEndScripts(): boolean|string
Throws |
|
---|
boolean|string
loadHelper(string $helper): void
access | public |
---|
string
loadLibrary(string $library): void
access | public |
---|
string
loadPageStates(): array
array
the loaded page states
renderPartial(string $view,array $data = null,boolean $return = false,boolean $processOutput = false): string
This work recusively with infinite depth of subdirectories.
see | \getViewFile\processOutput\render |
---|---|
Throws |
|
string
name of the view to be rendered. See {@link getViewFile} for details about how the view script is resolved.
array
data to be extracted into PHP variables and made available to the view script
boolean
whether the rendering result should be returned instead of being displayed to end users
boolean
whether the rendering result should be postprocessed using {@link processOutput}.
string
the rendering result. Null if the rendering result is not required.
run(string $action): boolean|null
REFACTORED ( in LSBaseController)
access | public |
---|
string
boolean|null
runModuleController( $action)
REFACTORED ( in LSBaseController)
sessioncontrol(): void
REFACTORED (in LSBaseController)
access | protected |
---|---|
showMessageBox(string $title,string $message,string $class = "message-box-error",boolean $return = false): string|null
REFACTORED ( in LayoutHelper.php )
access | public |
---|
string
string
string
boolean
string|null
sTemplate :
layout :
aAdminModulesClasses :
user_id :
aOverridenCoreActions :
currentModuleAction :
navData :array
var |
---|
array