API docs     >     Pages and Sites     >     Page

Page->getCblockList

Description

getCblockList ( $contentarea = "", $workingCopy = false, $embedded = false )
Gets a list of Cblocks in a Contentarea for the version of this Page

Parameters

$contentarea
string
(optional) Contentarea code
$workingCopy
bool
(optional) Set to TRUE to return the latest version (working copy)
$embedded
bool
(optional) Set to TRUE to return only return embedded Contenblocks

Returns

array
Array of Cblocks
  1. Array(
  2.     [0] => Array(
  3.         [OBJECTID] => 225
  4.         [FOLDER] => 0
  5.         [VERSION] => 3
  6.         [EMBEDDED] => 1
  7.         [HASCHANGED] => 0
  8.         [PNAME] =>
  9.         [LINKID] => 5
  10.         [RREAD] => 1
  11.     )
  12.     ...
  13. )