[schooltool-dev] RFC Time managers and objects that track changes during the term

Ignas Mikalajunas ignas.mikalajunas at gmail.com
Mon Dec 10 07:40:00 EST 2007


On Dec 7, 2007 9:47 PM, Tom Hoffman <tom.hoffman at gmail.com> wrote:
> This looks good to me on the surface.
>
> Let's say I'm an attendance component, and I've got a query about the
> attendance of a student who withdrew halfway through the term.  Can I
> query the section for the days this student was enrolled in the class?
>

For the usecase of attendance i would use the timetable of the
student, and leave the enter/leave section logic for the timetabling
code to handle.

But you would probably have to perform such an operation yourself  by
either iterating through keyframes or object states. Unless such an
operation will be common enough to be included in the section
interface.

Ignas


More information about the Schooltool-dev mailing list