-
Notifications
You must be signed in to change notification settings - Fork 0
TimeTable
Johannes Pour edited this page Oct 8, 2021
·
9 revisions
-
entries: Array of Entry
-
.findByClassName(className: string)-> Array of Entry
Get all Entries whereclassNamematches
-
.findByRoom(roomName: string)-> Array of Entry
Get all Entries whereroomNamematches
-
.findBySubjectShort(subject: string)-> Array of Entry
Get all Entries wheresubjectmatches (subjectis the short form of the subject, so for e.g. not "English" but "E")
-
.findBySubjectLong(subject: string)-> Array of Entry
Get all Entries wheresubjectmatches (subjectis the long form of the subject, so for e.g. not "E" but "English")
-
.toJSON()-> object
Returns aTimeTableobject as aJSONrepresentation
-
.fromJSON(data: object)-> TimeTable instance
Create a new TimeTable instance from theJSONdata
For more technical info, you can read the docs inside the code