static function get_general_lists() { $i = 0; $c = new JObject(); $c->id = 0; $c->fullname = JText::_('COM_JOOMDLE_GENERAL'); $c->published_students = JoomdleHelperMailinglist::general_list_exists('course_students'); $c->published_teachers = JoomdleHelperMailinglist::general_list_exists('course_teachers'); $c->published_parents = JoomdleHelperMailinglist::general_list_exists('course_parents'); $i++; return $c; }