def __init__(self, oDb, tsNow, cPeriods, cHoursPerPeriod, sSubject, aidSubjects): ModelLogicBase.__init__(self, oDb); # Public so the report generator can easily access them. self.tsNow = tsNow; # (Can be None.) self.cPeriods = cPeriods; self.cHoursPerPeriod = cHoursPerPeriod; self.sSubject = sSubject; self.aidSubjects = aidSubjects;
def __init__(self, oDb, tsNow = None, sPeriodBack = None, cHoursBack = None): ModelLogicBase.__init__(self, oDb); self.tsNow = tsNow; self.sPeriodBack = sPeriodBack; if sPeriodBack is None and cHoursBack is not None: self.sPeriodBack = '%u hours' % cHoursBack; self._adCache = ( dict(), dict(), dict(), dict(), dict(), dict(), dict(), dict(), dict(), ); assert(len(self._adCache) == self.ksObjType_End);
def __init__(self, oDb): ModelLogicBase.__init__(self, oDb) self.dCache = None
def __init__(self, oDb): ModelLogicBase.__init__(self, oDb)
def __init__(self, oDb): ModelLogicBase.__init__(self, oDb) self.dCache = None self.dCacheNameAndCat = None self.oCategoryLogic = None self.oUserAccountLogic = None
def __init__(self, oDb): ModelLogicBase.__init__(self, oDb) self.dCache = None;
def __init__(self, oDb): ModelLogicBase.__init__(self, oDb) self.dCache = None; self.dCacheNameAndCat = None; self.oCategoryLogic = None; self.oUserAccountLogic = None;