Kajona\Portallogin\Portal\Elements\ElementPortalloginPortal

Portal Element to load the login-form, or a small "status" area, providing an logout link

Synopsis

class ElementPortalloginPortal extends ElementPortal implements PortalElementInterface {
}

Hierarchy

Constants

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

Members

protected

Methods

private

  • doLogin() — Tries to log the user with the given credentials into the system.
  • doLogout() — Logs the user out off the system
  • editUserData() — Creates a form to edit a users data
  • loginForm() — Creates a form to login The template has to provide at least the following html-input-elements: portallogin_username, portallogin_password, action (hidden)
  • newPwdForm() — Creates a form to enter the new password of the account to reset.
  • resetForm() — Creates a form to enter the username of the account to reset.
  • statusArea() — Creates a small status-area, providing a link to logout

public

  • loadData() — Checks what to do and invokes the proper method Notice: In case of success, a location-header is sent, too. Needed, cause otherwise the rights would not be checked during the login/-logout-loading against the new user-id!

Inherited from Kajona\Pages\Portal\ElementPortal

protected

public

Inherited from Kajona\System\Portal\PortalController

protected

public

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