Webzine Widget에서 Document Category Title 받기

Hogeony
2011.07.21 15:45:47
/widget/webzine/webzine.class.php에서
113번째 라인에 $oDocument->category_title=$category_list[$oDocument->get('category_srl')]->title; 추가

// 결과가 있으면 각 문서 객체화를 시킴
if(count($output->data)) {
	foreach($output->data as $key => $attribute) {
		$document_srl = $attribute->document_srl;

		$oDocument = null;
		$oDocument = new documentItem();
		$oDocument->setAttribute($attribute, false);
		$GLOBALS['XE_DOCUMENT_LIST'][$oDocument->document_srl] = $oDocument;
		$category_list=$oDocumentModel->getCategoryList($attribute->module_srl);
		$oDocument->category_title=$category_list[$oDocument->get('category_srl')]->title;
		$document_list[$key] = $oDocument;

	}
	$oDocumentModel->setToAllDocumentExtraVars();
} else {

	$document_list = array();
	
}


list.html에서 {$oDocument->category_title}로 받음