Elgg
Version master
|
Go to the source code of this file.
Variables | |
$plugin_id = (string) elgg_extract('plugin_id', $vars) | |
$plugin = elgg_get_plugin_from_id($plugin_id) | |
$filename = elgg_extract('filename', $vars) | |
if(! $plugin instanceof \ElggPlugin) | $file_contents = false |
if(in_array($filename, \ElggPlugin::ADDITIONAL_TEXT_FILES)) if(! $file_contents) | $title = $plugin->getDisplayName() . ": $filename" |
$text = MarkdownExtra::defaultTransform($file_contents) | |
$body | |
$body |
Definition at line 40 of file plugin_text_file.php.
if (! $plugin instanceof \ElggPlugin) $file_contents = false |
Definition at line 24 of file plugin_text_file.php.
$filename = elgg_extract('filename', $vars) |
Definition at line 10 of file plugin_text_file.php.
$plugin = elgg_get_plugin_from_id($plugin_id) |
Definition at line 8 of file plugin_text_file.php.
$plugin_id = (string) elgg_extract('plugin_id', $vars) |
Definition at line 7 of file plugin_text_file.php.
$text = MarkdownExtra::defaultTransform($file_contents) |
Definition at line 38 of file plugin_text_file.php.
if (in_array( $filename, \ElggPlugin::ADDITIONAL_TEXT_FILES)) if (! $file_contents) $title = $plugin->getDisplayName() . ": $filename" |
Definition at line 36 of file plugin_text_file.php.