API docs     >     Content Blocks     >     Cblock

Cblock->get

Description

get ( )
Gets basic information about this Cblock

Returns

array|false
Array containing information about this Cblock or FALSE in case of an error
  1. Array(
  2.     [ID] => 234                         int Property Id (versioned Object Id)
  3.     [OBJECTID] => 229                   int Id
  4.     [FOLDER] => 0                       int 1 if folder, 0 if not
  5.     [EMBEDDED] => 0                     int 1 if embedded Contentblock, 0 if not
  6.     [VERSION] => 2                      int Version
  7.     [APPROVED] => 0                     int 1 if approved, 0 if unapproved
  8.     [CREATEDBY] => 1                    int Id of the User who created the Object
  9.     [CHANGEDBY] => 1                    int Id of the last User who touched the Object
  10.     [HASCHANGED] => 0                   int 1 if changed since last approval, 0 if not
  11.     [COMMENTSTATUS] => 1                int 1 if commenting is allowed, 0 if not
  12.     [COMMENTSTATUS_AUTO] => 1           int 1 if commenting will be closed automatically after the configured time-period, 0 if not
  13.     [LOCKED] => 0                       int 1 if locked by an User, 0 if not
  14.     [LOCKUID] => 1                      int Id of the User who locked the Object
  15.     [TOKEN] => 'sess_36055_32'          string Lock token, required to relock/unlock this Object
  16.     [DELETED] => 0                      int 1 if in Trashcan, 0 if not
  17.     [CREATEDTS] => 1339411731           int Timestamp of the creation
  18.     [CHANGEDTS] => 1339411778           int Timestamp of the last change
  19.     [VERSIONPUBLISHED] => 999999        int Published version (either a specific version or 999999 if set to 'ALWAYS_LATEST_APPROVED_VERSION')
  20.     [LEVEL] => 2                        int Level in the tree structure
  21.     [PARENT] => 1                       int Parent Object Id
  22.     [PNAME] => 'Test_Contentblock'      string Permanent name
  23.     [NAME] => 'Test Contentblock'       string Name
  24.     [DESCRIPTION] => 'description'      string Description (dynamic Property)
  25. )