Method | Description | |
---|---|---|
ParseContentItemToUshahidiAPIFormat ( |
Given a Content items, this function parses the properties of the content item into the format required by the Ushahidi API. |
Method | Description | |
---|---|---|
ExtractDateFromContent ( |
Extract the incident date from the content item | |
ExtractDescriptionFromContent ( $content ) | ||
ExtractLocationDataFromContent ( |
Returns the most appropriate long and latt from the given Content item. | |
ExtractLocationNameFromContent ( |
Given a content item, this function extracts the first where tag from its tags collection or returns 'unknown' | |
ExtractUshahidiCategoriesFromContent ( |
Returns the comma seporated list of Ushahidi categories |
public ParseContentItemToUshahidiAPIFormat ( |
||
$content | ||
return | string[] | parameters |