Function RevisionEngineFiles->find_revisions

Definitions

sources/revisions_engine_files.php

  • Retrieve revisions of something.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

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 Null N/A N/A The action the revision is for, a language string (null: no filter)
$revision_time ?TIME Null N/A N/A The creation timestamp for a particular revision to retrieve (null: no filter)
$max ?integer 100 N/A N/A Maximum to return (null: no limit)
$start integer 0 N/A N/A Start offset
$limited_data boolean False N/A N/A Whether to only collect IDs and other simple low-bandwidth data

Return

  • List of revision maps
  • Type: array
  • Set: N/A
  • Range: N/A