Inheritance diagram for BaseEvent:

A basic event object for use with the calendar. It has start/end dates, location enabled, etc.
Definition at line 11 of file base-event.inc.php.
Public Member Functions | |
| __construct ($data=null, $table= 'events', $guestTable= 'event_guests') | |
| see BaseObject::__construct | |
| getPagesXml () | |
| add in event pages: rsvp, attend, leave | |
| getEditPageParamXml () | |
| extend edit page to allow date to be passed in | |
| delete () | |
| delete the event, also delete guests | |
| initAttendPage () | |
| prep our attend page | |
| drawAttendPage () | |
| draw our attend page... | |
| createAttendForm () | |
| create attend form w/ guest count | |
| initLeavePage () | |
| prep our leave page, for removing yourself from an event. | |
| drawLeavePage () | |
| draw the leave page w/ confirmation form | |
| createLeaveForm () | |
| create the leave confirmation form. | |
| initRSVPPage () | |
| init the RSVP page | |
| drawRSVPPage () | |
| draw the RSVP page w/ form, etc | |
| createRSVPForm () | |
| create the RSVP form w/ commitment and guests | |
| initUnInvitePage () | |
| drawUnInvitePage () | |
| createUnInviteForm ($user) | |
| canInvite () | |
| canUnInvite () | |
| canAttend () | |
| can $me attend an event? | |
| canLeave () | |
| can $me leave the event? | |
| initInvitePage () | |
| drawInvitePage () | |
| createInviteForm () | |
| isGuest ($userId) | |
| is the user a guest or not? | |
| getGuest ($userId) | |
| get a guests information. | |
| getGuests ($all=true, $force=false) | |
| get the guests for the event. | |
| getGuestCount ($all=true) | |
| get a count of all our guests | |
| initEditPage () | |
| prep our edit page, add js | |
| editFormAddFields ($form) | |
| add fields to our event form | |
| addContentFields ($form) | |
| add our content fields to the add/edit form | |
| addLocationFields ($form) | |
| add our location fields to the add/edit form | |
| addPrivacyFields ($form) | |
| add our privacy fields to the add/edit form | |
| editFormLoad ($form) | |
| load our data into the form, also load start/end date | |
| addGuest ($id, $commitment= 'yes') | |
| add user as a guest w/ commitment | |
| inviteGuest ($id) | |
| removeGuest ($id) | |
| remove a guest from the event. | |
| rsvp ($id, $commitment, $guests) | |
| do the RSVP update | |
| initViewPage () | |
| setup our view page | |
| addInfoBox () | |
| add an info box to the page about event. | |
| addGuestBox () | |
| add a box of guest information to the event | |
| drawLine () | |
| draw a line of info on the event | |
| drawLocation ($map=false) | |
| draw the location of the event | |
| getRssItem () | |
| get the event info RSS item | |
| getPublicData () | |
| get data for export via API's and such | |
| getName ($link=false) | |
| get the name of our event | |
| getCreateFieldsArray () | |
| get an array of fields in the table that stores the events | |
| getCreateIndexesArray () | |
| get an array of indexes on fields in the alert table | |
Public Attributes | |
| $guests = null | |
| $guestTable = null | |
Protected Member Functions | |
| getPotentialGuestList () | |
| gets a list of potential guests. | |
| editPagePostSuccess ($form) | |
| post-processing, add creator as first guest | |
| emailInvite ($user) | |
|
||||||||||||||||
|
Definition at line 21 of file base-event.inc.php. |
|
|
add our content fields to the add/edit form
Definition at line 577 of file base-event.inc.php. Referenced by editFormAddFields(). |
|
||||||||||||
|
add user as a guest w/ commitment
Definition at line 695 of file base-event.inc.php. References dbExecute(). Referenced by drawAttendPage(). |
|
|
add a box of guest information to the event
Definition at line 845 of file base-event.inc.php. References $s. |
|
|
add an info box to the page about event.
Definition at line 813 of file base-event.inc.php. References $s. |
|
|
add our location fields to the add/edit form
Definition at line 607 of file base-event.inc.php. Referenced by editFormAddFields(). |
|
|
add our privacy fields to the add/edit form
Definition at line 632 of file base-event.inc.php. Referenced by editFormAddFields(). |
|
|
can $me attend an event? checks to see if they're not a guest, or if its invite only, etc.
Definition at line 359 of file base-event.inc.php. References BaseObject::canView(), and isGuest(). Referenced by initAttendPage(). |
|
|
Definition at line 339 of file base-event.inc.php. References BaseObject::canEdit(). Referenced by initInvitePage(). |
|
|
can $me leave the event? checks to see if they are attending, etc.
Definition at line 373 of file base-event.inc.php. References isGuest(). Referenced by initLeavePage(). |
|
|
Definition at line 347 of file base-event.inc.php. References BaseObject::canDelete(). Referenced by initUnInvitePage(). |
|
|
create attend form w/ guest count
Definition at line 135 of file base-event.inc.php. References BaseModule::getUrl(). Referenced by drawAttendPage(). |
|
|
Definition at line 425 of file base-event.inc.php. References BaseModule::getUrl(). Referenced by drawInvitePage(). |
|
|
create the leave confirmation form.
Definition at line 189 of file base-event.inc.php. References BaseModule::getUrl(). Referenced by drawLeavePage(). |
|
|
create the RSVP form w/ commitment and guests
Definition at line 253 of file base-event.inc.php. References BaseModule::getUrl(). Referenced by drawRSVPPage(). |
|
|
Definition at line 323 of file base-event.inc.php. References BaseModule::getUrl(). Referenced by drawUnInvitePage(). |
|
|
delete the event, also delete guests
Reimplemented from BaseObject. Definition at line 77 of file base-event.inc.php. References dbExecute(). |
|
|
draw our attend page... with guest form too Definition at line 107 of file base-event.inc.php. References addGuest(), createAttendForm(), Util::redirect(), and rsvp(). |
|
|
Definition at line 398 of file base-event.inc.php. References $guests, createInviteForm(), inviteGuest(), and Util::redirect(). |
|
|
draw the leave page w/ confirmation form
Definition at line 170 of file base-event.inc.php. References createLeaveForm(), Util::redirect(), and removeGuest(). |
|
|
draw a line of info on the event
Reimplemented from BaseObject. Definition at line 912 of file base-event.inc.php. |
|
|
draw the location of the event
Definition at line 926 of file base-event.inc.php. |
|
|
draw the RSVP page w/ form, etc
Definition at line 224 of file base-event.inc.php. References createRSVPForm(), Util::redirect(), and rsvp(). |
|
|
Definition at line 294 of file base-event.inc.php. References createUnInviteForm(), Util::redirect(), and removeGuest(). |
|
|
add fields to our event form
Reimplemented from BaseObject. Definition at line 558 of file base-event.inc.php. References addContentFields(), addLocationFields(), and addPrivacyFields(). |
|
|
load our data into the form, also load start/end date
Reimplemented from BaseObject. Definition at line 655 of file base-event.inc.php. |
|
|
post-processing, add creator as first guest
Reimplemented from BaseObject. Definition at line 679 of file base-event.inc.php. |
|
|
Definition at line 766 of file base-event.inc.php. References Config::get(). |
|
|
get an array of fields in the table that stores the events
Reimplemented from BaseObject. Definition at line 989 of file base-event.inc.php. |
|
|
get an array of indexes on fields in the alert table
Reimplemented from BaseObject. Definition at line 1008 of file base-event.inc.php. |
|
|
extend edit page to allow date to be passed in
Reimplemented from BaseObject. Definition at line 67 of file base-event.inc.php. |
|
|
get a guests information.
Definition at line 487 of file base-event.inc.php. References $guests, and getGuests(). |
|
|
get a count of all our guests
Definition at line 533 of file base-event.inc.php. |
|
||||||||||||
|
get the guests for the event.
Definition at line 500 of file base-event.inc.php. References dbFetchAssoc(), and dbQuery(). Referenced by getGuest(), and isGuest(). |
|
|
get the name of our event
Definition at line 977 of file base-event.inc.php. Referenced by initRSVPPage(). |
|
|
add in event pages: rsvp, attend, leave
Reimplemented from BaseObject. Definition at line 40 of file base-event.inc.php. |
|
|
gets a list of potential guests. by default it gets the users friends and removes current guests
Definition at line 454 of file base-event.inc.php. References isGuest(). |
|
|
get data for export via API's and such
Reimplemented from BaseObject. Definition at line 954 of file base-event.inc.php. |
|
|
get the event info RSS item
Reimplemented from BaseObject. Definition at line 937 of file base-event.inc.php. |
|
|
prep our attend page assert login, make sure they can attend, and set the title Definition at line 92 of file base-event.inc.php. References BaseModule::assertLogin(), canAttend(), and BaseModule::params(). |
|
|
prep our edit page, add js
Definition at line 541 of file base-event.inc.php. References BaseModule::needsJs(). |
|
|
Definition at line 383 of file base-event.inc.php. References BaseModule::assertLogin(), canInvite(), and BaseModule::params(). |
|
|
prep our leave page, for removing yourself from an event. assert login, check if they can leave, etc. Definition at line 155 of file base-event.inc.php. References BaseModule::assertLogin(), canLeave(), and BaseModule::params(). |
|
|
init the RSVP page assert login, error checking, title, etc. Definition at line 207 of file base-event.inc.php. References BaseModule::assertLogin(), getName(), isGuest(), and BaseModule::params(). |
|
|
Definition at line 279 of file base-event.inc.php. References BaseModule::assertLogin(), canUnInvite(), and BaseModule::params(). |
|
|
setup our view page
Definition at line 792 of file base-event.inc.php. |
|
|
Definition at line 710 of file base-event.inc.php. Referenced by drawInvitePage(). |
|
|
is the user a guest or not?
Definition at line 474 of file base-event.inc.php. References $guests, and getGuests(). Referenced by canAttend(), canLeave(), getPotentialGuestList(), and initRSVPPage(). |
|
|
remove a guest from the event.
Definition at line 727 of file base-event.inc.php. References dbExecute(). Referenced by drawLeavePage(), and drawUnInvitePage(). |
|
||||||||||||||||
|
do the RSVP update
Definition at line 745 of file base-event.inc.php. References dbExecute(). Referenced by drawAttendPage(), and drawRSVPPage(). |
|
|
Definition at line 13 of file base-event.inc.php. Referenced by drawInvitePage(), getGuest(), and isGuest(). |
|
|
Definition at line 14 of file base-event.inc.php. |
1.3.9.1