[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/SimplePie/src/ -> Category.php (summary)

(no description)

File Size: 126 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Category:: (6 methods):
  __construct()
  __toString()
  get_term()
  get_scheme()
  get_label()
  get_type()


Class: Category  - X-Ref

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()}
__construct(?string $term = null, ?string $scheme = null, ?string $label = null, ?string $type = null)   X-Ref
Constructor, used to input the data

param: string|null $term
param: string|null $scheme
param: string|null $label
param: string|null $type

__toString()   X-Ref
String-ified version

return: string

get_term()   X-Ref
Get the category identifier

return: string|null

get_scheme()   X-Ref
Get the categorization scheme identifier

return: string|null

get_label(bool $strict = false)   X-Ref
Get the human readable label

return: string|null
param: bool $strict

get_type()   X-Ref
Get the category type

return: string|null



Generated : Wed Sep 17 08:20:04 2025 Cross-referenced by PHPXref