Credit
Handles <media:credit>
as defined in Media RSS
Used by {@see \SimplePie\Enclosure::get_credit()} and {@see \SimplePie\Enclosure::get_credits()}
This class can be overloaded with {@see \SimplePie\SimplePie::set_credit_class()}
- Full name:
\SimplePie\Credit
Properties
role
Credited role
See Also:
- \SimplePie\get_role() -
scheme
Organizational scheme
See Also:
- \SimplePie\get_scheme() -
name
Credited name
See Also:
- \SimplePie\get_name() -
Methods
__construct
Constructor, used to input the data
For documentation on all the parameters, see the corresponding properties and their accessors
Parameters:
Parameter | Type | Description |
---|---|---|
$role |
mixed | |
$scheme |
mixed | |
$name |
mixed |
__toString
String-ified version
get_role
Get the role of the person receiving credit
get_scheme
Get the organizational scheme
get_name
Get the credited person/entity's name
Automatically generated on 2025-03-18