1 頁 (共 1 頁)

更改Record 日期為中式,填入異動人員,異動時間

發表於 : 2005-10-19 15:48:49
yehlu
顯示
event => class_s_date_BeforeShow()
加入
$class->s_date->SetValue(date_csttotw($class->ds->s_date->GetValue()));

新增
event => class_ds_BeforeBuildInsert()
加入
$class->ds->s_date->SetValue(date_twtocst($class->s_date->GetValue())); $class->ds->e_date->SetValue(date_twtocst($class->e_date->GetValue()));
$class->ds->stamp->SetValue(date("Y-m-d H:i:s"));
$class->ds->user_id->SetValue(CCGetUserID());

更新
event => class_ds_BeforeBuildUpdate()
加入
$class->ds->s_date->SetValue(date_twtocst($class->s_date->GetValue())); $class->ds->e_date->SetValue(date_twtocst($class->e_date->GetValue()));
$class->ds->stamp->SetValue(date("Y-m-d H:i:s"));
$class->ds->user_id->SetValue(CCGetUserID());