예제 #1
0
 public static final function _GetUserManualPage(DBConnect &$db, $pageID){
     logger_FuncCall(__FILE__, __LINE__, __FUNCTION__);
     if (!is_numeric($pageID)){ throw new InvalidParamException(1, _T::NUMBER); }
     $result = $db->SelectAllOfOneRecord(USERMANUAL, USERMANUAL_PAGEID."=$pageID");
     return new DB_USERMANUAL(
             $db,
             $result[USERMANUAL_PAGEID],
             $result[USERMANUAL_CONTENT],
             $result[USERMANUAL_TITLE],
             $result[USERMANUAL_RANK]);
 }