'Initializes class members with values passed in by subclasses.
Args:
tab_dict (dict) - a dictionary of parameters used to build the tab.'

def __init__(self, tab_dict):

    super(CourseTab, self).__init__()
    self.name = tab_dict.get('name', self.title)
    self.tab_id = tab_dict.get('tab_id', getattr(self, 'tab_id', self.type))
    self.course_staff_only = tab_dict.get('course_staff_only', False)
    self.is_hidden = tab_dict.get('is_hidden', False)
    self.tab_dict = tab_dict
