Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27925

Need a way to get the list of keys of children of a navigation node

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.1
    • Component/s: Navigation
    • Labels:

      Description

      To make good use of the facilities introduced in MDL-27600, you need to be able to work out the right $beforekey, in situations where the list of children in the navigation may vary a lot depending on the capabilities of the user.

      Therefore, I am proposing to add a get_child_keys to navigation_node. I need this for MDL-27908.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timhunt Tim Hunt
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              Sam Hemelryk
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                1/Jul/11