API docs     >     Content Blocks     >     CblockMgr

CblockMgr->getCblockIdByPName

Description

getCblockIdByPName ( $pname )
Gets a Cblock Id by permanent name

Parameters

$pname
string
Cblock permanent name

Returns

int|false
Cblock Id or FALSE in case of an error