Kajona\System\Admin\AdminHelper

A class holding common helper-methods for the backend.

The main purpose is to reduce the code stored at AdminController

Synopsis

class AdminHelper {
}

Methods

public

  • flushActionNavigationCache() — Static helper to flush the complete backend navigation cache for the current session May be used during language-changes or user-switches
  • getAdminPathNavi() — Adds a menu-button to the second entry of the path-array. The menu renders the list of all modules installed, including a quick-jump link.
  • getModuleActionNaviHelper() — Fetches the list of actions for a single module, saved to the session for performance reasons