From e862c50a76b5e3cafa917bb98e86511282b99577 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 9 Jun 2009 19:58:16 +0000 Subject: [PATCH] portfolio/mahara: php-doc for a confusing private method i didn't understand anymore --- portfolio/type/mahara/lib.php | 5 +++++ 1 file changed, 5 insertions(+) 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(); -- 2.39.5