Feed: ezcFeedCategoryElement
[ ]
[ Specifications ]
[ ]
[ ]
[ ]
[ ]
Class: ezcFeedCategoryElement
|
Class defining a category. [
source]
Parents
ezcFeedElement
|
--ezcFeedCategoryElement
Properties
|
ezcFeedCategoryElement |
read/write
|
$category
A subcategory of the category. |
|
string |
read/write
|
$label
The label value of the category. |
|
string |
read/write
|
$scheme
The scheme (domain) value of the category. |
|
string |
read/write
|
$term
The readable value of the category. |
Member Variables
Inherited Member Variables
From
ezcFeedElement:
Method Summary
Methods
add
Adds a new element with name $name to the feed item and returns it.
The subcategory is only used by the iTunes module (ezcFeedITunesModule).
Example:
1. // $feed is an ezcFeed object
2. $category = $feed->add( 'category' );
3. $category->term = 'Technology';
4. $subCategory = $category->add( 'category' );
5. $subCategory->term = 'Gadgets';
Parameters
| Name |
Type |
Description |
$name |
string |
The name of the element to add |
Last updated: Tue, 02 Dec 2008