Issue Details (XML | Word | Printable)

Key: MDL-20674
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Sam Hemelryk
Reporter: Sam Hemelryk
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Allow the setting of the anchor attribute against a moodle_url object

Created: 30/Oct/09 02:20 PM   Updated: 02/Nov/09 11:34 AM
Return to search
Component/s: Lib
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Sam Hemelryk
Security Level: None
Difficulty: Easy
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Sam Hemelryk committed 1 file to 'Moodle CVS' - 30/Oct/09 02:20 PM
moodle_url MDL-20674 Added a method to allow the dev to set the anchor attribute of a moodle_url
MODIFY lib/weblib.php   Rev. 1.1345    (+11 -0 lines)