API docs     >     Content Blocks     >     Cblock

Cblock->getVersions

Description

getVersions ( )

Reimplemented from

Versionable
Gets all versions of this Cblock

Returns

array|false
Array of versions or FALSE in case of an error
  1. Array(
  2.     [0] => Array(
  3.         [ID] => 234
  4.         [OBJECTID] => 229
  5.         [FOLDER] => 0
  6.         [TEXT] =>
  7.         [TEXTPREVIEW] =>
  8.         [VERSION] => 2
  9.         [APPROVED] => 0
  10.         [CREATEDBY] => 1
  11.         [CHANGEDBY] => 1
  12.         [HASCHANGED] => 0
  13.         [LOCKED] => 0
  14.         [LOCKUID] => 1
  15.         [TOKEN] =>
  16.         [DELETED] => 0
  17.         [COMMENTSTATUS] => 1
  18.         [COMMENTSTATUS_AUTO] => 1
  19.         [CREATEDTS] => 1339411731
  20.         [CHANGEDTS] => 1339411778
  21.         [EMBEDDED] => 0
  22.         [OID] => 234
  23.         [NAME] => Test Contentblock
  24.         [DESCRIPTION] =>
  25.         [DATUM] =>
  26.     )
  27.     ...
  28. )