scheduleModel.php 543 B

1234567891011121314151617181920212223242526
  1. <?php
  2. class agent_scheduleClassModel extends agentModel
  3. {
  4. public function gettotal()
  5. {
  6. return array('stotal'=>0,'titles'=>'');
  7. }
  8. protected function agentrows($rows, $rowd, $uid)
  9. {
  10. foreach($rowd as $k=>$rs){
  11. if(!isempt($rs['enddt']) && $rs['enddt']<$this->rock->now){
  12. $rows[$k]['ishui'] = 1;
  13. }
  14. }
  15. return $rows;
  16. }
  17. protected function agentdata($uid, $lx)
  18. {
  19. //$rows = m('schedule')->getmonthdata($uid);
  20. //print_r($rows);
  21. if(contain($lx,'month'))$this->event = 'my';
  22. return false;
  23. }
  24. }
粤ICP备19079148号