From: mjollnir_ Date: Tue, 9 Jun 2009 19:58:16 +0000 (+0000) Subject: portfolio/mahara: php-doc for a confusing private method i didn't understand anymore X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e862c50a76b5e3cafa917bb98e86511282b99577;p=moodle.git portfolio/mahara: php-doc for a confusing private method i didn't understand anymore --- diff --git a/portfolio/type/mahara/lib.php b/portfolio/type/mahara/lib.php index 586b954593..cff5b4bca0 100644 --- a/portfolio/type/mahara/lib.php +++ b/portfolio/type/mahara/lib.php @@ -336,6 +336,11 @@ class portfolio_plugin_mahara extends portfolio_plugin_pull_base { } + /** + * internal helper function, that converts between the format constant, + * which might be too specific (eg 'image') and the class in our *supported* list + * which might be higher up the format hierarchy tree (eg 'file') + */ private function resolve_format() { $thisformat = $this->get_export_config('format'); $allformats = portfolio_supported_formats();