sent2); $channels = explode(',', $request->input('channels')); $mode = explode(',', $request->input('mode', 'read')); $sentId = $sent->book . '-' . $sent->paragraph . '-' . $sent->word_begin . '-' . $sent->word_end; $Sent = new CorpusController(); $tpl = $data['sent'] = $Sent->getSentTpl($sentId, $channels, $mode); $data['sim'] = $this->sim; return $data; } }