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

Add accessors for scheme, host and port to moodle_url class

    XMLWordPrintable

    Details

      Description

      In MDL-40848 it was necessary to re-parse a URL in order to extract specific URL components. It would be more efficient to be able to access them using moodle_url directly since the URL is already parsed within the class, but the properties are protected.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simoncoggins Simon Coggins
              Reporter:
              simoncoggins Simon Coggins
              Peer reviewer:
              Dan Poltawski
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13