Event Class Reference

List of all members.

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.


Detailed Description

class Event

Definition at line 37 of file Event.php.


Member Function Documentation

Event::Event ( parentConvention,
id = NULL 
)

Parameters:
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
Returns:
public

Definition at line 62 of file Event.php.

References $id, $parentConvention, and load().

Here is the call graph for this function:

Event::load (  ) 

Definition at line 71 of file Event.php.

References $filename, and $settings.

Referenced by Event().

Event::save (  ) 

Definition at line 82 of file Event.php.

References $filename, $settings, array_export(), description, and name.

Referenced by renderEditor().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Event::renderLink ( globalID  ) 

Definition at line 178 of file Event.php.

References drawCommand(), globalIDtoURL(), i18n(), and name.

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

Event::$id

Definition at line 39 of file Event.php.

Referenced by Event().

Event::$parentConvention

Definition at line 40 of file Event.php.

Referenced by Event().

Event::$title

Definition at line 42 of file Event.php.

Event::$blurb

Definition at line 43 of file Event.php.

Event::$description

Definition at line 44 of file Event.php.

Event::$hotelID

Definition at line 46 of file Event.php.

Referenced by renderEditor().

Event::$floorID

Definition at line 47 of file Event.php.

Referenced by renderEditor().

Event::$roomID

Definition at line 48 of file Event.php.

Referenced by renderEditor().

Event::$owner

Who is the person(s) that's conducting this event?

Definition at line 50 of file Event.php.

Event::$startTime

Unix timestamp for when the event starts.

Definition at line 51 of file Event.php.

Event::$duration

Number of seconds (for easy calculation with date().

Definition at line 52 of file Event.php.

Event::$customClass

Purely for design purposes, allow setting an extra CSS class.

Definition at line 53 of file Event.php.


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

Generated on Sun Oct 26 20:33:15 2008 for The Travelsized Content Management System by  doxygen 1.5.5