Files
xinhu/webmain/model/agent/scheduleModel.php
2022-08-14 16:47:40 +08:00

26 lines
543 B
PHP

<?php
class agent_scheduleClassModel extends agentModel
{
public function gettotal()
{
return array('stotal'=>0,'titles'=>'');
}
protected function agentrows($rows, $rowd, $uid)
{
foreach($rowd as $k=>$rs){
if(!isempt($rs['enddt']) && $rs['enddt']<$this->rock->now){
$rows[$k]['ishui'] = 1;
}
}
return $rows;
}
protected function agentdata($uid, $lx)
{
//$rows = m('schedule')->getmonthdata($uid);
//print_r($rows);
if(contain($lx,'month'))$this->event = 'my';
return false;
}
}