[Trellis-developers] TrellisLMS class
Shaddy Zeineddine
shaddy at learning.net
Fri Feb 8 00:16:28 PST 2008
TrellisAdmin and TrellisLearner have been superseded by TrellisLMS.
TrellisLMS aims to solve issues of these two very similar classes in
function from behaving differently due to the amount of work to keep
them simultaneously updated.
As the admin and learner classes are phased out, transitional classes
will be used instead. The transitional admin class is currently in use.
This class converts changes to method arguments, handle any other
necessary tasks and calls the true method in the lms class.
If the method is not defined in the transitional class, you can simply
change $admin-> to $lms and it will function normally. If the method is
defined in the transitional class however, you must update it to use the
utilities set_parameters methods for changes to the arguments.
The admin and learner classes differed in two ways. The admin class
restricts most methods to the current community and requires you to
specify the user id while the learner class does not. In the new LMS
class, methods called in admin will continue to behave normally, but
there may be changes to the behavior of methods called from the learning
center. The best course of action has yet to be determined.
More information about the Trellis-developers
mailing list