isValid() isValid() : boolean Checks whether object contains data Returns boolean — Returns true if no error occurred
getDetail() getDetail() : string Gets either the Url if item is a timetable or the text if item is a news entry Returns string — Url or Text
getItem() getItem(integer $index) : \DsbItem Gets an item with a specified index Parameters integer $index Index of the item Returns \DsbItem — item
getHtml() getHtml() : string Gets the Html code of the content WARNING: This can lead to XSS vulnerabilities so use this carefully! Returns string — Html code