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