]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pluginhost.php
Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
[tt-rss.git] / classes / pluginhost.php
index 0f3d8f37c604abb1f1b2247464a9cf34595672ad..571c30fb6c30a80a938956f87a5f85644be96d25 100644 (file)
@@ -49,6 +49,12 @@ class PluginHost {
        const HOOK_HEADLINES_BEFORE = 28;
        const HOOK_RENDER_ENCLOSURE = 29;
        const HOOK_ARTICLE_FILTER_ACTION = 30;
+       const HOOK_ARTICLE_EXPORT_FEED = 31;
+       const HOOK_MAIN_TOOLBAR_BUTTON = 32;
+       const HOOK_ENCLOSURE_ENTRY = 33;
+       const HOOK_FORMAT_ARTICLE = 34;
+       const HOOK_FORMAT_ARTICLE_CDM = 35;
+       const HOOK_FEED_BASIC_INFO = 36;
 
        const KIND_ALL = 1;
        const KIND_SYSTEM = 2;
@@ -285,7 +291,7 @@ class PluginHost {
                }
        }
 
-       function load_data($force = false) {
+       function load_data() {
                if ($this->owner_uid)  {
                        $result = $this->dbh->query("SELECT name, content FROM ttrss_plugin_storage
                                WHERE owner_uid = '".$this->owner_uid."'");
@@ -432,4 +438,3 @@ class PluginHost {
                return $this->plugin_actions;
        }
 }
-?>