|
Stud.IP
6.1
|
Public Member Functions | |
| getId () | |
| getRangeName () | |
| getRangeIcon ($role) | |
| getRangeUrl () | |
| getRangeCourseId () | |
| isRangeAccessible (string $user_id=null) | |
Interface FeedbackRange
The FeedbackRange defines methods for range objects that can reveive feedback.
| getId | ( | ) |
Returns the ID of this range.
| getRangeCourseId | ( | ) |
Returns the course id of FeedbackRange object instance
Implemented in Course, StructuralElement, Folder, FileRef, and Unit.
| getRangeIcon | ( | $role | ) |
Returns the icon object that shall be used with the FeedbackRange object instance.
| string | $role | role of icon |
Implemented in Course, StructuralElement, Folder, FileRef, and Unit.
| getRangeName | ( | ) |
Returns a human-friendly representation of the FeedbackRange object instance's name.
Implemented in Course, StructuralElement, Folder, FileRef, and Unit.
| getRangeUrl | ( | ) |
Returns the URL of FeedbackRange view, where the object instance is visible together with the related feedback element(s).
Implemented in Course, StructuralElement, Folder, FileRef, and Unit.
| isRangeAccessible | ( | string | $user_id = null | ) |
Returns the accessebility of FeedbackRange object instance for current active user
| string | $user_id | optional; use this ID instead of $GLOBALS['user']->id |
Implemented in Course, StructuralElement, Folder, FileRef, and Unit.