Function RevisionEngineFiles->has_revisions

Definitions

sources/revisions_engine_files.php

  • Find if there are revisions of something.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

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

Return

  • Whether there are revisions
  • Type: boolean
  • Set: N/A
  • Range: N/A