Reference - Lock


DBE_Database :: lock

Locks a list of tables

Tables files will be locked for multiple access ( fetch, insert, update, delete, fastFetch, fastUpdate... )

Set of operations can hence be done without other processes interfering


void lock ( string  $iTables)


Parameters :

$iTables    Comma separated list of Table names to lock


Return :



Notes :

  • Lock can be set on a single table
  • Tables will not be opened with lock (first call to a method will open related table)



» Reference