| @@ 851-860 (lines=10) @@ | ||
| 848 | * @param int $module_srl |
|
| 849 | * @return string |
|
| 850 | */ |
|
| 851 | function getCategoryXmlFile($module_srl) |
|
| 852 | { |
|
| 853 | $xml_file = sprintf('files/cache/document_category/%s.xml.php',$module_srl); |
|
| 854 | if(!file_exists($xml_file)) |
|
| 855 | { |
|
| 856 | $oDocumentController = getController('document'); |
|
| 857 | $oDocumentController->makeCategoryFile($module_srl); |
|
| 858 | } |
|
| 859 | return $xml_file; |
|
| 860 | } |
|
| 861 | ||
| 862 | /** |
|
| 863 | * Php cache files in the document category return information |
|
| @@ 867-876 (lines=10) @@ | ||
| 864 | * @param int $module_srl |
|
| 865 | * @return string |
|
| 866 | */ |
|
| 867 | function getCategoryPhpFile($module_srl) |
|
| 868 | { |
|
| 869 | $php_file = sprintf('files/cache/document_category/%s.php',$module_srl); |
|
| 870 | if(!file_exists($php_file)) |
|
| 871 | { |
|
| 872 | $oDocumentController = getController('document'); |
|
| 873 | $oDocumentController->makeCategoryFile($module_srl); |
|
| 874 | } |
|
| 875 | return $php_file; |
|
| 876 | } |
|
| 877 | ||
| 878 | /** |
|
| 879 | * Imported post monthly archive status |
|