Path

ez components / documentation / api reference / 2008.1beta1 / feed


eZ Components 2008.1beta1

Feed: ezcFeedSourceElement

[ Tutorial ] [ Specifications ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcFeedSourceElement

Class defining a feed source element. [source]

Parents

ezcFeedElement
   |
   --ezcFeedSourceElement

Member Variables

public string $source
The authors of the entry.
public string $url
The categories of the entry.

Inherited Member Variables

From ezcFeedElement:
protected  ezcFeedElement::$properties

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

ezcFeedElement add( string $name )
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: Tue, 27 May 2008