ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCalendarRecurrence Class Reference
+ Inheritance diagram for ilCalendarRecurrence:
+ Collaboration diagram for ilCalendarRecurrence:

Public Member Functions

 __construct ($a_rec_id=0)
 Constructor.
 toICal ($a_user_id)
 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 = 0
 $byday = ''
 $byweekno = ''
 $bymonth = ''
 $bymonthday = ''
 $byyearday = ''
 $bysetpos = ''
 $weekstart = ''
 $exclusion_dates = array()
 $timezone = 'Europe/Berlin'

Detailed Description

Definition at line 43 of file class.ilCalendarRecurrence.php.

Constructor & Destructor Documentation

ilCalendarRecurrence::__construct (   $a_rec_id = 0)

Constructor.

public

Parameters
intrecurrence id

Definition at line 85 of file class.ilCalendarRecurrence.php.

References $ilDB, and read().

{
global $ilDB;
$this->db = $ilDB;
$this->recurrence_id = $a_rec_id;
if($a_rec_id)
{
$this->read();
}
}

+ Here is the call graph for this function:

Member Function Documentation

static ilCalendarRecurrence::_delete (   $a_cal_id)
static

delete

public

Parameters
intappointment id
Returns

Definition at line 105 of file class.ilCalendarRecurrence.php.

References $ilDB, $query, $res, and delete().

{
global $ilDB;
$query = "DELETE FROM cal_recurrence_rules ".
"WHERE cal_id = ".$ilDB->quote($a_cal_id ,'integer')." ";
$res = $ilDB->manipulate($query);
}

+ Here is the call graph for this function:

ilCalendarRecurrence::delete ( )

delete

public

Reimplemented in ilEventRecurrence, and ilSessionRecurrence.

Definition at line 751 of file class.ilCalendarRecurrence.php.

References $ilDB, $query, and $res.

Referenced by _delete().

{
global $ilDB;
$query = "DELETE FROM cal_recurrence_rules ".
"WHERE rule_id = ".$this->db->quote($this->recurrence_id ,'integer');
$res = $ilDB->manipulate($query);
return true;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getBYDAY ( )

get BYDAY

public

Definition at line 357 of file class.ilCalendarRecurrence.php.

References $byday.

Referenced by getBYDAYList(), save(), toICal(), and update().

{
return $this->byday;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getBYDAYList ( )

get BYDAY list

public

Returns

Implements ilCalendarRecurrenceCalculation.

Definition at line 368 of file class.ilCalendarRecurrence.php.

References $byday, and getBYDAY().

{
if(!trim($this->getBYDAY()))
{
return array();
}
foreach(explode(',',$this->getBYDAY()) as $byday)
{
$bydays[] = trim($byday);
}
return $bydays ? $bydays : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getBYMONTH ( )

get BYDAY

public

Definition at line 442 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

public

Definition at line 484 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

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 494 of file class.ilCalendarRecurrence.php.

References getBYMONTHDAY().

{
if(!trim($this->getBYMONTHDAY()))
{
return array();
}
foreach(explode(',',$this->getBYMONTHDAY()) as $month_num)
{
$months[] = (int) $month_num;
}
return $months ? $months : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getBYMONTHList ( )

get bymonth list

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 453 of file class.ilCalendarRecurrence.php.

References getBYMONTH().

{
if(!trim($this->getBYMONTH()))
{
return array();
}
foreach(explode(',',$this->getBYMONTH()) as $month_num)
{
$months[] = (int) $month_num;
}
return $months ? $months : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getBYSETPOS ( )

get BYDAY

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

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 580 of file class.ilCalendarRecurrence.php.

References getBYSETPOS().

{
if(!trim($this->getBYSETPOS()))
{
return array();
}
foreach(explode(',',$this->getBYSETPOS()) as $pos)
{
$positions[] = (int) $pos;
}
return $positions ? $positions : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getBYWEEKNO ( )

get BYDAY

public

Definition at line 419 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

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 399 of file class.ilCalendarRecurrence.php.

References getBYWEEKNO().

{
if(!trim($this->getBYWEEKNO()))
{
return array();
}
foreach(explode(',',$this->getBYWEEKNO()) as $week_num)
{
$weeks[] = (int) $week_num;
}
return $weeks ? $weeks : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getBYYEARDAY ( )

get BYDAY

public

Definition at line 527 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

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 538 of file class.ilCalendarRecurrence.php.

References getBYYEARDAY().

{
if(!trim($this->getBYYEARDAY()))
{
return array();
}
foreach(explode(',',$this->getBYYEARDAY()) as $year_day)
{
$days[] = (int) $year_day;
}
return $days ? $days : array();
}

+ Here is the call graph for this function:

ilCalendarRecurrence::getExclusionDates ( )

Get exclusion dates.

Returns

Implements ilCalendarRecurrenceCalculation.

Definition at line 644 of file class.ilCalendarRecurrence.php.

References $exclusion_dates.

Referenced by read().

{
return (array) $this->exclusion_dates;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getFrequenceType ( )

get freq type

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 265 of file class.ilCalendarRecurrence.php.

References $freq_type.

Referenced by save(), update(), and validate().

{
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getFrequenceUntilCount ( )

get frequence until count

public

Parameters

Implements ilCalendarRecurrenceCalculation.

Definition at line 311 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

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 276 of file class.ilCalendarRecurrence.php.

Referenced by save(), toICal(), and update().

{
return is_object($this->freq_until_date) ? $this->freq_until_date : null;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getInterval ( )

get interval

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 334 of file class.ilCalendarRecurrence.php.

Referenced by save(), toICal(), update(), and validate().

{
return $this->interval ? $this->interval : 1;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::getRecurrenceId ( )

get recurrence id

public

Returns

Definition at line 205 of file class.ilCalendarRecurrence.php.

References $recurrence_id.

{
}
ilCalendarRecurrence::getTimeZone ( )

get timezone

public

Implements ilCalendarRecurrenceCalculation.

Definition at line 623 of file class.ilCalendarRecurrence.php.

References $timezone.

{
}
ilCalendarRecurrence::getWeekstart ( )

get weekstart

public

Definition at line 612 of file class.ilCalendarRecurrence.php.

References $weekstart.

Referenced by save(), and update().

{
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::isRecurrence ( )

is recurrence

public

Parameters

Definition at line 242 of file class.ilCalendarRecurrence.php.

References REC_RECURRENCE.

{
return $this->recurrence_type == self::REC_RECURRENCE;
}
ilCalendarRecurrence::read ( )
private

Read entry.

private

Definition at line 767 of file class.ilCalendarRecurrence.php.

References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, getExclusionDates(), and IL_CAL_DATETIME.

Referenced by __construct().

{
global $ilDB;
$query = "SELECT * FROM cal_recurrence_rules ".
"WHERE rule_id = ".$this->db->quote($this->recurrence_id ,'integer')." ";
$res = $this->db->query($query);
while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
{
$this->cal_id = $row->cal_id;
$this->recurrence_type = $row->cal_recurrence;
$this->freq_type = $row->freq_type;
if($row->freq_until_date != null)
{
$this->freq_until_date = new ilDateTime($row->freq_until_date,IL_CAL_DATETIME,'UTC');
}
$this->freq_until_count = $row->freq_until_count;
$this->interval = $row->intervall;
$this->byday = $row->byday;
$this->byweekno = $row->byweekno;
$this->bymonth = $row->bymonth;
$this->bymonthday = $row->bymonthday;
$this->byyearday = $row->byyearday;
$this->bysetpos = $row->bysetpos;
$this->weekstart = $row->week_start;
}
$this->exclusion_dates = ilCalendarRecurrenceExclusions::getExclusionDates($this->cal_id);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilCalendarRecurrence::reset ( )

reset all settings

public

Returns

Definition at line 184 of file class.ilCalendarRecurrence.php.

References setBYDAY(), setBYMONTH(), setBYMONTHDAY(), setBYSETPOS(), setBYWEEKNO(), setBYYEARDAY(), setFrequenceType(), setFrequenceUntilCount(), and setInterval().

{
$this->setBYDAY('');
$this->setBYMONTHDAY('');
$this->setBYMONTH('');
$this->setBYSETPOS('');
$this->setBYWEEKNO('');
$this->setBYYEARDAY('');
$this->setFrequenceType('');
$this->setInterval(1);
return true;
}

+ Here is the call graph for this function:

ilCalendarRecurrence::save ( )

save

public

Reimplemented in ilEventRecurrence, and ilSessionRecurrence.

Definition at line 680 of file class.ilCalendarRecurrence.php.

References $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.

{
global $ilDB;
$until_date = is_null($this->getFrequenceUntilDate()) ?
null :
$this->getFrequenceUntilDate()->get(IL_CAL_DATETIME,'','UTC');
$next_id = $ilDB->nextId('cal_recurrence_rules');
$query = "INSERT INTO cal_recurrence_rules (rule_id,cal_id,cal_recurrence,freq_type,freq_until_date,freq_until_count,intervall, ".
"byday,byweekno,bymonth,bymonthday,byyearday,bysetpos,weekstart) ".
"VALUES( ".
$ilDB->quote($next_id,'integer').", ".
$this->db->quote($this->cal_id ,'integer').", ".
$ilDB->quote(1,'integer').", ".
$ilDB->quote((string) $this->getFrequenceType() ,'text').", ".
$this->db->quote($until_date,'timestamp').", ".
$this->db->quote((int) $this->getFrequenceUntilCount() ,'integer').", ".
$this->db->quote((int) $this->getInterval() ,'integer').", ".
$this->db->quote((string) $this->getBYDAY() ,'text').", ".
$this->db->quote((string) $this->getBYWEEKNO() ,'text').", ".
$this->db->quote((string) $this->getBYMONTH() ,'text').", ".
$this->db->quote((string) $this->getBYMONTHDAY() ,'text').", ".
$this->db->quote((string) $this->getBYYEARDAY() ,'text').", ".
$this->db->quote((string) $this->getBYSETPOS() ,'text').", ".
$this->db->quote((string) $this->getWeekstart() ,'text')." ".
")";
$res = $ilDB->manipulate($query);
$this->recurrence_id = $next_id;
return true;
}

+ Here is the call graph for this function:

ilCalendarRecurrence::setBYDAY (   $a_byday)

set by day

public

Parameters
stringbyday rule

Definition at line 346 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->byday = $a_byday;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setBYMONTH (   $a_by)

set by day

public

Parameters
stringbyday rule

Definition at line 431 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->bymonth = $a_by;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setBYMONTHDAY (   $a_by)

set by day

public

Parameters
stringbyday rule

Definition at line 473 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->bymonthday = $a_by;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setBYSETPOS (   $a_by)

set by day

public

Parameters
stringbyday rule

Definition at line 558 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->bysetpos = $a_by;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setBYWEEKNO (   $a_byweekno)

set by day

public

Parameters
stringbyday rule

Definition at line 388 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->byweekno = $a_byweekno;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setBYYEARDAY (   $a_by)

set by day

public

Parameters
stringbyday rule

Definition at line 516 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->byyearday = $a_by;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setEntryId (   $a_id)

set cal id

public

Parameters
intcalendar entry id

Definition at line 218 of file class.ilCalendarRecurrence.php.

{
$this->cal_id = $a_id;
}
ilCalendarRecurrence::setFrequenceType (   $a_type)

set frequence type

public

Parameters
intFREQUENCE_TYPE e.g MONTHLY, WEEKLY ...

Definition at line 254 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->freq_type = $a_type;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setFrequenceUntilCount (   $a_count)

set frequence count

public

Parameters
intcount

Definition at line 299 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->freq_until_count = $a_count;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setFrequenceUntilDate ( ilDateTime  $a_date = null)

set freq until date

public

Definition at line 287 of file class.ilCalendarRecurrence.php.

{
$this->freq_until_date = $a_date;
}
ilCalendarRecurrence::setInterval (   $a_interval)

set interval

public

Parameters
intinterval

Definition at line 323 of file class.ilCalendarRecurrence.php.

Referenced by reset().

{
$this->interval = $a_interval;
}

+ Here is the caller graph for this function:

ilCalendarRecurrence::setRecurrence (   $a_type)

set type of recurrence

public

Parameters
intREC_RECURRENCE or REC_EXLUSION defines whther the current object is a recurrence an exclusion pattern

Definition at line 230 of file class.ilCalendarRecurrence.php.

{
$this->recurrence_type = $a_type;
}
ilCalendarRecurrence::setTimeZone (   $a_tz)

set timezone

public

Parameters
stringtimezone

Definition at line 635 of file class.ilCalendarRecurrence.php.

{
$this->timezone = $a_tz;
}
ilCalendarRecurrence::setWeekstart (   $a_start)

set weekstart

public

Parameters
stringweekstart

Definition at line 601 of file class.ilCalendarRecurrence.php.

{
$this->weekstart = $a_start;
}
ilCalendarRecurrence::toICal (   $a_user_id)

Definition at line 116 of file class.ilCalendarRecurrence.php.

References ilCalendarUserSettings\_getInstanceByUserId(), getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), IL_CAL_FKT_DATE, and ilCalendarSettings\WEEK_START_MONDAY.

{
$ical = 'RRULE:';
$ical .= ('FREQ='.$this->getFrequenceType());
if($this->getInterval())
{
$ical .= (';INTERVAL='.$this->getInterval());
}
{
$ical .= (';COUNT='.$this->getFrequenceUntilCount());
}
elseif($this->getFrequenceUntilDate())
{
$ical .= (';UNTIL='.$this->getFrequenceUntilDate()->get(IL_CAL_FKT_DATE,'Ymd'));
}
if($this->getBYMONTH())
{
$ical .= (';BYMONTH='.$this->getBYMONTH());
}
if($this->getBYWEEKNO())
{
$ical .= (';BYWEEKNO='.$this->getBYWEEKNO());
}
if($this->getBYYEARDAY())
{
$ical .= (';BYYEARDAY='.$this->getBYYEARDAY());
}
if($this->getBYMONTHDAY())
{
$ical .= (';BYMONTHDAY='.$this->getBYMONTHDAY());
}
if($this->getBYDAY())
{
$ical .= (';BYDAY='.$this->getBYDAY());
}
if($this->getBYSETPOS())
{
$ical .= (';BYSETPOS='.$this->getBYSETPOS());
}
// Required in outlook
if($this->getBYDAY())
{
include_once './Services/Calendar/classes/class.ilCalendarUserSettings.php';
include_once './Services/Calendar/classes/class.ilCalendarSettings.php';
if($us->getWeekStart() == ilCalendarSettings::WEEK_START_MONDAY)
{
$ical .= (';WKST=MO');
}
else
{
$ical .= (';WKST=SU');
}
}
return $ical;
}

+ Here is the call graph for this function:

ilCalendarRecurrence::update ( )

save

public

Reimplemented in ilEventRecurrence, and ilSessionRecurrence.

Definition at line 718 of file class.ilCalendarRecurrence.php.

References $ilDB, $query, $res, getBYDAY(), getBYMONTH(), getBYMONTHDAY(), getBYSETPOS(), getBYWEEKNO(), getBYYEARDAY(), getFrequenceType(), getFrequenceUntilCount(), getFrequenceUntilDate(), getInterval(), getWeekstart(), and IL_CAL_DATETIME.

{
global $ilDB;
$until_date = is_null($this->getFrequenceUntilDate()) ?
null :
$this->getFrequenceUntilDate()->get(IL_CAL_DATETIME,'','UTC');
$query = "UPDATE cal_recurrence_rules SET ".
"cal_id = ".$this->db->quote($this->cal_id ,'integer').", ".
"cal_recurrence = 1,".
"freq_type = ".$this->db->quote($this->getFrequenceType() ,'text').", ".
"freq_until_date = ".$this->db->quote($until_date ,'timestamp').", ".
"freq_until_count = ".$this->db->quote($this->getFrequenceUntilCount() ,'integer').", ".
"intervall = ".$this->db->quote($this->getInterval() ,'integer').", ".
"byday = ".$this->db->quote($this->getBYDAY() ,'text').", ".
"byweekno = ".$this->db->quote($this->getBYWEEKNO() ,'text').", ".
"bymonth = ".$this->db->quote($this->getBYMONTH() ,'text').", ".
"bymonthday = ".$this->db->quote($this->getBYMONTHDAY() ,'text').", ".
"byyearday = ".$this->db->quote($this->getBYYEARDAY() ,'text').", ".
"bysetpos = ".$this->db->quote($this->getBYSETPOS() ,'text').", ".
"weekstart = ".$this->db->quote($this->getWeekstart() ,'text')." ".
"WHERE rule_id = ".$this->db->quote($this->recurrence_id ,'integer')." ";
$res = $ilDB->manipulate($query);
return true;
}

+ Here is the call graph for this function:

ilCalendarRecurrence::validate ( )

validate

public

Returns
bool

Implements ilCalendarRecurrenceCalculation.

Definition at line 655 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.

{
if(!in_array($this->getFrequenceType(),$valid_frequences))
{
return false;
}
if($this->getFrequenceUntilCount() < 0)
{
return false;
}
if($this->getInterval() <= 0)
{
return false;
}
return true;
}

+ Here is the call graph for this function:

Field Documentation

ilCalendarRecurrence::$byday = ''
private

Definition at line 66 of file class.ilCalendarRecurrence.php.

Referenced by getBYDAY(), and getBYDAYList().

ilCalendarRecurrence::$bymonth = ''
private

Definition at line 68 of file class.ilCalendarRecurrence.php.

Referenced by getBYMONTH().

ilCalendarRecurrence::$bymonthday = ''
private

Definition at line 69 of file class.ilCalendarRecurrence.php.

Referenced by getBYMONTHDAY().

ilCalendarRecurrence::$bysetpos = ''
private

Definition at line 71 of file class.ilCalendarRecurrence.php.

Referenced by getBYSETPOS().

ilCalendarRecurrence::$byweekno = ''
private

Definition at line 67 of file class.ilCalendarRecurrence.php.

Referenced by getBYWEEKNO().

ilCalendarRecurrence::$byyearday = ''
private

Definition at line 70 of file class.ilCalendarRecurrence.php.

Referenced by getBYYEARDAY().

ilCalendarRecurrence::$cal_id
private

Definition at line 57 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$db
protected

Definition at line 54 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$exclusion_dates = array()
private

Definition at line 74 of file class.ilCalendarRecurrence.php.

Referenced by getExclusionDates().

ilCalendarRecurrence::$freq_type = ''
private

Definition at line 60 of file class.ilCalendarRecurrence.php.

Referenced by getFrequenceType().

ilCalendarRecurrence::$freq_until_count
private

Definition at line 63 of file class.ilCalendarRecurrence.php.

Referenced by getFrequenceUntilCount().

ilCalendarRecurrence::$freq_until_date = null
private

Definition at line 62 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$freq_until_type
private

Definition at line 61 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$interval = 0
private

Definition at line 65 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$recurrence_id
private

Definition at line 56 of file class.ilCalendarRecurrence.php.

Referenced by getRecurrenceId().

ilCalendarRecurrence::$recurrence_type
private

Definition at line 58 of file class.ilCalendarRecurrence.php.

ilCalendarRecurrence::$timezone = 'Europe/Berlin'
private

Definition at line 76 of file class.ilCalendarRecurrence.php.

Referenced by getTimeZone().

ilCalendarRecurrence::$weekstart = ''
private

Definition at line 72 of file class.ilCalendarRecurrence.php.

Referenced by getWeekstart().

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


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