Path

ez components / documentation / api reference / 2007.2alpha1 / feed


eZ Components 2007.2alpha1

Feed: ezcFeed

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

Class: ezcFeed

[source]

Implemented Interfaces

  • Iterator (internal interface)

Properties

array(int=>ezcFeedItem) read  $items
The items belonging to the feed.

Method Summary

public ezcFeed __construct( $type )
Creates a new feed
public void addModule( $className )
public void current( )
protected static void dispatchXml( $xml )
public void generate( )
public static void getModule( $moduleName, $feedType )
public static void getSupportedModules( )
public static void getSupportedTypes( )
public void key( )
public ezcFeedItem newItem( )
Returns new item for this feed
public void next( )
public static void parse( $uri )
public static void parseContent( $content )
public void rewind( )
public void valid( )
public void __get( $propertyName )
public void __set( $property, $value )

Methods

__construct

ezcFeed __construct( string $type )
Creates a new feed

Parameters

Name Type Description
$type string  

Throws

ClassDescription
ezcFeedUnsupportedTypeException If the passed $type is an unsupported feed type

addModule

void addModule( $className )

Parameters

Name Type Description
$className  

current

void current( )

dispatchXml

void dispatchXml( $xml )

Parameters

Name Type Description
$xml DOMDocument  

generate

void generate( )

getModule

void getModule( $moduleName, $feedType )

Parameters

Name Type Description
$moduleName  
$feedType  

getSupportedModules

void getSupportedModules( )

getSupportedTypes

void getSupportedTypes( )

key

void key( )

newItem

ezcFeedItem newItem( )
Returns new item for this feed

next

void next( )

parse

void parse( $uri )

Parameters

Name Type Description
$uri  

parseContent

void parseContent( $content )

Parameters

Name Type Description
$content  

rewind

void rewind( )

valid

void valid( )

__get

void __get( $propertyName )

Parameters

Name Type Description
$propertyName  

__set

void __set( $property, $value )

Parameters

Name Type Description
$property  
$value  

Last updated: Mon, 12 Nov 2007