/** * 最終投稿日時更新 */ public function updateLastPostedAt($id) { $values = array('last_posted_at' => date('Y-m-d H:i:s')); return parent::updateById($values, $id, array()); }