Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is 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.