コード例 #1
0
ファイル: LandActualUsesList.php プロジェクト: armic/erpts
 function getLandActualUsesList($page = 0, $condition = "")
 {
     if ($page > 0) {
         $page = ($page - 1) * PAGE_BY;
         $condition .= " LIMIT {$page}," . PAGE_BY;
     }
     $landActualUsesRecords = new LandActualUsesRecords();
     if ($landActualUsesRecords->selectRecords($condition)) {
         if (!($domDoc = $landActualUsesRecords->getDomDocument())) {
             return false;
         } else {
             $xmlStr = $domDoc->dump_mem(true);
             return $xmlStr;
         }
     } else {
         return false;
     }
 }