xrxd_log.class.php 729 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /***
  3. * Class Xrxd_log
  4. * * @author 王刚涛
  5. * 日线数据
  6. */
  7. class Xrxd_log {
  8. /**
  9. * 记录管理员日志
  10. *
  11. * @param $log 日志内容
  12. *
  13. */
  14. static public function add($log){
  15. }
  16. /**
  17. * 管理员日志记录列表
  18. *
  19. * @param $page 当前页
  20. * @param $pagesize 每页大小
  21. *
  22. */
  23. static public function getListByPage($page, $pagesize){
  24. $filter = array();
  25. $Table_xrxd_log = new Table_xrxd_log();
  26. return $Table_xrxd_log->getList($filter, 0, $page, $pagesize);
  27. }
  28. //管理员日志总数
  29. static public function getCountAll(){
  30. $filter = array();
  31. $Table_xrxd_log = new Table_st_log();
  32. return $Table_xrxd_log->getList($filter, 1);
  33. }
  34. }
  35. ?>