Feed: ezcFeedSourceElement
[ ]
[ Specifications ]
[ ]
[ ]
[ ]
[ ]
Class: ezcFeedSourceElement
|
Class defining a feed source element. [
source]
Parents
ezcFeedElement
|
--ezcFeedSourceElement
Properties
Member Variables
|
public string |
$source
The name of the source feed (RSS2 only). |
|
public string |
$url
The url of the source feed (RSS2 only). |
Inherited Member Variables
From
ezcFeedElement:
Method Summary
|
public ezcFeedElement |
add(
$name )
Adds a new element with name $name to the source element and returns it. |
|
public string |
__toString(
)
Returns the source attribute. |
Methods
add
Adds a new element with name $name to the source element and returns it.
Example:
1. // $source is an ezcFeedSourceElement object
2. $link = $source->add( 'link' );
3. $link->href = 'http://ez.no/';
Parameters
| Name |
Type |
Description |
$name |
string |
The name of the element to add |
__toString
string __toString(
)
Returns the source attribute.
Last updated: Mon, 21 Dec 2009