Manages all category-related data.
More...
|
| __construct ($term=null, $scheme=null, $label=null, $type=null) |
| Constructor, used to input the data.
|
|
| __toString () |
| String-ified version.
|
|
| get_label ($strict=false) |
| Get the human readable label.
|
|
| get_scheme () |
| Get the categorization scheme identifier.
|
|
| get_term () |
| Get the category identifier.
|
|
| get_type () |
| Get the category type.
|
|
Manages all category-related data.
Used by {
- See also
- SimplePie\Item\get_category()} and {
-
SimplePie\Itemget_categories()}
This class can be overloaded with {
- See also
- SimplePie\SimplePie\set_category_class()}
@subpackage API
◆ __construct()
Category::__construct |
( |
| $term = null, |
|
|
| $scheme = null, |
|
|
| $label = null, |
|
|
| $type = null ) |
Constructor, used to input the data.
- Parameters
-
string | null | $term | |
string | null | $scheme | |
string | null | $label | |
string | null | $type | |
◆ __toString()
String-ified version.
- Return values
-
◆ get_label()
Category::get_label |
( |
| $strict = false | ) |
|
Get the human readable label.
- Parameters
-
- Return values
-
◆ get_scheme()
Get the categorization scheme identifier.
- Return values
-
◆ get_term()
Get the category identifier.
- Return values
-
◆ get_type()
Get the category type.
- Return values
-
◆ $label
string null Category::$label |
◆ $scheme
string null Category::$scheme |
◆ $term
string null Category::$term |
◆ $type
string null Category::$type |
The documentation for this class was generated from the following file:
- lib/simplepie/src/Category.php