mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
Syndication API를 XE Core에 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7640 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ee1fc6237a
commit
1675d4c8d9
38 changed files with 1025 additions and 0 deletions
39
modules/syndication/syndication.class.php
Normal file
39
modules/syndication/syndication.class.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?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() {
|
||||
}
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue