mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
blog module make categories cache file by php
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3479 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3fb36cfb3e
commit
8995cae0cc
8 changed files with 85 additions and 12 deletions
|
|
@ -331,7 +331,7 @@
|
|||
}
|
||||
|
||||
// XML 파일을 갱신하고 위치을 넘겨 받음
|
||||
$xml_file = $oDocumentController->makeCategoryXmlFile($args->module_srl);
|
||||
$xml_file = $oDocumentController->makeCategoryFile($args->module_srl);
|
||||
|
||||
$oDB->commit();
|
||||
|
||||
|
|
@ -403,7 +403,7 @@
|
|||
}
|
||||
|
||||
// XML 파일을 갱신하고 위치을 넘겨 받음
|
||||
$xml_file = $oDocumentController->makeCategoryXmlFile($args->module_srl);
|
||||
$xml_file = $oDocumentController->makeCategoryFile($args->module_srl);
|
||||
|
||||
$oDB->commit();
|
||||
|
||||
|
|
@ -440,7 +440,7 @@
|
|||
if(!$output->toBool()) return $output;
|
||||
|
||||
// xml파일 재생성
|
||||
$xml_file = $oDocumentController->makeCategoryXmlFile($source_category->module_srl);
|
||||
$xml_file = $oDocumentController->makeCategoryFile($source_category->module_srl);
|
||||
|
||||
// return 변수 설정
|
||||
$this->add('xml_file', $xml_file);
|
||||
|
|
@ -459,7 +459,7 @@
|
|||
|
||||
// xml파일 재생성
|
||||
$oDocumentController = &getController('document');
|
||||
$xml_file = $oDocumentController->makeCategoryXmlFile($module_srl);
|
||||
$xml_file = $oDocumentController->makeCategoryFile($module_srl);
|
||||
|
||||
// return 값 설정
|
||||
$this->add('xml_file',$xml_file);
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
// 블로그 모듈에서 사용되는 모든 메뉴 목록을 재 생성
|
||||
foreach($list as $blog_item) {
|
||||
$module_srl = $blog_item->module_srl;
|
||||
$oDocumentController->makeCategoryXmlFile($module_srl);
|
||||
$oDocumentController->makeCategoryFile($module_srl);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
// 카테고리 xml 파일 위치 지정
|
||||
$this->module_info->category_xml_file = getUrl().$oDocumentModel->getCategoryXmlFile($this->module_info->module_srl);
|
||||
$this->module_info->category_php_file = $oDocumentModel->getCategoryPhpFile($this->module_info->module_srl);
|
||||
|
||||
// 메뉴 등록시 메뉴 정보를 구해옴
|
||||
if($this->module_info->menu) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue