Ignore:
Timestamp:
2013/02/22 20:22:51 (11 years ago)
Author:
pineray
Message:

#2160 pageクラスからdtb_newsテーブルを直接指定している箇所をなくす
新着情報管理のページクラス内の処理を他と統一する

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/helper/SC_Helper_DB.php

    r22567 r22581  
    16101610        } 
    16111611    } 
     1612 
     1613    /** 
     1614     * レコード件数を計算. 
     1615     *  
     1616     * @param string $table 
     1617     * @param string $where 
     1618     * @param array $arrval 
     1619     * @return integer レコード件数 
     1620     */ 
     1621    public function countRecords($table, $where = '', $arrval = array()) 
     1622    { 
     1623        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
     1624        $col = 'COUNT(*)'; 
     1625        return $objQuery->get($col, $table, $where, $arrval); 
     1626    } 
    16121627} 
Note: See TracChangeset for help on using the changeset viewer.