You are here

public function ParserVcalendar::__construct in Date iCal 7.3

Constructor.

File

libraries/ParserVcalendar.inc, line 50
Defines a class that parses iCalcreator vcalendar objects into Feeds-compatible data arrays.

Class

ParserVcalendar
@file Defines a class that parses iCalcreator vcalendar objects into Feeds-compatible data arrays.

Code

public function __construct($calendar, $source, $fetcher_result, $config) {
  $this->calendar = $calendar;
  $this->source = $source;
  $this->mapping_sources = feeds_importer($source->id)->parser
    ->getMappingSources();
  $this->fetcherResult = $fetcher_result;
  $this->config = $config;
}