From: dhawes Date: Tue, 28 Sep 2004 16:40:26 +0000 (+0000) Subject: added '@access private' docblock tags to functions that should not be called directly X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=da72d76d30c2f688bfe6fd20deadb109d0221967;p=moodle.git added '@access private' docblock tags to functions that should not be called directly --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 571cb7c337..903279d952 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -2844,12 +2844,13 @@ function get_string($identifier, $module='', $a=NULL) { /** * This function is only used from {@link get_string()}. * - * @internal Only used from get_string, not meant to be public api + * @internal Only used from get_string, not meant to be public API * @param string $identifier ? * @param string $langfile ? * @param string $destination ? * @return string|false ? * @staticvar array $strings Localized strings + * @access private * @todo Finish documenting this function. */ function get_string_from_file($identifier, $langfile, $destination) { diff --git a/lib/xmlize.php b/lib/xmlize.php index 59e0c33c56..8493d2c1db 100644 --- a/lib/xmlize.php +++ b/lib/xmlize.php @@ -73,6 +73,7 @@ function xmlize($data, $WHITE=1, $encoding='UTF-8') { * @internal You don't need to do anything with this function, it's called by * xmlize. It's a recursive function, calling itself as it goes deeper * into the xml levels. If you make any improvements, please let me know. + * @access private */ function xml_depth($vals, &$i) { $children = array();