Interface for Action plugins. More...
Public Member Functions | |
| sd_mt_delete_action ($action) | |
| sd_mt_get_action ($action_id) | |
| sd_mt_get_all_actions () | |
| sd_mt_get_action_item ($item_id) | |
| sd_mt_trigger_action ($trigger) | |
| sd_mt_update_action ($action) | |
| sd_mt_update_action_item ($item) | |
Interface for Action plugins.
Provides storage and editing services for {SD_Meeting_Tool_Action}s and allows triggering / firing of said actions.
Other modules are encouraged to use the following filters:
Ask the plugins to configure an action item, as per SD_Meeting_Tool_Actions.
Return a list all item types, which is an array of SD_Meeting_Tool_Action_Item. See SD_Meeting_Tool_Lists.
Asks the plugins to properly describe the item. Used when the item has configured data and other plugins would like to tell the user more specifically what the item is going to to. See SD_Meeting_Tool_Lists.
| interface_SD_Meeting_Tool_Actions::sd_mt_delete_action | ( | $action | ) |
Delete an action.
| SD_Meeting_Tool_Action | $action | SD_Meeting_Tool_Action object to delete. |
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_get_action | ( | $action_id | ) |
Return an action.
| int | $action_id | Action ID to get. |
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_get_action_item | ( | $item_id | ) |
Returns an action item.
| int | $item_id | Item ID to get. |
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_get_all_actions | ( | ) |
Return a list of all available actions.
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_trigger_action | ( | $trigger | ) |
Action: Triggers an action.
Given an SD_Meeting_Tool_Action_Trigger it will go through the action's items and call each item action.
| SD_Meeting_Tool_Action_Trigger | $trigger | Action trigger to distribute amonst the plugins. |
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_update_action | ( | $action | ) |
Creates or updates an action.
If the ID is null, a new action will be created in the database.
| SD_Meeting_Tool_Action | $action | Action to create or update. |
Implemented in SD_Meeting_Tool_Actions.
| interface_SD_Meeting_Tool_Actions::sd_mt_update_action_item | ( | $item | ) |
Updates an action item.
If the item does not have an ID, a new item will be created and the ID will be returned.
| SD_Meeting_Tool_Action_Item | $item | The item to update. |
Implemented in SD_Meeting_Tool_Actions.
1.8.1.2