ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
__construct ($a_rec_id=0) | |
Constructor. | |
toICal () | |
reset () | |
reset all settings | |
getRecurrenceId () | |
get recurrence id | |
setEntryId ($a_id) | |
set cal id | |
setRecurrence ($a_type) | |
set type of recurrence | |
isRecurrence () | |
is recurrence | |
setFrequenceType ($a_type) | |
set frequence type | |
getFrequenceType () | |
get freq type | |
getFrequenceUntilDate () | |
get until date | |
setFrequenceUntilDate (ilDateTime $a_date=null) | |
set freq until date | |
setFrequenceUntilCount ($a_count) | |
set frequence count | |
getFrequenceUntilCount () | |
get frequence until count | |
setInterval ($a_interval) | |
set interval | |
getInterval () | |
get interval | |
setBYDAY ($a_byday) | |
set by day | |
getBYDAY () | |
get BYDAY | |
getBYDAYList () | |
get BYDAY list | |
setBYWEEKNO ($a_byweekno) | |
set by day | |
getBYWEEKNOList () | |
get byweekno list | |
getBYWEEKNO () | |
get BYDAY | |
setBYMONTH ($a_by) | |
set by day | |
getBYMONTH () | |
get BYDAY | |
getBYMONTHList () | |
get bymonth list | |
setBYMONTHDAY ($a_by) | |
set by day | |
getBYMONTHDAY () | |
get BYDAY | |
getBYMONTHDAYList () | |
get BYMONTHDAY list | |
setBYYEARDAY ($a_by) | |
set by day | |
getBYYEARDAY () | |
get BYDAY | |
getBYYEARDAYList () | |
get BYYEARDAY list | |
setBYSETPOS ($a_by) | |
set by day | |
getBYSETPOS () | |
get BYDAY | |
getBYSETPOSList () | |
get bysetpos list | |
setWeekstart ($a_start) | |
set weekstart | |
getWeekstart () | |
get weekstart | |
getTimeZone () | |
get timezone | |
setTimeZone ($a_tz) | |
set timezone | |
getExclusionDates () | |
Get exclusion dates. | |
validate () | |
validate | |
save () | |
save | |
update () | |
save | |
delete () | |
delete |
Static Public Member Functions | |
static | _delete ($a_cal_id) |
delete |
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. |
Private Attributes | |
$recurrence_id | |
$cal_id | |
$recurrence_type | |
$freq_type = '' | |
$freq_until_type | |
$freq_until_date = null | |
$freq_until_count | |
$interval | |
$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 | ) |
|
static |
delete
public
int | appointment id |
Definition at line 105 of file class.ilCalendarRecurrence.php.
References $ilDB, $query, $res, and delete().
ilCalendarRecurrence::delete | ( | ) |
delete
public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 734 of file class.ilCalendarRecurrence.php.
References $ilDB, $query, and $res.
Referenced by _delete().
ilCalendarRecurrence::getBYDAY | ( | ) |
get BYDAY
public
Definition at line 340 of file class.ilCalendarRecurrence.php.
References $byday.
Referenced by getBYDAYList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYDAYList | ( | ) |
get BYDAY list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 351 of file class.ilCalendarRecurrence.php.
References $byday, and getBYDAY().
ilCalendarRecurrence::getBYMONTH | ( | ) |
get BYDAY
public
Definition at line 425 of file class.ilCalendarRecurrence.php.
References $bymonth.
Referenced by getBYMONTHList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYMONTHDAY | ( | ) |
get BYDAY
public
Definition at line 467 of file class.ilCalendarRecurrence.php.
References $bymonthday.
Referenced by getBYMONTHDAYList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYMONTHDAYList | ( | ) |
get BYMONTHDAY list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 477 of file class.ilCalendarRecurrence.php.
References getBYMONTHDAY().
ilCalendarRecurrence::getBYMONTHList | ( | ) |
get bymonth list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 436 of file class.ilCalendarRecurrence.php.
References getBYMONTH().
ilCalendarRecurrence::getBYSETPOS | ( | ) |
get BYDAY
public
Definition at line 552 of file class.ilCalendarRecurrence.php.
References $bysetpos.
Referenced by getBYSETPOSList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYSETPOSList | ( | ) |
get bysetpos list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 563 of file class.ilCalendarRecurrence.php.
References getBYSETPOS().
ilCalendarRecurrence::getBYWEEKNO | ( | ) |
get BYDAY
public
Definition at line 402 of file class.ilCalendarRecurrence.php.
References $byweekno.
Referenced by getBYWEEKNOList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYWEEKNOList | ( | ) |
get byweekno list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 382 of file class.ilCalendarRecurrence.php.
References getBYWEEKNO().
ilCalendarRecurrence::getBYYEARDAY | ( | ) |
get BYDAY
public
Definition at line 510 of file class.ilCalendarRecurrence.php.
References $byyearday.
Referenced by getBYYEARDAYList(), save(), toICal(), and update().
ilCalendarRecurrence::getBYYEARDAYList | ( | ) |
get BYYEARDAY list
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 521 of file class.ilCalendarRecurrence.php.
References getBYYEARDAY().
ilCalendarRecurrence::getExclusionDates | ( | ) |
Get exclusion dates.
Implements ilCalendarRecurrenceCalculation.
Definition at line 627 of file class.ilCalendarRecurrence.php.
References $exclusion_dates.
Referenced by read().
ilCalendarRecurrence::getFrequenceType | ( | ) |
get freq type
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 248 of file class.ilCalendarRecurrence.php.
References $freq_type.
Referenced by save(), update(), and validate().
ilCalendarRecurrence::getFrequenceUntilCount | ( | ) |
get frequence until count
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 294 of file class.ilCalendarRecurrence.php.
References $freq_until_count.
Referenced by save(), toICal(), update(), and validate().
ilCalendarRecurrence::getFrequenceUntilDate | ( | ) |
get until date
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 259 of file class.ilCalendarRecurrence.php.
Referenced by save(), toICal(), and update().
ilCalendarRecurrence::getInterval | ( | ) |
get interval
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 317 of file class.ilCalendarRecurrence.php.
Referenced by save(), toICal(), update(), and validate().
ilCalendarRecurrence::getRecurrenceId | ( | ) |
get recurrence id
public
Definition at line 188 of file class.ilCalendarRecurrence.php.
References $recurrence_id.
ilCalendarRecurrence::getTimeZone | ( | ) |
get timezone
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 606 of file class.ilCalendarRecurrence.php.
References $timezone.
ilCalendarRecurrence::getWeekstart | ( | ) |
get weekstart
public
Definition at line 595 of file class.ilCalendarRecurrence.php.
References $weekstart.
Referenced by save(), and update().
ilCalendarRecurrence::isRecurrence | ( | ) |
is recurrence
public
Definition at line 225 of file class.ilCalendarRecurrence.php.
References REC_RECURRENCE.
|
private |
Read entry.
private
Definition at line 750 of file class.ilCalendarRecurrence.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getExclusionDates(), and IL_CAL_DATETIME.
Referenced by __construct().
ilCalendarRecurrence::reset | ( | ) |
reset all settings
public
Definition at line 167 of file class.ilCalendarRecurrence.php.
References setBYDAY(), setBYMONTH(), setBYMONTHDAY(), setBYSETPOS(), setBYWEEKNO(), setBYYEARDAY(), setFrequenceType(), setFrequenceUntilCount(), and setInterval().
ilCalendarRecurrence::save | ( | ) |
save
public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 663 of file class.ilCalendarRecurrence.php.
References $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.
ilCalendarRecurrence::setBYDAY | ( | $a_byday | ) |
set by day
public
string | byday rule |
Definition at line 329 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setBYMONTH | ( | $a_by | ) |
set by day
public
string | byday rule |
Definition at line 414 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setBYMONTHDAY | ( | $a_by | ) |
set by day
public
string | byday rule |
Definition at line 456 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setBYSETPOS | ( | $a_by | ) |
set by day
public
string | byday rule |
Definition at line 541 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setBYWEEKNO | ( | $a_byweekno | ) |
set by day
public
string | byday rule |
Definition at line 371 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setBYYEARDAY | ( | $a_by | ) |
set by day
public
string | byday rule |
Definition at line 499 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setEntryId | ( | $a_id | ) |
set cal id
public
int | calendar entry id |
Definition at line 201 of file class.ilCalendarRecurrence.php.
ilCalendarRecurrence::setFrequenceType | ( | $a_type | ) |
set frequence type
public
int | FREQUENCE_TYPE e.g MONTHLY, WEEKLY ... |
Definition at line 237 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setFrequenceUntilCount | ( | $a_count | ) |
set frequence count
public
int | count |
Definition at line 282 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setFrequenceUntilDate | ( | ilDateTime | $a_date = null | ) |
set freq until date
public
Definition at line 270 of file class.ilCalendarRecurrence.php.
ilCalendarRecurrence::setInterval | ( | $a_interval | ) |
set interval
public
int | interval |
Definition at line 306 of file class.ilCalendarRecurrence.php.
Referenced by reset().
ilCalendarRecurrence::setRecurrence | ( | $a_type | ) |
set type of recurrence
public
int | REC_RECURRENCE or REC_EXLUSION defines whther the current object is a recurrence an exclusion pattern |
Definition at line 213 of file class.ilCalendarRecurrence.php.
ilCalendarRecurrence::setTimeZone | ( | $a_tz | ) |
set timezone
public
string | timezone |
Definition at line 618 of file class.ilCalendarRecurrence.php.
ilCalendarRecurrence::setWeekstart | ( | $a_start | ) |
set weekstart
public
string | weekstart |
Definition at line 584 of file class.ilCalendarRecurrence.php.
ilCalendarRecurrence::toICal | ( | ) |
Definition at line 116 of file class.ilCalendarRecurrence.php.
References getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), and IL_CAL_FKT_DATE.
ilCalendarRecurrence::update | ( | ) |
save
public
Reimplemented in ilEventRecurrence, and ilSessionRecurrence.
Definition at line 701 of file class.ilCalendarRecurrence.php.
References $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.
ilCalendarRecurrence::validate | ( | ) |
validate
public
Implements ilCalendarRecurrenceCalculation.
Definition at line 638 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.
|
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.
|
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(), ilCalendarRecurrenceGUI\initForm(), and ilCalendarRecurrenceCalculator\isNextIterationRequired().
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(), ilCalendarRecurrenceGUI\initForm(), and ilCalendarRecurrenceCalculator\isNextIterationRequired().
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(), ilCalendarRecurrenceGUI\initForm(), and ilCalendarRecurrenceCalculator\isNextIterationRequired().
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(), ilCalendarRecurrenceGUI\initForm(), and ilCalendarRecurrenceCalculator\isNextIterationRequired().
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().