function myQuestionsPage($webgbDao, $idCommunity) { global $USER; $webgdCommunity = new WebgdCommunityDao(); $listQuestions = $webgdCommunity->myQuestionsByCommunity($idCommunity, $USER->id); Commons::printListQuestions($listQuestions, $idCommunity, true); }