public function create($item_id, $title, $body) { $itemFts = $this->itemFts->newInstance(); $itemFts->item_id = $item_id; $itemFts->words = $this->toNgram($title, $body); return $itemFts->save(); }