API docs     >     Content Blocks     >     CblockMgr

CblockMgr->getLocksByToken

Description

getLocksByToken ( $token )
Gets Locks for the specific Token

Parameters

$token
string
Lock Token

Returns

array
Array of Cblock locks
  1. Array(
  2.     [0] => Array(
  3.         [OBJECTID] => 229
  4.         [LOCKED] => 1339515937
  5.         [TOKEN] => sess_36000_47
  6.     )
  7.     ...
  8. )