私はモデルにそのような機能を持っています。
function news()
{
$data = array(
'title' => $this->input->post('title'),
'date' => $this->input->post('date'),
'newstext' => $this->input->post('newstext'),
);
$this->db->insert('news', $data);
}
$data['title']
そして、これを同じモデル内の別の関数で使用したい。どうやってやるの?