Kajona\System\System\AbstractController

A common base class for AdminController and PortalController.

Use one of both to create admin-/portal-views.
Do NOT extend this class directly.

Synopsis

class AbstractController {
  • // constants
  • const STR_MODULE_ANNOTATION = "@module";
  • const STR_MODULEID_ANNOTATION = "@moduleId";
}

Constants

Name Value
STR_MODULE_ANNOTATION "@module"
STR_MODULEID_ANNOTATION "@moduleId"

Members

private

  • $objModuleKajona\System\System\SystemModule
    Instance of the current modules' definition
  • $strAction — string
    Current action-name, used for the controller current action to perform (GET/POST)
  • $strLangBase — string
    The current module to load lang-files from String containing the current module to be used to load texts
  • $strSystemid — string
    The current systemid as passed by the constructor / params

protected

Methods

protected

  • getObjLang() — Returns the current Text-Object Instance
  • getObjModule() — Returns the current instance of SystemModule, based on the current subclass.
  • setStrLangBase() — Sets the textbase, so the module used to load texts

public