|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for ilCalendarRecurrence:
Collaboration diagram for ilCalendarRecurrence:Public Member Functions | |
| __construct ($a_rec_id=0) | |
| Constructor. More... | |
| toICal ($a_user_id) | |
| Get ical presentation for calendar recurrence. More... | |
| reset () | |
| reset all settings More... | |
| getRecurrenceId () | |
| get recurrence id More... | |
| setEntryId ($a_id) | |
| set cal id More... | |
| getEntryId () | |
| Get calendar entry id. More... | |
| setRecurrence ($a_type) | |
| set type of recurrence More... | |
| isRecurrence () | |
| is recurrence More... | |
| setFrequenceType ($a_type) | |
| set frequence type More... | |
| getFrequenceType () | |
| get freq type More... | |
| getFrequenceUntilDate () | |
| get until date More... | |
| setFrequenceUntilDate (ilDateTime $a_date=null) | |
| set freq until date More... | |
| setFrequenceUntilCount ($a_count) | |
| set frequence count More... | |
| getFrequenceUntilCount () | |
| get frequence until count More... | |
| setInterval ($a_interval) | |
| set interval More... | |
| getInterval () | |
| get interval More... | |
| setBYDAY ($a_byday) | |
| set by day More... | |
| getBYDAY () | |
| get BYDAY More... | |
| getBYDAYList () | |
| get BYDAY list More... | |
| setBYWEEKNO ($a_byweekno) | |
| set by day More... | |
| getBYWEEKNOList () | |
| get byweekno list More... | |
| getBYWEEKNO () | |
| get BYDAY More... | |
| setBYMONTH ($a_by) | |
| set by day More... | |
| getBYMONTH () | |
| get BYDAY More... | |
| getBYMONTHList () | |
| get bymonth list More... | |
| setBYMONTHDAY ($a_by) | |
| set by day More... | |
| getBYMONTHDAY () | |
| get BYDAY More... | |
| getBYMONTHDAYList () | |
| get BYMONTHDAY list More... | |
| setBYYEARDAY ($a_by) | |
| set by day More... | |
| getBYYEARDAY () | |
| get BYDAY More... | |
| getBYYEARDAYList () | |
| get BYYEARDAY list More... | |
| setBYSETPOS ($a_by) | |
| set by day More... | |
| getBYSETPOS () | |
| get BYDAY More... | |
| getBYSETPOSList () | |
| get bysetpos list More... | |
| setWeekstart ($a_start) | |
| set weekstart More... | |
| getWeekstart () | |
| get weekstart More... | |
| getTimeZone () | |
| get timezone More... | |
| setTimeZone ($a_tz) | |
| set timezone More... | |
| getExclusionDates () | |
| Get exclusion dates. More... | |
| validate () | |
| validate More... | |
| save () | |
| save More... | |
| update () | |
| save More... | |
| delete () | |
| delete More... | |
| getFrequenceType () | |
| Get Frequence type of recurrence. More... | |
| getTimeZone () | |
| Get timezone of recurrence. More... | |
| getFrequenceUntilCount () | |
| Get number of recurrences. More... | |
| getFrequenceUntilDate () | |
| Get end data of recurrence. More... | |
| getInterval () | |
| Get interval of recurrence. More... | |
| getBYMONTHList () | |
| Get BYMONTHList. More... | |
| getBYWEEKNOList () | |
| Get BYWEEKNOList. More... | |
| getBYYEARDAYList () | |
| Get BYYEARDAYLIST. More... | |
| getBYMONTHDAYList () | |
| GEt BYMONTHDAY List. More... | |
| getBYDAYList () | |
| Get BYDAY List. More... | |
| getBYSETPOSList () | |
| Get BYSETPOS List. More... | |
| getExclusionDates () | |
| Get exclusion dates. More... | |
| validate () | |
| validate recurrence More... | |
Static Public Member Functions | |
| static | _delete ($a_cal_id) |
| delete More... | |
Data Fields | |
| const | REC_RECURRENCE = 0 |
| const | REC_EXCLUSION = 1 |
| const | FREQ_DAILY = 'DAILY' |
| const | FREQ_WEEKLY = 'WEEKLY' |
| const | FREQ_MONTHLY = 'MONTHLY' |
| const | FREQ_YEARLY = 'YEARLY' |
Protected Attributes | |
| $db | |
Private Member Functions | |
| read () | |
| Read entry. More... | |
Private Attributes | |
| $recurrence_id | |
| $cal_id | |
| $recurrence_type | |
| $freq_type = '' | |
| $freq_until_type | |
| $freq_until_date = null | |
| $freq_until_count | |
| $interval = 0 | |
| $byday = '' | |
| $byweekno = '' | |
| $bymonth = '' | |
| $bymonthday = '' | |
| $byyearday = '' | |
| $bysetpos = '' | |
| $weekstart = '' | |
| $exclusion_dates = array() | |
| $timezone = 'Europe/Berlin' | |
Definition at line 43 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::__construct | ( | $a_rec_id = 0 | ) |
Constructor.
@access public
| int | recurrence id |
Definition at line 85 of file class.ilCalendarRecurrence.php.
References $DIC, $ilDB, and read().
Here is the call graph for this function:
|
static |
delete
@access public
| int | appointment id |
Definition at line 106 of file class.ilCalendarRecurrence.php.
References $DIC, $ilDB, $query, $res, and ilCalendarRecurrenceExclusions\delete().
Referenced by ilCalendarEntry\_delete(), and ilCalendarEntry\delete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarRecurrence::delete | ( | ) |
delete
@access public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 750 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::getBYDAY | ( | ) |
get BYDAY
@access public
Definition at line 368 of file class.ilCalendarRecurrence.php.
References $byday.
Referenced by getBYDAYList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYDAYList | ( | ) |
get BYDAY list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 379 of file class.ilCalendarRecurrence.php.
References $byday, and getBYDAY().
Here is the call graph for this function:| ilCalendarRecurrence::getBYMONTH | ( | ) |
get BYDAY
@access public
Definition at line 449 of file class.ilCalendarRecurrence.php.
References $bymonth.
Referenced by getBYMONTHList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYMONTHDAY | ( | ) |
get BYDAY
@access public
Definition at line 489 of file class.ilCalendarRecurrence.php.
References $bymonthday.
Referenced by getBYMONTHDAYList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYMONTHDAYList | ( | ) |
get BYMONTHDAY list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 499 of file class.ilCalendarRecurrence.php.
References getBYMONTHDAY().
Here is the call graph for this function:| ilCalendarRecurrence::getBYMONTHList | ( | ) |
get bymonth list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 460 of file class.ilCalendarRecurrence.php.
References getBYMONTH().
Here is the call graph for this function:| ilCalendarRecurrence::getBYSETPOS | ( | ) |
get BYDAY
@access public
Definition at line 569 of file class.ilCalendarRecurrence.php.
References $bysetpos.
Referenced by getBYSETPOSList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYSETPOSList | ( | ) |
get bysetpos list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 580 of file class.ilCalendarRecurrence.php.
References getBYSETPOS().
Here is the call graph for this function:| ilCalendarRecurrence::getBYWEEKNO | ( | ) |
get BYDAY
@access public
Definition at line 426 of file class.ilCalendarRecurrence.php.
References $byweekno.
Referenced by getBYWEEKNOList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYWEEKNOList | ( | ) |
get byweekno list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 408 of file class.ilCalendarRecurrence.php.
References getBYWEEKNO().
Here is the call graph for this function:| ilCalendarRecurrence::getBYYEARDAY | ( | ) |
get BYDAY
@access public
Definition at line 529 of file class.ilCalendarRecurrence.php.
References $byyearday.
Referenced by getBYYEARDAYList(), save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getBYYEARDAYList | ( | ) |
get BYYEARDAY list
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 540 of file class.ilCalendarRecurrence.php.
References getBYYEARDAY().
Here is the call graph for this function:| ilCalendarRecurrence::getEntryId | ( | ) |
Get calendar entry id.
Definition at line 229 of file class.ilCalendarRecurrence.php.
References $cal_id.
Referenced by toICal().
Here is the caller graph for this function:| ilCalendarRecurrence::getExclusionDates | ( | ) |
Get exclusion dates.
Implements ilCalendarRecurrenceCalculation.
Definition at line 642 of file class.ilCalendarRecurrence.php.
References $exclusion_dates.
| ilCalendarRecurrence::getFrequenceType | ( | ) |
get freq type
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 276 of file class.ilCalendarRecurrence.php.
References $freq_type.
Referenced by save(), toICal(), update(), and validate().
Here is the caller graph for this function:| ilCalendarRecurrence::getFrequenceUntilCount | ( | ) |
get frequence until count
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 322 of file class.ilCalendarRecurrence.php.
References $freq_until_count.
Referenced by save(), toICal(), update(), and validate().
Here is the caller graph for this function:| ilCalendarRecurrence::getFrequenceUntilDate | ( | ) |
get until date
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 287 of file class.ilCalendarRecurrence.php.
Referenced by save(), toICal(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::getInterval | ( | ) |
get interval
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 345 of file class.ilCalendarRecurrence.php.
Referenced by save(), toICal(), update(), and validate().
Here is the caller graph for this function:| ilCalendarRecurrence::getRecurrenceId | ( | ) |
get recurrence id
@access public
Definition at line 207 of file class.ilCalendarRecurrence.php.
References $recurrence_id.
| ilCalendarRecurrence::getTimeZone | ( | ) |
get timezone
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 621 of file class.ilCalendarRecurrence.php.
References $timezone.
| ilCalendarRecurrence::getWeekstart | ( | ) |
get weekstart
@access public
Definition at line 610 of file class.ilCalendarRecurrence.php.
References $weekstart.
Referenced by save(), and update().
Here is the caller graph for this function:| ilCalendarRecurrence::isRecurrence | ( | ) |
is recurrence
@access public
Definition at line 253 of file class.ilCalendarRecurrence.php.
References REC_RECURRENCE.
|
private |
Read entry.
@access private
Definition at line 768 of file class.ilCalendarRecurrence.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilCalendarRecurrenceExclusions\getExclusionDates(), and IL_CAL_DATETIME.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarRecurrence::reset | ( | ) |
reset all settings
@access public
Definition at line 186 of file class.ilCalendarRecurrence.php.
References setBYDAY(), setBYMONTH(), setBYMONTHDAY(), setBYSETPOS(), setBYWEEKNO(), setBYYEARDAY(), setFrequenceType(), setFrequenceUntilCount(), and setInterval().
Here is the call graph for this function:| ilCalendarRecurrence::save | ( | ) |
save
@access public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 675 of file class.ilCalendarRecurrence.php.
References $DIC, $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilCalendarRecurrence::setBYDAY | ( | $a_byday | ) |
set by day
@access public
| string | byday rule |
Definition at line 357 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setBYMONTH | ( | $a_by | ) |
set by day
@access public
| string | byday rule |
Definition at line 438 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setBYMONTHDAY | ( | $a_by | ) |
set by day
@access public
| string | byday rule |
Definition at line 478 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setBYSETPOS | ( | $a_by | ) |
set by day
@access public
| string | byday rule |
Definition at line 558 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setBYWEEKNO | ( | $a_byweekno | ) |
set by day
@access public
| string | byday rule |
Definition at line 397 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setBYYEARDAY | ( | $a_by | ) |
set by day
@access public
| string | byday rule |
Definition at line 518 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setEntryId | ( | $a_id | ) |
set cal id
@access public
| int | calendar entry id |
Definition at line 220 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::setFrequenceType | ( | $a_type | ) |
set frequence type
@access public
| int | FREQUENCE_TYPE e.g MONTHLY, WEEKLY ... |
Definition at line 265 of file class.ilCalendarRecurrence.php.
References $a_type.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setFrequenceUntilCount | ( | $a_count | ) |
set frequence count
@access public
| int | count |
Definition at line 310 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setFrequenceUntilDate | ( | ilDateTime | $a_date = null | ) |
set freq until date
@access public
Definition at line 298 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::setInterval | ( | $a_interval | ) |
set interval
@access public
| int | interval |
Definition at line 334 of file class.ilCalendarRecurrence.php.
Referenced by reset().
Here is the caller graph for this function:| ilCalendarRecurrence::setRecurrence | ( | $a_type | ) |
set type of recurrence
@access public
| int | REC_RECURRENCE or REC_EXLUSION defines whther the current object is a recurrence an exclusion pattern |
Definition at line 241 of file class.ilCalendarRecurrence.php.
References $a_type.
| ilCalendarRecurrence::setTimeZone | ( | $a_tz | ) |
set timezone
@access public
| string | timezone |
Definition at line 633 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::setWeekstart | ( | $a_start | ) |
set weekstart
@access public
| string | weekstart |
Definition at line 599 of file class.ilCalendarRecurrence.php.
| ilCalendarRecurrence::toICal | ( | $a_user_id | ) |
Get ical presentation for calendar recurrence.
| type | $a_user_id |
Definition at line 124 of file class.ilCalendarRecurrence.php.
References ilCalendarUserSettings\_getInstanceByUserId(), getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getEntryId(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), IL_CAL_FKT_DATE, and ilCalendarSettings\WEEK_START_MONDAY.
Here is the call graph for this function:| ilCalendarRecurrence::update | ( | ) |
save
@access public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 715 of file class.ilCalendarRecurrence.php.
References $DIC, $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.
Here is the call graph for this function:| ilCalendarRecurrence::validate | ( | ) |
validate
@access public
Implements ilCalendarRecurrenceCalculation.
Definition at line 653 of file class.ilCalendarRecurrence.php.
References getFrequenceType(), getFrequenceUntilCount(), getInterval(), IL_CAL_FREQ_DAILY, IL_CAL_FREQ_MONTHLY, IL_CAL_FREQ_WEEKLY, and IL_CAL_FREQ_YEARLY.
Here is the call graph for this function:
|
private |
Definition at line 66 of file class.ilCalendarRecurrence.php.
Referenced by getBYDAY(), and getBYDAYList().
|
private |
Definition at line 68 of file class.ilCalendarRecurrence.php.
Referenced by getBYMONTH().
|
private |
Definition at line 69 of file class.ilCalendarRecurrence.php.
Referenced by getBYMONTHDAY().
|
private |
Definition at line 71 of file class.ilCalendarRecurrence.php.
Referenced by getBYSETPOS().
|
private |
Definition at line 67 of file class.ilCalendarRecurrence.php.
Referenced by getBYWEEKNO().
|
private |
Definition at line 70 of file class.ilCalendarRecurrence.php.
Referenced by getBYYEARDAY().
|
private |
Definition at line 57 of file class.ilCalendarRecurrence.php.
Referenced by getEntryId().
|
protected |
Definition at line 54 of file class.ilCalendarRecurrence.php.
|
private |
Definition at line 74 of file class.ilCalendarRecurrence.php.
Referenced by getExclusionDates().
|
private |
Definition at line 60 of file class.ilCalendarRecurrence.php.
Referenced by getFrequenceType().
|
private |
Definition at line 63 of file class.ilCalendarRecurrence.php.
Referenced by getFrequenceUntilCount().
|
private |
Definition at line 62 of file class.ilCalendarRecurrence.php.
|
private |
Definition at line 61 of file class.ilCalendarRecurrence.php.
|
private |
Definition at line 65 of file class.ilCalendarRecurrence.php.
|
private |
Definition at line 56 of file class.ilCalendarRecurrence.php.
Referenced by getRecurrenceId().
|
private |
Definition at line 58 of file class.ilCalendarRecurrence.php.
|
private |
Definition at line 76 of file class.ilCalendarRecurrence.php.
Referenced by getTimeZone().
|
private |
Definition at line 72 of file class.ilCalendarRecurrence.php.
Referenced by getWeekstart().
| const ilCalendarRecurrence::FREQ_DAILY = 'DAILY' |
Definition at line 48 of file class.ilCalendarRecurrence.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\incrementByFrequency(), and ilCalendarRecurrenceGUI\initForm().
| const ilCalendarRecurrence::FREQ_MONTHLY = 'MONTHLY' |
Definition at line 50 of file class.ilCalendarRecurrence.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHRules(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\incrementByFrequency(), and ilCalendarRecurrenceGUI\initForm().
| const ilCalendarRecurrence::FREQ_WEEKLY = 'WEEKLY' |
Definition at line 49 of file class.ilCalendarRecurrence.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\incrementByFrequency(), and ilCalendarRecurrenceGUI\initForm().
| const ilCalendarRecurrence::FREQ_YEARLY = 'YEARLY' |
Definition at line 51 of file class.ilCalendarRecurrence.php.
Referenced by ilCalendarRecurrenceCalculator\applyBYDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHDAYRules(), ilCalendarRecurrenceCalculator\applyBYMONTHRules(), ilCalendarRecurrenceCalculator\applyBYWEEKNORules(), ilCalendarRecurrenceCalculator\applyBYYEARDAYRules(), ilCalendarRecurrenceCalculator\incrementByFrequency(), and ilCalendarRecurrenceGUI\initForm().
| const ilCalendarRecurrence::REC_EXCLUSION = 1 |
Definition at line 46 of file class.ilCalendarRecurrence.php.
| const ilCalendarRecurrence::REC_RECURRENCE = 0 |
Definition at line 45 of file class.ilCalendarRecurrence.php.
Referenced by isRecurrence().