Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
311df835
Commit
311df835
authored
Sep 07, 2009
by
Nigel McNie
Browse files
Document get_entry_content
Signed-off-by:
Nigel McNie
<
nigel@catalyst.net.nz
>
parent
f1e96f13
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/import/leap/lib.php
View file @
311df835
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment