Moderation API
From GeeklogWiki
These are the functions used to allow your plugin to access the moderation system.</p>
| Function | Description of Function |
|---|---|
| SubmitPlugin | This function loops through all
enabled plugins and calls the plugins plugin_submit_<plugin name> method so that a plugins submission form is shown to the user. |
| GetPluginModerationValues | Responsible for calling the plugin_moderationvalue_<plugin
name> method so that the plugin specific values can be setso that moderation can occur. |
| ShowPluginModerationLists | Loops through all enabled plugins
and call itemlist() so that all items needing moderation for theplugin shows up in moderation.php |
| ShowPluginModerationOptions | Loops through all enabled plugins
and calls the plugin_cclabel_<plugin name> method so theplugin shows in the command and control center. |
| SavePluginSubmission | Loops through all enabled plugins
and calls the plugin_savesubmission_<plugin name> methodso that the plugin submission for a specified plugin gets saved. |
| DoPluginModerationDelete | Calls the plugin_moderationdelete_<plugin name> method of a specifid plugin so that a submission is deleted |
| DoPluginModerationApprove | Calls the plugin_moderationapprove_<plugin
name> method of a specified plugin so that the submission isapproved. |

