API docs     >     Content Blocks     >     CblockMgr

CblockMgr->getCblock

Description

getCblock ( $cbId, $version = 0 )
Gets a specific Cblock instance

Parameters

$cbId
int
Cblock Id
$version
int
(optional) Cblock version

Returns

Cblock|false
New instance of a Cblock or FALSE if an error has occured