|
Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Represents multiple availability messages. More...
Public Member Functions | |
| __construct ($root, $andoperator, $treehidden, array $items) | |
| Constructor. More... | |
Public Attributes | |
| bool | $andoperator |
| True if items use the AND operator (false = OR) | |
| array | $items |
| Array of child items (may be string or this type) | |
| bool | $root |
| True if this object represents the root of the tree. | |
| bool | $treehidden |
| True if this part of the tree is marked 'hide entirely' for non-matching users. | |
Represents multiple availability messages.
These are messages like 'Not available until <date>'. This class includes multiple messages so that they can be rendered into a combined display, e.g. using bulleted lists.
The tree structure of this object matches that of the availability restrictions.
| core_availability_multiple_messages::__construct | ( | $root, | |
| $andoperator, | |||
| $treehidden, | |||
| array | $items | ||
| ) |
Constructor.
| bool | $root | True if this object represents the root of the tree |
| bool | $andoperator | True if items use the AND operator (false = OR) |
| bool | $treehidden | True if this part of the tree is marked 'hide entirely' for non-matching users |
| array | $items | Array of items (may be string or this type) |