示例#1
0
function glossaryPage($webgbDao, $idCommunity, $filter)
{
    global $USER;
    $webgdCommunity = new WebgdCommunityDao();
    if (!empty($filter)) {
        $list = $webgdCommunity->glossarysByCommunityAndLike($idCommunity, $filter);
        Commons::printListGlossary($list, $idCommunity, true, true);
    } else {
        $list = $webgdCommunity->glossarysByCommunity($idCommunity);
        Commons::printListGlossary($list, $idCommunity, true, false);
    }
}