Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.
/availability/classes/
FolderUp one level  
Folderoutput/
 
Folderprivacy/
 
Filecapability_checker.php [source] [77 lines]    Used while evaluating conditions in bulk. This object caches get_users_by_capability results in case they are needed by multiple conditions.
Filecondition.php          [source] [260 lines]   Base class for a single availability condition. All condition types must extend this class.
Filefrontend.php           [source] [209 lines]   Class with front-end (editing form) functionality. This is a base class of a class implemented by each component, and also has static methods.
Fileinfo.php               [source] [799 lines]   Base class for conditional availability information (for module or section).
Fileinfo_module.php        [source] [226 lines]   Class handles conditional availability information for an activity.
Fileinfo_section.php       [source] [82 lines]    Class handles conditional availability information for a section.
Filemultiple_messages.php  [source] [70 lines]    Represents multiple availability messages. These are messages like 'Not available until '. This class includes multiple messages so that they can be rendered into a combined display, e.g. using bulleted lists.
Fileresult.php             [source] [95 lines]    Class represents the result of an availability check for the user.
Filetree.php               [source] [797 lines]   Class that holds a tree of availability conditions.
Filetree_node.php          [source] [256 lines]   Node (base class) used to construct a tree of availability conditions.