Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.
/lib/classes/lock/
FolderUp one level  
Filedb_record_lock_factory.php    [source] [233 lines]   This is a db record locking factory.
Filefile_lock_factory.php         [source] [208 lines]   Flock based file locking factory. The file lock factory returns file locks locked with the flock function. Works OK, except on some NFS, exotic shared storage and exotic server OSes (like windows). On windows, a second attempt to get a lock will block indefinitely instead of timing out.
Fileinstallation_lock_factory.php [source] [133 lines]   Lock factory for use during installation.
Filelock.php                      [source] [131 lines]   Class representing a lock The methods available for a specific lock type are only known by it's factory.
Filelock_config.php               [source] [95 lines]    Lock configuration class, used to get an instance of the currently configured lock factory.
Filelock_factory.php              [source] [108 lines]   Defines abstract factory class for generating locks.
Filemysql_lock_factory.php        [source] [196 lines]   MySQL / MariaDB locking factory.
Filepostgres_lock_factory.php     [source] [233 lines]   Postgres advisory locking factory.