Function RevisionEngineDatabase->find_revisions

Definitions

sources/revisions_engine_database.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
$resource_types ?array Null N/A N/A Allowed resource types (null: no filter)
$resource_id ?string Null N/A N/A Resource ID (null: no filter)
$category_id ?string Null N/A N/A Category ID (null: no filter)
$member_id ?MEMBER Null N/A N/A Member ID (null: no filter)
$revision_id ?AUTO_LINK Null N/A N/A The ID 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