SproutCMS

This is the code documentation for the SproutCMS project

function getLock()

Gets the lock details for a given record

Usage

null|array Admin::getLock ( string $ctlr , int $record_id );

Arguments

  1. string $ctlr
    Controller name
  2. int $record_id
    DB record ID

Return value

  • array
    If locked; has keys 'id', 'operator_name', 'lock_key', 'date_modified'
  • null
    If not locked