Standard, basic and complete action handling plugin. More...
Public Member Functions | |
| __construct () | |
| activate () | |
| uninstall () | |
| sd_mt_admin_menu ($menus) | |
| admin () | |
| admin_overview () | |
| admin_edit () | |
| Edit an action. | |
| admin_edit_item () | |
| Edit an action item. | |
| sd_mt_trigger_action ($action_trigger) | |
| Triggers an action. | |
| ajax_admin () | |
| 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_update_action ($SD_Meeting_Tool_Action) | |
| sd_mt_update_action_item ($item) | |
Private Member Functions | |
| action_sql_to_object ($sql) | |
| Convert a row from SQL to an SD_Meeting_Tool_Action. | |
| action_item_sql_to_object ($sql) | |
| make_back_link_to_action_editor () | |
| Makes a link back to the action editor. | |
Additional Inherited Members | |
Public Attributes inherited from SD_Meeting_Tool_Base | |
| $paths = array() | |
Protected Member Functions inherited from SD_Meeting_Tool_0 | |
| cache_directory () | |
| Return the cache directory for the plugin. | |
| cache_file ($id) | |
| Returns the name of the cache file for this session. | |
| cache_url () | |
| Returns the complete URL to the cache directory. | |
| check_cache_directory () | |
| Check whether the cache directory is OK. | |
Protected Attributes inherited from SD_Meeting_Tool_0 | |
| $language_domain = 'SD_Meeting_Tool' | |
Standard, basic and complete action handling plugin.
Provides action handling.
| SD_Meeting_Tool_Actions::__construct | ( | ) |
|
private |
Convert a row from SQL to an SD_Meeting_Tool_Action_Item.
| array | $sql | Row from the database as an array. |
|
private |
Convert a row from SQL to an SD_Meeting_Tool_Action.
| array | $sql | Row from the database as an array. |
| SD_Meeting_Tool_Actions::activate | ( | ) |
Overridable activation function.
It's here in case plugins need a common activation method in the future.
Reimplemented from SD_Meeting_Tool_Base.
| SD_Meeting_Tool_Actions::admin | ( | ) |
| SD_Meeting_Tool_Actions::admin_edit | ( | ) |
Edit an action.
| SD_Meeting_Tool_Actions::admin_edit_item | ( | ) |
Edit an action item.
| SD_Meeting_Tool_Actions::admin_overview | ( | ) |
| SD_Meeting_Tool_Actions::ajax_admin | ( | ) |
|
private |
Makes a link back to the action editor.
| SD_Meeting_Tool_Actions::sd_mt_admin_menu | ( | $menus | ) |
| SD_Meeting_Tool_Actions::sd_mt_delete_action | ( | $action | ) |
Delete an action.
| SD_Meeting_Tool_Action | $action | SD_Meeting_Tool_Action object to delete. |
Implements interface_SD_Meeting_Tool_Actions.
| SD_Meeting_Tool_Actions::sd_mt_get_action | ( | $action_id | ) |
Return an action.
| int | $action_id | Action ID to get. |
Implements interface_SD_Meeting_Tool_Actions.
| SD_Meeting_Tool_Actions::sd_mt_get_action_item | ( | $item_id | ) |
Returns an action item.
| int | $item_id | Item ID to get. |
Implements interface_SD_Meeting_Tool_Actions.
| SD_Meeting_Tool_Actions::sd_mt_get_all_actions | ( | ) |
Return a list of all available actions.
Implements interface_SD_Meeting_Tool_Actions.
| SD_Meeting_Tool_Actions::sd_mt_trigger_action | ( | $action_trigger | ) |
Triggers an action.
Given an SD_Meeting_Tool_Action_Trigger it will go through the action's items and call each item action.
The Action Trigger must contain the action and the trigger (mostly a SD_Meeting_Tool_Participant).
Triggers an action.
| SD_Meeting_Tool_Action_Trigger | $action_trigger | Action trigger to use. |
Implements interface_SD_Meeting_Tool_Actions.
| 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. |
Implements interface_SD_Meeting_Tool_Actions.
| 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. |
Implements interface_SD_Meeting_Tool_Actions.
| SD_Meeting_Tool_Actions::uninstall | ( | ) |
Overridable uninstall method.
Reimplemented from SD_Meeting_Tool_Base.
1.8.1.2