Example #1
0
 function getCourseNumber($schoolId)
 {
     $tblResource = new DB_Sso_Resource();
     $courseType = Common_Config::PUBLIC_COURSE_TYPE;
     $queryCount = $tblResource->queryCount("where entrance_id = {$schoolId} and type = {$courseType} and enabled = 1");
     return $queryCount;
 }