def __init__(self, post_id, text, title, post_time, poster): Node.__init__(self) self.post_id = post_id self.text = text self.title = title self.time = post_time self.poster = poster
def __init__(self, topic_id, topic_type, title, locked, views): Node.__init__(self) self.topic_id = topic_id self.topic_type = topic_type self.title = title self.locked = locked self.views = views
def __init__(self, config, ui=None): Node.__init__(self) self.config = config self.session = Session(self.config) self.ui = ui # Statistics self.total_posts = 0 self.total_topics = 0 self.total_users = 0 self.current_posts = 0 self.current_topics = 0 self.current_users = 0 self.startdate = 0 self.record_online_date = 0 self.record_online_users = 0 self.site_name = "" self.site_desc = "" self.dump_time = 0 self.smilies = {} self.users = {} self.forums = {} self.announcements = [] self.linkrewriter = LinkRewriter(self)
def __init__(self, oldid, name, description, leader_name, colour, group_type): Node.__init__(self) self.oldid = oldid self.name = name self.description = description self.leader_name = leader_name self.colour = colour self.type = group_type self.newid = None
def __init__(self, smiley_id, code, url, emotion): Node.__init__(self) self.smiley_id = smiley_id self.code = code self.url = url self.emotion = emotion self.smiley_url = None self.width = None self.height = None self.order = None
def __init__(self, oldid, name, mail, posts, date, lastvisit, colour=""): Node.__init__(self) self.oldid = oldid self.name = name self.mail = mail self.posts = posts self.date = date self.lastvisit = lastvisit self.colour = colour self.groups = [] self.newid = None
def __init__(self, oldid, newid, left_id, parent, title): Node.__init__(self) self.oldid = oldid self.newid = newid self.left_id = left_id self.right_id = 0 self.parent = parent self.title = title.replace('"', '"') if self.oldid[0] == "f": self.forum_type = 1 else: self.forum_type = 0 self.description = "" self.icon = "" self.status = 0 self.num_topics = None self.num_posts = None
def __init__(self, page): Node.__init__(self) self.page = page
def __init__(self): Node.__init__(self) self.count = Counter(len(DEFAULT_SMILIES))
def __init__(self): Node.__init__(self) self.newid = 1 self.name = "" self.colour = ""
def __init__(self): Node.__init__(self) # User ids start at one, the first one is the anonymous user, # and the second one is the administrator self.count = Counter(len(BOTS) + 3)
def __setstate__(self, state): Node.__setstate__(self, state) self.linkrewriter = LinkRewriter(self)
def __init__(self): Node.__init__(self) # There are 7 groups already defined in phpbb, start at 8 self.count = Counter(8)