You are here

protected static property ParserIcalDateModule::$sources in iCal feed parser 7.2

Output sources this parser offers.

Includes additional field for the handler for output.

Overrides ParserIcalFeeds::$sources

See also

ParserIcalCreator::getMappingSources().

ParserIcalCreator::getSourceElement().

File

includes/ParserIcalDate.inc, line 17
Classes for using date_api ical parsing.

Class

ParserIcalDateModule
@file Classes for using date_api ical parsing.

Code

protected static $sources = array(
  'summary' => array(
    'name' => 'Summary',
    'description' => 'A short summary or subject for the calendar component.',
    'parser_ical_handler' => 'formatText',
  ),
  'description' => array(
    'name' => 'Description',
    'description' => 'A more complete description calendar component than that provided by the "summary" property.',
    'parser_ical_handler' => 'formatText',
  ),
  'dtstart' => array(
    'name' => 'Date for feed item',
    'description' => 'Start time for the feed item.',
    'parser_ical_handler' => 'formatDateTime',
  ),
  /*    'dtend' => array(
        'name' => 'Date end',
        'description' => 'End time for the feed item.',
        'parser_ical_handler' => 'formatDateTime',
        ), */
  'uid' => array(
    'name' => 'UID',
    'description' => 'UID of feed item',
    'parser_ical_handler' => 'formatText',
  ),
  'url' => array(
    'name' => 'URL',
    'description' => 'URL for the feed item.',
    'parser_ical_handler' => 'formatText',
  ),
  'location' => array(
    'name' => 'Location text',
    'description' => 'Text of location property of feed item.',
    'parser_ical_handler' => 'formatText',
  ),
);