コード例 #1
0
ファイル: CService.class.php プロジェクト: fbone/mediboard4
 function loadListWithPerms($permType = PERM_READ, $where = array(), $order = "nom", $limit = null, $group = null, $ljoin = null)
 {
     if ($where !== null && !isset($where["group_id"])) {
         $where["group_id"] = "='" . CGroups::loadCurrent()->_id . "'";
     }
     return parent::loadListWithPerms($permType, $where, $order, $limit, $group, $ljoin);
 }