Feed: ezcFeedItem
[ ]
[ Specifications ]
[ ]
[ ]
[ ]
[ ]
Class: ezcFeedItem
|
Container for item data. [
source]
Parents
ezcFeedElement
|
--ezcFeedItem
Member Variables
|
protected array(ezcFeedModule) |
$modules
= array()
Holds the modules used by this feed item. |
Inherited Member Variables
From
ezcFeedElement:
Method Summary
|
public ezcFeedItem |
__construct(
$schema )
Constructs a new ezcFeedElement object. |
|
public ezcFeedModule |
addModule(
$name )
Adds a new module to this item and returns it. |
|
public array(ezcFeedModule) |
getModules(
)
Returns an array with all the modules defined for this feed item. |
|
public bool |
hasModule(
$name )
Returns true if the module $name is loaded, false otherwise. |
Inherited Methods
From
ezcFeedElement :
Methods
__construct
ezcFeedItem __construct(
$schema )
Constructs a new ezcFeedElement object.
Parameters
| Name |
Type |
Description |
$schema |
array(string=>mixed) |
The sub-schema that defines this element |
Redefinition of
addModule
Adds a new module to this item and returns it.
Parameters
| Name |
Type |
Description |
$name |
string |
The name of the module to add |
getModules
array(ezcFeedModule) getModules(
)
Returns an array with all the modules defined for this feed item.
hasModule
bool hasModule(
string
$name )
Returns true if the module $name is loaded, false otherwise.
Parameters
| Name |
Type |
Description |
$name |
string |
The name of the module to check if loaded for this item |
Last updated: Mon, 05 May 2008