public function get_chat() { $this->content_view = 'ajax/chat_log'; $this->data['chat'] = Chat_log::get_chat_log(); }