planmModel.php 494 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. 通知公告的
  4. */
  5. class agent_planmClassModel extends agentModel
  6. {
  7. public function gettotal()
  8. {
  9. $stotal = $this->getwdtotal($this->adminid);
  10. $titles = '';
  11. return array('stotal'=>$stotal,'titles'=> $titles);
  12. }
  13. private function getwdtotal($uid)
  14. {
  15. $stotal = m('flow:planm')->getwwctotals($uid);
  16. return $stotal;
  17. }
  18. protected function agenttotals($uid)
  19. {
  20. $a = array(
  21. 'mydwc' => $this->getwdtotal($uid)
  22. );
  23. return $a;
  24. }
  25. }
粤ICP备19079148号