Sweden Democrats' Meeting Tool
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
SD_Meeting_Tool_Action_Item Class Reference

An actual command that is exectued by the plugins. More...

Public Member Functions

 __tostring ()

Public Attributes

 $data = null
 $description
 $id
 $order
 $type

Detailed Description

An actual command that is exectued by the plugins.

An Action Item must have a short string that identifies the item internally and an order in which is it executed by the SD_Meeting_Tool_Actions plugin.

Since Action Items are dynamically created by any plugins that provide Action Items, the $data variable can be anything the respective plugins desire. The data is serialized, stored and retrieved by the actions plugin.

Author
Edward Plainview edwar.nosp@m.d.pl.nosp@m.ainvi.nosp@m.ew@s.nosp@m.verig.nosp@m.edem.nosp@m.okrat.nosp@m.erna.nosp@m..se
See Also
SD_Meeting_Tool_Action

Member Function Documentation

SD_Meeting_Tool_Action_Item::__tostring ( )

Backup method to give the user a bare minimum of a string in case the plugins don't convert this item to a string themselves.

Returns
The item's type.

Member Data Documentation

SD_Meeting_Tool_Action_Item::$data = null

Item's data, defined and used by the specific module that uses this type.

SD_Meeting_Tool_Action_Item::$description

Human-readable string describing what this item does. Used mostly by SD_Meeting_Tool_Actions for display to the user.

SD_Meeting_Tool_Action_Item::$id

Int ID of item.

SD_Meeting_Tool_Action_Item::$order

Order of item in the action's list of items.

Default is 1. Lower means first.

SD_Meeting_Tool_Action_Item::$type

A string that identifies the item type.


The documentation for this class was generated from the following file: