mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7640 201d5d3c-b55e-5fd7-737f-ddc643e51545
39 lines
1.3 KiB
PHP
39 lines
1.3 KiB
PHP
<?php
|
|
/**
|
|
* @class syndication
|
|
* @author zero (skklove@gmail.com)
|
|
* @brief syndication 모듈의 high class
|
|
**/
|
|
|
|
define('SyndicationModule', 'M');
|
|
define('SyndicationDocument', 'D');
|
|
|
|
define('SyndicationInserted', 'I');
|
|
define('SyndicationUpdated', 'U');
|
|
define('SyndicationDeleted', 'D');
|
|
|
|
class syndication extends ModuleObject {
|
|
|
|
var $services = array(
|
|
'Naver' => 'http://syndication.openapi.naver.com/ping/',
|
|
);
|
|
|
|
function moduleInstall() {
|
|
$oModuleController = &getController('module');
|
|
$oModuleController->insertTrigger('document.insertDocument', 'syndication', 'controller', 'triggerInsertDocument', 'after');
|
|
$oModuleController->insertTrigger('document.updateDocument', 'syndication', 'controller', 'triggerUpdateDocument', 'after');
|
|
$oModuleController->insertTrigger('document.deleteDocument', 'syndication', 'controller', 'triggerDeleteDocument', 'after');
|
|
$oModuleController->insertTrigger('module.deleteModule', 'syndication', 'controller', 'triggerDeleteModule', 'after');
|
|
}
|
|
|
|
function checkUpdate() {
|
|
return false;
|
|
}
|
|
|
|
function moduleUpdate() {
|
|
}
|
|
|
|
function recompileCache() {
|
|
}
|
|
}
|
|
?>
|