Метод | Описание | |
---|---|---|
ParseContentItemToUshahidiAPIFormat ( |
Given content items, this function parses the properties of the content into the format required by the Ushahidi API. |
Метод | Описание | |
---|---|---|
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 separated list of Ushahidi categories |
public ParseContentItemToUshahidiAPIFormat ( |
||
$content | ||
Результат | string[] | parameters |