Category
Manages all category-related data
Used by {@see \SimplePie\Item::get_category()} and {@see \SimplePie\Item::get_categories()}
This class can be overloaded with {@see \SimplePie\SimplePie::set_category_class()}
- Full name:
\SimplePie\Category
Properties
term
Category identifier
See Also:
- \SimplePie\get_term -
scheme
Categorization scheme identifier
See Also:
- \SimplePie\get_scheme() -
label
Human readable label
See Also:
- \SimplePie\get_label() -
type
Category type
category for
See Also:
- \SimplePie\get_type() -
Methods
__construct
Constructor, used to input the data
public __construct(string|null $term = null, string|null $scheme = null, string|null $label = null, string|null $type = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$term |
string|null | |
$scheme |
string|null | |
$label |
string|null | |
$type |
string|null |
__toString
String-ified version
get_term
Get the category identifier
get_scheme
Get the categorization scheme identifier
get_label
Get the human readable label
Parameters:
Parameter | Type | Description |
---|---|---|
$strict |
bool |
get_type
Get the category type
Automatically generated on 2025-03-18