Kajona\System\Admin\LoginAdmin

This class shows a little LoginScreen if the user is net yet logged in

Synopsis

class LoginAdmin extends AdminController implements AdminInterface {
  • // constants
  • const SESSION_REFERER = "LOGIN_SESSION_REFERER";
  • const SESSION_PARAMS = "LOGIN_SESSION_PARAMS";
  • const SESSION_LOAD_FROM_PARAMS = "LOGIN_SESSION_LOAD_FROM_PARAMS";
}

Hierarchy

Tasks

Line Task
197+ could be moved to a general admin-skin helper

Constants

Name Value
SESSION_REFERER "LOGIN_SESSION_REFERER"
SESSION_PARAMS "LOGIN_SESSION_PARAMS"
SESSION_LOAD_FROM_PARAMS "LOGIN_SESSION_LOAD_FROM_PARAMS"
STR_MODULE_ANNOTATION "@module"
STR_MODULEID_ANNOTATION "@moduleId"

Members

protected

Methods

private

protected

  • actionAdminLogin() — Generates the form to fetch the credentials required to authenticate a user
  • actionAdminlogout() — Ends the session of the current user and redirects back to the login-screen
  • actionLogin() — Creates a small login-field
  • actionPwdReset() — Creates a form in order to change the password - if the authcode is valid

public

Inherited from Kajona\System\Admin\AdminController

protected

public

  • action() — This method triggers the internal processing.
  • adminReload() — Use this method to reload a specific url.
  • getLanguageToWorkOn() — Loads the language to edit content
  • getModuleData() — Returns the data for a registered module FIXME: validate if still required
  • getModuleDescription() — Creates a text-based description of the current module.
  • getModuleOutput() — Basic controller method invoking all further methods in order to generate an admin view.
  • getModuleRightNaviEntry() — Renders the "always present" module permissions entry for each module (takes the currents' user permissions into account).
  • getModuleSystemid() — Returns the SystemID of a installed module
  • getOutputModuleNavi() — Writes the ModuleNavi, overwrite if needed Use two-dim arary: array[ array["right", "link"], array["right", "link"] ]

Inherited from Kajona\System\System\AbstractController

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