SproutCMS

This is the code documentation for the SproutCMS project

function lock()

Does lock checking, locking, or lock messages.

Usage

void $AdminController->lock ( string $type , int $id , View $view );

Arguments

  1. string $type
    Admin controller slug, e.g. 'page'
  2. int $id
    Record id which is being edited
  3. View $view
    Main layout view to provide lock details into

Return value

  • void