The field of a participant. More...
Public Member Functions | |
| get_slug () | |
Static Public Member Functions | |
| static | slug ($field_name) |
Public Attributes | |
| $name | |
| $description | |
| $type = 'text' | |
| $value | |
| $is_native = true | |
The field of a participant.
Will mostly be the column namn, using the column's computer name as the name and the human-readable name as a description.
| SD_Meeting_Tool_Participant_Field::get_slug | ( | ) |
Returns this field's slug.
return The sanitized slug of this field.
|
static |
Returns the sanitized slug of the name.
| SD_Meeting_Tool_Participant_Field::$description |
Description of field.
Human-reable string.
example: "First name", "Last two names"
| SD_Meeting_Tool_Participant_Field::$is_native = true |
Whether this field comes from the participant database or is tacked on by an extra plugin.
| SD_Meeting_Tool_Participant_Field::$name |
Name of the field.
Will most probably be a single word or two lowercase words with an underscore.
No umlauts or special chars, just a-z, 0-9 and an underscore or two.
example: first_name, last2names
| SD_Meeting_Tool_Participant_Field::$type = 'text' |
Type of field.
Can be anything the modules want: text, textfield, integer, datettime, barcode, etc.
Default is "text". $var $type
| SD_Meeting_Tool_Participant_Field::$value |
Value.
Used when just about to display a participant field value, using the sd_mt_display_participant_field filter. Otherwise unused.
1.8.1.2