Commit 311df835 authored by Nigel McNie's avatar Nigel McNie
Browse files

Document get_entry_content


Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent f1e96f13
......@@ -504,8 +504,14 @@ class PluginImportLeap extends PluginImport {
}
/**
* TODO: document
* Returns the <content> for a given entry, stripping off any transport
* encoding and respecting the content type.
*
* TODO: make sure we are rawurlencoding our file paths in our export
*
* @param SimpleXMLElement $entry The entry to get the content for
* @param PlugimImporLeap $importer The importer
* @return string The content
*/
public static function get_entry_content(SimpleXMLElement $entry, PluginImportLeap $importer) {
// Entries have content, and that content can be of different types. So we want to make sure we grab it in the right type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment