/widget/webzine/webzine.class.php에서 113번째 라인에 $oDocument->category_title=$category_list[$oDocument->get('ca...

Posted in Engineering  /  by Hogeony  /  on Jul 21, 2011 15:45
/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}로 받음


Me2day Yozm
  1. 태그
  2. 문서정보
  3. 이 게시물을...
  4. SNS
    Social Network Service
Comment '0'

Leave Comments



제목 최근 수정일
How to add an external jar file in Android Studio 2015.08.06
extends, interface, implements 의 정의 2015.08.05
Android 단축키 팁 (생산성 최적화) 2015.08.05
"getframe" not working on 64-bit Windows properly 2015.02.03
Better Quality Images from Figures 2015.02.03
msg_make_directory_failed 2011.09.22
Solution for not running problem after pop-up window "Thank you for using SolidSQUAD's SolidWorks 2011 release!" 2011.09.17
2진수 <-> 8 진수, 16 진수 변환 [1] 2011.09.17
Align <Div> at center 2011.08.12
Notetaking - Fundamental of Physics 2011.08.11
[On2 Salsa - Beginner] Outside Turn, Close Cross Body Lead, Inside Turn 2011.08.11
[On2 Salsa - Beginner] Inside Turn, Open&Close Cross Body Lead,Left Turn 2011.08.11