Beispiel #1
0
 private function clickVote()
 {
     if ($this->getVoteInstalled()) {
         $relatedId = EnvUtil::getRequest("relatedid");
         $voteItemids = EnvUtil::getRequest("voteItemids");
         $result = ICVotePlugManager::getArticleVote()->clickVote("article", $relatedId, $voteItemids);
         if (is_numeric($result)) {
             echo $result;
         } else {
             $this->ajaxReturn($result);
         }
     }
 }