mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
42 lines
1,022 B
PHP
42 lines
1,022 B
PHP
<?php
|
|
/**
|
|
* @class page
|
|
* @author NHN (developers@xpressengine.com)
|
|
* @brief high class of the module page
|
|
**/
|
|
|
|
class page extends ModuleObject {
|
|
|
|
/**
|
|
* @brief Implement if additional tasks are necessary when installing
|
|
**/
|
|
function moduleInstall() {
|
|
// page generated from the cache directory to use
|
|
FileHandler::makeDir('./files/cache/page');
|
|
|
|
return new Object();
|
|
}
|
|
|
|
/**
|
|
* @brief a method to check if successfully installed
|
|
**/
|
|
function checkUpdate() {
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @brief Execute update
|
|
**/
|
|
function moduleUpdate() {
|
|
return new Object(0,'success_updated');
|
|
}
|
|
|
|
/**
|
|
* @brief Re-generate the cache file
|
|
**/
|
|
function recompileCache() {
|
|
// Delete the cache file pages
|
|
FileHandler::removeFilesInDir("./files/cache/page");
|
|
}
|
|
}
|
|
?>
|