PHP Class Swiftriver\Core\Modules\SiSPS\SwiftriverPushParsingService

Show file Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
FetchContentFromChannel ( Swiftriver\Core\Modules\SiSPS\PushParser $parser, String $raw_content = null, $post_content = null, $get_content = null, $file_content = null ) : Swiftriver\Core\ObjectModel\Content[] This method will take the information prvided in the instance of a \Swiftriver\Core\ObjectModel\Source object and will make a call to the channel to fetch and content that can be fetched and then parse the content into an array of Swiftriver\Core\ObjectModel\Content items
ListAvailableParsers ( )

Method Details

FetchContentFromChannel() public method

This method will take the information prvided in the instance of a \Swiftriver\Core\ObjectModel\Source object and will make a call to the channel to fetch and content that can be fetched and then parse the content into an array of Swiftriver\Core\ObjectModel\Content items
public FetchContentFromChannel ( Swiftriver\Core\Modules\SiSPS\PushParser $parser, String $raw_content = null, $post_content = null, $get_content = null, $file_content = null ) : Swiftriver\Core\ObjectModel\Content[]
$parser Swiftriver\Core\Modules\SiSPS\PushParser
$raw_content String
$post_content
$get_content
return Swiftriver\Core\ObjectModel\Content[] $contentItems

ListAvailableParsers() public method