Provides agenda services for SD Meeting Tool.
More...
Detailed Description
Constructor & Destructor Documentation
| SD_Meeting_Tool_Agendas::__construct |
( |
| ) |
|
Member Function Documentation
| SD_Meeting_Tool_Agendas::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_Agendas::admin |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::admin_edit |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::admin_edit_item |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::admin_overview |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::agenda_item_sql_to_object |
( |
|
$sql | ) |
|
|
private |
| SD_Meeting_Tool_Agendas::agenda_sql_to_object |
( |
|
$sql | ) |
|
|
private |
| SD_Meeting_Tool_Agendas::ajax_admin |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::ajax_user |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::delete_cache |
( |
|
$agenda | ) |
|
|
private |
Delete the cache for this agenda.
- Parameters
-
| SD_Meeting_Tool_Agendas::display_agenda |
( |
|
$options | ) |
|
|
private |
Displays an agenda to the user.
Options array:
- Parameters
-
| SD_Meeting_Tool_Agendas::display_agenda_item |
( |
|
$options | ) |
|
|
private |
| SD_Meeting_Tool_Agendas::make_back_link_to_agenda_editor |
( |
| ) |
|
|
private |
Makes a link back to the agenda editor.
- Returns
- Back link string.
| SD_Meeting_Tool_Agendas::sd_mt_admin_menu |
( |
|
$menus | ) |
|
| SD_Meeting_Tool_Agendas::sd_mt_delete_agenda |
( |
|
$agenda | ) |
|
| SD_Meeting_Tool_Agendas::sd_mt_get_agenda |
( |
|
$id | ) |
|
| SD_Meeting_Tool_Agendas::sd_mt_get_all_agendas |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::sd_mt_update_agenda |
( |
|
$agenda | ) |
|
Creates or updates an agenda.
If the ID is null, a new agenda will be created in the database.
- Wordpress
- Filter
- Parameters
-
- Returns
- The complete agenda.
Implements interface_SD_Meeting_Tool_Agendas.
| SD_Meeting_Tool_Agendas::sd_mt_update_agenda_item |
( |
|
$item | ) |
|
| SD_Meeting_Tool_Agendas::shortcode_current_agenda_item |
( |
|
$attr | ) |
|
Shows the current agenda item.
- Attributes
- autorefresh Refresh the agenda item automatically using javacsript. Default "no".
- id Agenda ID. Required.
- link Show the agenda item link, or make the text linked. Default "no".
- number Put a number in front of the agenda item, according to its position in the agenda. Default "no".
- text Show the agenda item text. Default "no".
- Parameters
-
| array | $attr | Attributes array. |
- Returns
- Agenda item HTML string to display.
| SD_Meeting_Tool_Agendas::shortcode_show_agenda |
( |
|
$attr | ) |
|
Shows an agenda.
The agenda is shown as an ordered list. Multiple agendas can be shown at the same time.
- Attributes
- autorefresh Refresh the agenda automatically using javacsript. Default "no".
- id Agenda ID. Required.
- Parameters
-
| array | $attr | Attributes array. |
- Returns
- Agenda HTML string to display.
| SD_Meeting_Tool_Agendas::uninstall |
( |
| ) |
|
| SD_Meeting_Tool_Agendas::write_cache |
( |
|
$SD_MT_Agenda | ) |
|
|
private |
Write the current agenda and current_agenda_item to the cache.
- Parameters
-
The documentation for this class was generated from the following file: