rhymix/modules/opage/opage.class.php
ngleader 35a23caba8 Issue 145
modify recompileCache() in modules


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8984 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-02 04:44:12 +00:00

43 lines
1 KiB
PHP

<?php
/**
* @class opage
* @author NHN (developers@xpressengine.com)
* @brief high class of opage module
**/
class opage extends ModuleObject {
/**
* @brief Implement if additional tasks are necessary when installing
**/
function moduleInstall() {
// Create cache directory to use in the opage
FileHandler::makeDir('./files/cache/opage');
return new Object();
}
/**
* @brief a method to check if successfully installed
**/
function checkUpdate() {
// Create a directory ditectly if no cache directory exists
if(!is_dir('./files/cache/opage')) FileHandler::makeDir('./files/cache/opage');
return false;
}
/**
* @brief Update
**/
function moduleUpdate() {
return new Object(0, 'success_updated');
}
/**
* @brief Re-generate the cache file
**/
function recompileCache() {
}
}
?>