Function RevisionEngineDatabase->total_revisions

Definitions

sources/revisions_engine_database.php

  • Find number of revisions of something.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$resource_types ?array required parameter 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)

Return

  • Total revisions
  • Type: integer
  • Set: N/A
  • Range: N/A