API docs     >     Extensions     >     ExtensionMgr

ExtensionMgr->getIdByCode

Description

getIdByCode ( $code )
Gets Extension Id by Extension code

Parameters

$code
string

Returns

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