xrxd_log.class.php 765 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. /***
  3. * Class Xrxd_log
  4. * * @author 王刚涛
  5. * 日线数据
  6. */
  7. class Xrxd_log {
  8. public function __construct()
  9. {
  10. }
  11. static public function getInfoById($id)
  12. {
  13. $Table_xrxd_log = new Table_xrxd_log();
  14. return $Table_xrxd_log->getInfoById($id);
  15. }
  16. static public function add($attrs)
  17. {
  18. if (empty($attrs)) throw new Exception('参数不能为空', 101);
  19. $Table_xrxd_log = new Table_xrxd_log();
  20. $id = $Table_xrxd_log->add($attrs);
  21. return $id;
  22. }
  23. static public function getList($filter = array(), $count=0, $page=0, $pageSize=0)
  24. {
  25. $Table_xrxd_log = new Table_xrxd_log();
  26. return $Table_xrxd_log->getList($filter, $count, $page, $pageSize);
  27. }
  28. }
  29. ?>