Changeset 22581 for branches/version-2_12-dev/data/class/helper
- Timestamp:
- 2013/02/22 20:22:51 (13 years ago)
- Location:
- branches/version-2_12-dev/data/class/helper
- Files:
-
- 1 added
- 1 edited
-
SC_Helper_DB.php (modified) (1 diff)
-
SC_Helper_News.php (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_DB.php
r22567 r22581 1610 1610 } 1611 1611 } 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 } 1612 1627 }
Note: See TracChangeset
for help on using the changeset viewer.
