|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Handles <media:restriction> as defined in Media RSS.
More...
Public Member Functions | |
| __construct ($relationship=null, $type=null, $value=null) | |
| Constructor, used to input the data. | |
| __toString () | |
| String-ified version. | |
| get_relationship () | |
| Get the relationship. | |
| get_type () | |
| Get the type. | |
| get_value () | |
| Get the list of restricted things. | |
Public Attributes | |
| string | $relationship |
| Relationship ('allow'/'deny') | |
| string | $type |
| Type of restriction. | |
| string | $value |
| Restricted values. | |
Handles <media:restriction> as defined in Media RSS.
Used by {
This class can be overloaded with {
@subpackage API
| Restriction::__construct | ( | $relationship = null, | |
| $type = null, | |||
| $value = null ) |
Constructor, used to input the data.
For documentation on all the parameters, see the corresponding properties and their accessors
| Restriction::__toString | ( | ) |
String-ified version.
| string |
| Restriction::get_relationship | ( | ) |
Get the relationship.
| string|null | Either 'allow' or 'deny' |
| Restriction::get_type | ( | ) |
Get the type.
| string|null |
| Restriction::get_value | ( | ) |
Get the list of restricted things.
| string|null |
| string Restriction::$relationship |
Relationship ('allow'/'deny')
| string Restriction::$type |
Type of restriction.
| string Restriction::$value |
Restricted values.