Function RevisionEngineFiles->ui_revisions_controller

Definitions

sources/revisions_engine_files.php

  • Browse revisions to undo one.More details are shown in the actionlog, which is linked from here.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$directory PATH required parameter N/A N/A Directory where revisions are stored
$filename_id string required parameter N/A N/A ID of what was revised (=base filename, no extension)
$ext string required parameter N/A N/A File extension for revisable files
$action string required parameter N/A N/A The action the revision is for, a language string
$text string required parameter N/A N/A Current resource text (may be altered by reference)
$revision_loaded ?boolean Null N/A N/A Whether a revision was loaded, passed by reference (null: initial value)

Return

  • UI
  • Type: Tempcode
  • Set: N/A
  • Range: N/A