Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_availability Namespace Reference

Used while evaluating conditions in bulk. More...

Namespaces

namespace  output
 Renderable for the availability info.
 
namespace  privacy
 Privacy Subsystem implementation for core_availability.
 

Classes

class  capability_checker
 Used while evaluating conditions in bulk. More...
 
class  condition
 Base class for a single availability condition. More...
 
class  frontend
 Class with front-end (editing form) functionality. More...
 
class  info
 Base class for conditional availability information (for module or section). More...
 
class  info_module
 Class handles conditional availability information for an activity. More...
 
class  info_section
 Class handles conditional availability information for a section. More...
 
class  result
 Class represents the result of an availability check for the user. More...
 
class  tree
 Class that holds a tree of availability conditions. More...
 
class  tree_node
 Node (base class) used to construct a tree of availability conditions. More...
 

Detailed Description

Used while evaluating conditions in bulk.

Node (base class) used to construct a tree of availability conditions.

Class that holds a tree of availability conditions.

Class represents the result of an availability check for the user.

Class handles conditional availability information for a section.

Class handles conditional availability information for an activity.

Base class for conditional availability information (for module or section).

Class with front-end (editing form) functionality.

Base class for a single availability condition.

 

This object caches get_users_by_capability results in case they are needed by multiple conditions.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

All condition types must extend this class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

This is a base class of a class implemented by each component, and also has static methods.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later