API docs     >     Extensions     >     CblockExtension

CblockExtension->usedByCblock

Description

usedByCblock ( $cbId, $version )
Checks if this Extension is used by the specified Cblock

Parameters

$cbId
string
Cblock Id
$version
string
Cblock version

Returns

bool
TRUE if the Extension is used by the Cblock or FALSE in case of an error