Core Class
View Source on Trac ↗
Core Class
Restriction
class Restriction
// Constructor: function Object() { [native code] } Handles `<media:restriction>` as defined in Media RSS
Methods 5 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor, used to input the data
Parameters: $relationship: mixed, $type: mixed, $value: mixed |
| __toString() string | String-ified version |
| get_relationship() (string | Get the relationship |
| get_type() (string | Get the type |
| get_value() (string | Get the list of restricted things |
Properties
| Property / Type | Description |
|---|---|
| $relationship mixed public | No description available. |
| $type mixed public | No description available. |
| $value mixed public | No description available. |
Class Information
Source File
wp-includes/SimplePie/src/Restriction.php
Advertisement