public static function addPlanLog($type, $planId, $propIds, $option, $userId, $oldStatus, $newStatus, $mid) { $data = array('type' => $type, 'plan_id' => $planId, 'proids' => $propIds, 'option' => $option, 'user_id' => $userId, 'status_old' => $oldStatus, 'status_new' => $newStatus, 'mid' => $mid, 'create_day' => date('Ymd'), 'created' => time()); return Model_Log_EffectPlanLog::addPlanLog($data); }