Public Member Functions | |
| Event ($parentConvention, $id=NULL) | |
| load () | |
| save () | |
| renderEditor ($editThis) | |
| renderLink ($globalID) | |
| render ($editThis=false) | |
Public Attributes | |
| $id | |
| $parentConvention | |
| $title | |
| $blurb | |
| $description | |
| $hotelID | |
| $floorID | |
| $roomID | |
| $owner | |
| Who is the person(s) that's conducting this event?   | |
| $startTime | |
| Unix timestamp for when the event starts.   | |
| $duration | |
| Number of seconds (for easy calculation with date().   | |
| $customClass | |
| Purely for design purposes, allow setting an extra CSS class.   | |
Definition at line 37 of file Event.php.
| Event::Event | ( | $ | parentConvention, | |
| $ |  id = NULL | |||
| ) | 
| int | hotelID If zero, a new hotel will be created. If non-zero, the hotel with this id will be loaded | |
| Convention | convention Reference to the containing convention | 
Definition at line 62 of file Event.php.
References $id, $parentConvention, and load().

| Event::load | ( | ) | 
| Event::save | ( | ) | 
Definition at line 82 of file Event.php.
References $filename, $settings, array_export(), description, and name.
Referenced by renderEditor().

| Event::renderEditor | ( | $ | editThis | ) | 
Definition at line 106 of file Event.php.
References $floorID, $hotelID, $i, $panel, $roomID, allUsersArray(), description, globalIDtoURL(), i18n(), name, render(), renderInformationBox(), and save().
Referenced by render().

| Event::renderLink | ( | $ | globalID | ) | 
Definition at line 178 of file Event.php.
References drawCommand(), globalIDtoURL(), i18n(), and name.

| Event::render | ( | $ |  editThis = false           | 
          ) | 
Definition at line 190 of file Event.php.
References $avatarthumbfile, description, drawCommand(), globalIDtoURL(), i18n(), name, parse_page_data(), renderEditor(), and siteURL().
Referenced by renderEditor().

| Event::$description | 
| Event::$hotelID | 
| Event::$floorID | 
| Event::$roomID | 
| Event::$owner | 
| Event::$startTime | 
| Event::$duration | 
| Event::$customClass | 
 1.5.5