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