Class UNL_UCBCN_Calendar
Description
ORM for a record within the database.
Located in /UNL/UCBCN/Calendar.php (line 30)
DB_DataObject | --UNL_UCBCN_Calendar
Variable Summary
mixed
$account_id
mixed
$calendardaterange
mixed
$calendarstatus
mixed
$datecreated
mixed
$datelastupdated
mixed
$emaillists
mixed
$eventreleasepreference
mixed
$externalforms
mixed
$fb_enumFields
mixed
$fb_enumOptions
mixed
$fb_fieldLabels
mixed
$fb_hiddenFields
mixed
$fb_linkDisplayFields
mixed
$formatcalendardata
mixed
$id
mixed
$name
mixed
$shortname
mixed
$uidcreated
mixed
$uidlastupdated
mixed
$uploadedcss
mixed
$uploadedxsl
mixed
$website
mixed
$__table
Method Summary
int
addEvent
(UNL_UCBCN_Event $event, string $status, UNL_UCBCN_User $user, [string $source = null])
void
keys
()
void
links
()
void
processSubscriptions
()
void
sequenceKey
()
void
table
()
Variables
mixed
$account_id
(line 37)
mixed
$calendardaterange
(line 42)
mixed
$calendarstatus
(line 47)
mixed
$datecreated
(line 48)
mixed
$datelastupdated
(line 50)
mixed
$emaillists
(line 46)
mixed
$eventreleasepreference
(line 41)
mixed
$externalforms
(line 52)
mixed
$fb_enumFields
= array('eventreleasepreference') (line 76)
mixed
$fb_enumOptions
= array('eventreleasepreference'=>array('Immediate','Pending')) (line 77)
mixed
$fb_fieldLabels
= array('eventreleasepreference' => 'Event Release Preference',
'shortname' => 'Short Name (this will change your calendar web address)',
'emaillists' => 'Email Lists (separated by commas)',
'recommendationswithinaccount' => 'Allow event recommendations within this account') (line 72)
'shortname' => 'Short Name (this will change your calendar web address)',
'emaillists' => 'Email Lists (separated by commas)',
'recommendationswithinaccount' => 'Allow event recommendations within this account') (line 72)
mixed
$fb_hiddenFields
= array( 'account_id',
'uploadedcss',
'uploadedxsl',
'calendarstatus',
'formatcalendardata',
'calendardaterange',
'datecreated',
'uidcreated',
'datelastupdated',
'uidlastupdated',
'externalforms') (line 61)
'uploadedcss',
'uploadedxsl',
'calendarstatus',
'formatcalendardata',
'calendardaterange',
'datecreated',
'uidcreated',
'datelastupdated',
'uidlastupdated',
'externalforms') (line 61)
mixed
$fb_linkDisplayFields
= array('name','shortname') (line 78)
mixed
$formatcalendardata
(line 43)
mixed
$id
(line 36)
mixed
$name
(line 38)
mixed
$recommendationswithinaccount
(line 53)
mixed
$shortname
(line 39)
mixed
$uidcreated
(line 49)
mixed
$uidlastupdated
(line 51)
mixed
$uploadedcss
(line 44)
mixed
$uploadedxsl
(line 45)
mixed
$website
(line 40)
mixed
$__table
= 'calendar' (line 35)
Methods
static method getByShortname (line 177)
Gets a calendar by shortname.
- string $shortname: The shortname of the calendar you wish to get.
addEvent (line 216)
Adds the event to the current calendar.
int
addEvent
(UNL_UCBCN_Event $event, string $status, UNL_UCBCN_User $user, [string $source = null])
- UNL_UCBCN_Event $event
- string $status: posted | pending | archived
- UNL_UCBCN_User $user: the user adding this event
- string $source: create event form, subscription.
addUser (line 154)
Adds a user to the calendar. Grants all permissions to the user for the current calendar.
- UNL_UCBCN_User $user
keys (line 104)
void
keys
()
links (line 116)
void
links
()
postGenerateForm (line 131)
void
postGenerateForm
( &$form, &$formBuilder)
- &$form
- &$formBuilder
preGenerateForm (line 123)
void
preGenerateForm
( &$fb)
- &$fb
processSubscriptions (line 260)
Finds the subscriptions this calendar has, and processes them.
void
processSubscriptions
()
removeEvent (line 243)
Removes the given event from the calendar_has_event table.
- UNL_UCBCN_Event $event: The event to remove from this calendar.
removeUser (line 195)
Removes a user from the current calendar.
Basically removes all permissions for the user on the current calendar.
- UNL_UCBCN_User $user
sequenceKey (line 111)
void
sequenceKey
()
staticGet (line 56)
void
staticGet
( $k, [ $v = NULL])
- $k
- $v
table (line 80)
void
table
()
Documentation generated on Wed, 12 Aug 2009 13:00:42 -0500 by phpDocumentor 1.4.2




