public static function getLeaderProjects($teacher){ $projects = Project::getProjectsByLeader($teacher); $result = TeacherHelper::formatAttributeList($projects, 'project/index', 'id', false); return $result; }