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

This commit is contained in:
zero 2007-03-06 03:26:53 +00:00
parent 812bbd54e6
commit 7258af97a0
11 changed files with 129 additions and 13 deletions

View file

@ -71,5 +71,27 @@
return $trackback_list;
}
/**
* @brief 모든 엮인글를 시간 역순으로 가져옴 (관리자용)
**/
function getTotalTrackbackList($obj) {
// DB 객체 생성
$oDB = &DB::getInstance();
// 변수 설정
$args->sort_index = $obj->sort_index;
$args->page = $obj->page?$obj->page:1;
$args->list_count = $obj->list_count?$obj->list_count:20;
$args->page_count = $obj->page_count?$obj->page_count:10;
// trackback.getTotalTrackbackList 쿼리 실행
$output = $oDB->executeQuery('trackback.getTotalTrackbackList', $args);
// 결과가 없거나 오류 발생시 그냥 return
if(!$output->toBool()||!count($output->data)) return $output;
return $output;
}
}
?>