public function actionShare($id = 0) { echo CJSON::encode(NewsService::instance()->share(NewsService::instance()->getNews($id))); }