]> 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 675e0af17152ad8fe7f00ca29e4924de8dca7078..571c30fb6c30a80a938956f87a5f85644be96d25 100644 (file)
@@ -50,6 +50,11 @@ class PluginHost {
        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;
@@ -286,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."'");
@@ -433,4 +438,3 @@ class PluginHost {
                return $this->plugin_actions;
        }
 }
-?>