Zum Inhalt

RemoveTeacherFromLesson (Opus Funktion)

Beschreibung

Mit dieser Funktion, kann man einen Lehrer von einer Lektion entfernen Removes a teacher from the specified lesson. If RemoveAll is 1, the teacher is removed from all lessons of the same class subject.

Argumente

Name

Typ

Beschreibung

LessonID

integer

ID of the lesson

TeacherID

integer

ID of the teacher to remove

RemoveAll

integer

(optional)
1 = remove the teacher from all lessons of the same class subject

0 = only this lesson

Rückgabewertinteger

1 if the teacher was removed, 0 if not found

Beispiel

xxx

Siehe auch