Moodle

Allow the setting of the anchor attribute against a moodle_url object

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Libraries
  • Labels:
    None
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

There is currently no method available that allows the developer to set the fragment or more appropriately named anchor attribute of a moodle_url.
I am just about to commit a small patch that adds a method called set_anchor($anchor) that allows the user to set this.

Activity

Hide
Sam Hemelryk added a comment -

done

Show
Sam Hemelryk added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: