PHP Class Swiftriver\Core\Modules\SiSPS\PushParsers\CSVPushParser

Inheritance: implements Swiftriver\Core\Modules\SiSPS\PushParsers\IPushParser
Mostra file Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
GetDescription ( ) : string This method returns a string describing the implementation details of this parser
GetSettings ( ) : array[] This method return an array of fields needed to implement the push mechanism that may be rendered by the UI framework (such as Sweeper / SwiftMeme and others).
PushAndParse ( $raw_content = null, $post_content = null, $get_content = null, $file_content = null ) : Content[] Implementation of IPushParser::PushAndParse
ReturnType ( ) : string This method returns a string describing the type of sources it can parse. For example, the FeedsParser returns "Feeds".

Method Details

GetDescription() public method

This method returns a string describing the implementation details of this parser
public GetDescription ( ) : string
return string - implementation details

GetSettings() public method

Returns a null if no field is required
public GetSettings ( ) : array[]
return array[] of fields

PushAndParse() public method

Implementation of IPushParser::PushAndParse
public PushAndParse ( $raw_content = null, $post_content = null, $get_content = null, $file_content = null ) : Content[]
$raw_content
$post_content
$get_content
$file_content
return Swiftriver\Core\ObjectModel\Content[] contentItems

ReturnType() public method

This method returns a string describing the type of sources it can parse. For example, the FeedsParser returns "Feeds".
public ReturnType ( ) : string
return string type of sources parsed