API docs     >     Content Blocks     >     Cblock

Cblock->getLinkedMailings

Description

getLinkedMailings ( $onlyPublished = false )
Gets all published Mailings linked to this Cblock

Parameters

$onlyPublished
bool
TRUE if only published Pageversions should be returned (optional)

Returns

array|false
Array of linked Mailings or FALSE in case of an error
  1. Array(
  2.     [0] => Array(
  3.         [MAILINGID] => 2
  4.         [MAILINGNAME] => test mailing
  5.         [HASCHANGED] => 1
  6.         [VERSIONS] => Array(
  7.             [0] => Array(
  8.                 [VERSION] => 4
  9.             )
  10.             ...
  11.         )
  12.     )
  13.     ...
  14. )