public function LiveComment($param) { $data = parent::LiveCommentProcess($param); if ($param['export'] == "html") { $this->Render($param['render'], $data, ''); } else { if ($param['export'] == "json") { return $data; } else { return false; } } }