]> git.mjollnir.org Git - moodle.git/commitdiff
NOBUG: Testing the new CVS server by updating a few comments
authorsamhemelryk <samhemelryk>
Mon, 19 Oct 2009 04:27:10 +0000 (04:27 +0000)
committersamhemelryk <samhemelryk>
Mon, 19 Oct 2009 04:27:10 +0000 (04:27 +0000)
lib/navigationlib.php

index b93ac3b68c39d0bca0f205f19c66794eade0a8d8..ddd9c7efa435481bd01ce11705734b4d98061dab 100644 (file)
@@ -210,6 +210,12 @@ class navigation_node {
      * This function checks if the node is the active child by comparing its action
      * to the current page URL obtained via $ME
      *
+     * This function compares the nodes url to the static var {@link navigation_node::fullmeurl}
+     * and if they match (based on $strenght) then the node is considered active.
+     *
+     * Note: This function is recursive, when you call it it will check itself and all
+     * children recursivily.
+     *
      * @staticvar moodle_url $fullmeurl
      * @param int $strength When using the moodle_url compare function how strictly
      *                       to check for a match. Defaults to URL_MATCH_EXACT