Function RevisionEngineDatabase->has_revisions

Definitions

sources/revisions_engine_database.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
$resource_types array required parameter N/A N/A Allowed resource types
$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)

Return

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