PHP Class Swiftriver\SiLCCInterface\ContentFromJSONParser

Show file Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
GetTaggedContent ( ) : Content Using the constructor parameters, this method decodes the JSON and applies any tags that could be extracted from the content. It returns the content with tags.
__construct ( Content $content, string $json ) Constructor

Method Details

GetTaggedContent() public method

Using the constructor parameters, this method decodes the JSON and applies any tags that could be extracted from the content. It returns the content with tags.
public GetTaggedContent ( ) : Content
return Swiftriver\Core\ObjectModel\Content

__construct() public method

Constructor
public __construct ( Content $content, string $json )
$content Swiftriver\Core\ObjectModel\Content
$json string