]> git.mjollnir.org Git - moodle.git/commitdiff
portfolio/mahara: php-doc for a confusing private method i didn't understand anymore
authormjollnir_ <mjollnir_>
Tue, 9 Jun 2009 19:58:16 +0000 (19:58 +0000)
committermjollnir_ <mjollnir_>
Tue, 9 Jun 2009 19:58:16 +0000 (19:58 +0000)
portfolio/type/mahara/lib.php

index 586b954593ec905fb8cca45e742d51ccd4ff0d63..cff5b4bca0fa9388139056486c0c9b691b2472f7 100644 (file)
@@ -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();