/**
  * constructor for calendar component VALARM object
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.8.2 - 2011-05-01
  * @param array $config
  * @uses valarm::calendarComponent()
  * @uses valarm::$action
  * @uses valarm::$attach
  * @uses valarm::$attendee
  * @uses valarm::$description
  * @uses valarm::$duration
  * @uses valarm::$repeat
  * @uses valarm::$summary
  * @uses valarm::$trigger
  * @uses valarm::$xprop
  * @uses calendarComponent::setConfig()
  */
 function __construct($config = array())
 {
     parent::__construct();
     $this->action = '';
     $this->attach = '';
     $this->attendee = '';
     $this->description = '';
     $this->duration = '';
     $this->repeat = '';
     $this->summary = '';
     $this->trigger = '';
     $this->xprop = '';
     if (defined('ICAL_LANG') && !isset($config['language'])) {
         $config['language'] = ICAL_LANG;
     }
     if (!isset($config['allowEmpty'])) {
         $config['allowEmpty'] = TRUE;
     }
     if (!isset($config['nl'])) {
         $config['nl'] = "\r\n";
     }
     if (!isset($config['format'])) {
         $config['format'] = 'iCal';
     }
     if (!isset($config['delimiter'])) {
         $config['delimiter'] = DIRECTORY_SEPARATOR;
     }
     $this->setConfig($config);
 }
 /**
  * constructor for calendar component VFREEBUSY object
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.8.2 - 2011-05-01
  * @param array $config
  * @uses vjournal::calendarComponent()
  * @uses vjournal::$attendee
  * @uses vjournal::$comment
  * @uses vjournal::$contact
  * @uses vjournal::$dtend
  * @uses vjournal::$dtstart
  * @uses vjournal::$dtduration
  * @uses vjournal::$organizer
  * @uses vjournal::$requeststatus
  * @uses vjournal::$url
  * @uses vjournal::$xprop
  * @uses calendarComponent::setConfig()
  */
 function __construct($config = array())
 {
     parent::__construct();
     $this->attendee = '';
     $this->comment = '';
     $this->contact = '';
     $this->dtend = '';
     $this->dtstart = '';
     $this->duration = '';
     $this->freebusy = '';
     $this->organizer = '';
     $this->requeststatus = '';
     $this->url = '';
     $this->xprop = '';
     if (defined('ICAL_LANG') && !isset($config['language'])) {
         $config['language'] = ICAL_LANG;
     }
     if (!isset($config['allowEmpty'])) {
         $config['allowEmpty'] = TRUE;
     }
     if (!isset($config['nl'])) {
         $config['nl'] = "\r\n";
     }
     if (!isset($config['format'])) {
         $config['format'] = 'iCal';
     }
     if (!isset($config['delimiter'])) {
         $config['delimiter'] = DIRECTORY_SEPARATOR;
     }
     $this->setConfig($config);
 }
 /**
  * constructor for calendar component VJOURNAL object
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.8.2 - 2011-05-01
  * @param array $config
  * @uses vjournal::calendarComponent()
  * @uses vjournal::$attach
  * @uses vjournal::$attendee
  * @uses vjournal::$categories
  * @uses vjournal::$class
  * @uses vjournal::$comment
  * @uses vjournal::$contact
  * @uses vjournal::$created
  * @uses vjournal::$description
  * @uses vjournal::$dtstart
  * @uses vjournal::$exdate
  * @uses vjournal::$exrule
  * @uses vjournal::$lastmodified
  * @uses vjournal::$organizer
  * @uses vjournal::$rdate
  * @uses vjournal::$recurrenceid
  * @uses vjournal::$relatedto
  * @uses vjournal::$requeststatus
  * @uses vjournal::$rrule
  * @uses vjournal::$sequence
  * @uses vjournal::$status
  * @uses vjournal::$summary
  * @uses vjournal::$url
  * @uses vjournal::$xprop
  * @uses calendarComponent::setConfig()
  */
 function __construct($config = array())
 {
     parent::__construct();
     $this->attach = '';
     $this->attendee = '';
     $this->categories = '';
     $this->class = '';
     $this->comment = '';
     $this->contact = '';
     $this->created = '';
     $this->description = '';
     $this->dtstart = '';
     $this->exdate = '';
     $this->exrule = '';
     $this->lastmodified = '';
     $this->organizer = '';
     $this->rdate = '';
     $this->recurrenceid = '';
     $this->relatedto = '';
     $this->requeststatus = '';
     $this->rrule = '';
     $this->sequence = '';
     $this->status = '';
     $this->summary = '';
     $this->url = '';
     $this->xprop = '';
     if (defined('ICAL_LANG') && !isset($config['language'])) {
         $config['language'] = ICAL_LANG;
     }
     if (!isset($config['allowEmpty'])) {
         $config['allowEmpty'] = TRUE;
     }
     if (!isset($config['nl'])) {
         $config['nl'] = "\r\n";
     }
     if (!isset($config['format'])) {
         $config['format'] = 'iCal';
     }
     if (!isset($config['delimiter'])) {
         $config['delimiter'] = DIRECTORY_SEPARATOR;
     }
     $this->setConfig($config);
 }
 /**
  * constructor for calendar component VTIMEZONE object
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.8.2 - 2011-05-01
  * @param mixed $timezonetype  default FALSE ( STANDARD / DAYLIGHT )
  * @param array $config
  * @uses vtimezone::$timezonetype
  * @uses vtimezone::calendarComponent()
  * @uses vtimezone::$comment
  * @uses vtimezone::$dtstart
  * @uses vtimezone::$lastmodified
  * @uses vtimezone::$rdate
  * @uses vtimezone::$rrule
  * @uses vtimezone::$tzid
  * @uses vtimezone::$tzname
  * @uses vtimezone::$tzoffsetfrom
  * @uses vtimezone::$tzoffsetto
  * @uses vtimezone::$tzurl
  * @uses vtimezone::$xprop
  * @uses vtimezone::$components
  * @uses calendarComponent::setConfig()
  */
 function __construct($timezonetype = FALSE, $config = array())
 {
     if (is_array($timezonetype)) {
         $config = $timezonetype;
         $timezonetype = FALSE;
     }
     if (!$timezonetype) {
         $this->timezonetype = 'VTIMEZONE';
     } else {
         $this->timezonetype = strtoupper($timezonetype);
     }
     parent::__construct();
     $this->comment = '';
     $this->dtstart = '';
     $this->lastmodified = '';
     $this->rdate = '';
     $this->rrule = '';
     $this->tzid = '';
     $this->tzname = '';
     $this->tzoffsetfrom = '';
     $this->tzoffsetto = '';
     $this->tzurl = '';
     $this->xprop = '';
     $this->components = array();
     if (defined('ICAL_LANG') && !isset($config['language'])) {
         $config['language'] = ICAL_LANG;
     }
     if (!isset($config['allowEmpty'])) {
         $config['allowEmpty'] = TRUE;
     }
     if (!isset($config['nl'])) {
         $config['nl'] = "\r\n";
     }
     if (!isset($config['format'])) {
         $config['format'] = 'iCal';
     }
     if (!isset($config['delimiter'])) {
         $config['delimiter'] = DIRECTORY_SEPARATOR;
     }
     $this->setConfig($config);
 }