| @@ 840-849 (lines=10) @@ | ||
| 837 | * @param int $module_srl |
|
| 838 | * @return string |
|
| 839 | */ |
|
| 840 | function getCategoryXmlFile($module_srl) |
|
| 841 | { |
|
| 842 | $xml_file = sprintf('files/cache/document_category/%s.xml.php',$module_srl); |
|
| 843 | if(!file_exists($xml_file)) |
|
| 844 | { |
|
| 845 | $oDocumentController = getController('document'); |
|
| 846 | $oDocumentController->makeCategoryFile($module_srl); |
|
| 847 | } |
|
| 848 | return $xml_file; |
|
| 849 | } |
|
| 850 | ||
| 851 | /** |
|
| 852 | * Php cache files in the document category return information |
|
| @@ 856-865 (lines=10) @@ | ||
| 853 | * @param int $module_srl |
|
| 854 | * @return string |
|
| 855 | */ |
|
| 856 | function getCategoryPhpFile($module_srl) |
|
| 857 | { |
|
| 858 | $php_file = sprintf('files/cache/document_category/%s.php',$module_srl); |
|
| 859 | if(!file_exists($php_file)) |
|
| 860 | { |
|
| 861 | $oDocumentController = getController('document'); |
|
| 862 | $oDocumentController->makeCategoryFile($module_srl); |
|
| 863 | } |
|
| 864 | return $php_file; |
|
| 865 | } |
|
| 866 | ||
| 867 | /** |
|
| 868 | * Imported post monthly archive status |
|