Stud.IP
5.4
|
Public Member Functions | |
getItemName ($long_format=true) | |
getItemURL () | |
getItemAvatarURL () | |
getLink () | |
__toString () | |
This interface provides methods which allow an unified access to basic properties of Stud.IP objects. It is meant to be an extension for SimpleORMap objects.
__toString | ( | ) |
getItemAvatarURL | ( | ) |
Returns the URL to the avatar image or icon of the object, if applicable.
Implemented in Resource, Course, BrokenResource, and ResourceLabel.
getItemName | ( | $long_format = true | ) |
Returns a human-readable name of the object.
bool | $long_format | If set to true, a long format that has the object type as a prefix (course, room etc.) is returned. Otherwise only the name is returned. |
getItemURL | ( | ) |
getLink | ( | ) |
Creates a StudipLink object that links to a page with information about the StudipItem object.