Kajona\System\System\SystemChangelog

The changelog is a global wrapper to the gui-based logging.

Changes should reflect user-changes and not internal system-logs.
For logging to the logfile, see Logger.
But: entries added to the changelog are copied to the systemlog leveled as information, too.
Changes are stored as a flat list in the database only and have no representation within the
system-table. This means there are no common system-id relations.
Have a look at the memento pattern by Gamma et al. to get a glance at the conceptional behaviour.

Synopsis

class SystemChangelog {
  • // constants
  • const ANNOTATION_PROPERTY_VERSIONABLE = "@versionable";
}

Tasks

Line Task
+ : is the init value cache still required?

Constants

Name Value
ANNOTATION_PROPERTY_VERSIONABLE "@versionable"

Members

private

  • $arrCachedProviders
  • $arrInitValueCache — array
  • $arrInsertCache
  • $arrOldInstances
  • $arrOldValueCache

public

  • $STR_ACTION_DELETE
  • $STR_ACTION_EDIT
  • $bitChangelogEnabledKajona\System\System\bool
    A flag to enable / disable the changehistory programatically.

Methods

private

public