\SimplePie_Restriction
Handles `<media:restriction>` as defined in Media RSS
Used by and This class can be overloaded with
Synopsis
class SimplePie_Restriction
{
- // members
- public $relationship;
- public $type;
- public $value;
- // methods
- public void __construct()
- public string __toString()
- public string|null get_relationship()
- public string|null get_type()
- public string|null get_value()
Members
public
- $relationship
—
string
Relationship ('allow'/'deny') - $type
—
string
Type of restriction - $value
—
string
Restricted values
Methods
public
- __construct() — 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