git-svn-id: http://xe-core.googlecode.com/svn/trunk@252 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-05 11:34:16 +00:00
parent 9133108828
commit 2c67aa349a
7 changed files with 58 additions and 2 deletions

View file

@ -36,6 +36,22 @@
return (int)$total_count;
}
/**
* @brief 특정 document에 특정 ip로 기록된 트랙백의 갯수
* spamfilter 에서 사용할 method임
**/
function getTrackbackCountByIPAddress($document_srl, $ipaddress) {
$oDB = &DB::getInstance();
$args->document_srl = $document_srl;
$args->ipaddress = $ipaddress;
$output = $oDB->executeQuery('trackback.getTrackbackCountByIPAddress', $args);
debugPrint($output);
$total_count = $output->data->count;
return (int)$total_count;
}
/**
* @brief 특정 문서에 속한 엮인글의 목록을 가져옴
**/