You are here

protected static property DateIcalIcalcreatorParser::$sources in Date iCal 7.2

Output sources this parser offers.

Includes additional field for the handler for output.

NOTE: The name and description strings would be t()'d, but PHP doesn't allow that: http://stackoverflow.com/questions/3960323/why-dont-php-attributes-allow...

Overrides DateIcalFeedsParser::$sources

See also

DateIcalFeedsParser::getMappingSources().

DateIcalFeedsParser::getSourceElement().

File

includes/DateIcalIcalcreatorParser.inc, line 21
Classes implementing Date iCal's iCalcreator-based parser functionality.

Class

DateIcalIcalcreatorParser
@file Classes implementing Date iCal's iCalcreator-based parser functionality.

Code

protected static $sources = array(
  'summary' => array(
    'name' => 'Summary',
    'description' => 'A short summary, or title, for the calendar component.',
    'date_ical_parse_handler' => 'formatText',
  ),
  'description' => array(
    'name' => 'Description',
    'description' => 'A more complete description of the calendar component than that provided by the "summary" property.',
    'date_ical_parse_handler' => 'formatText',
  ),
  'dtstart' => array(
    'name' => 'Date start',
    'description' => 'Start time for the feed item.
        If also using the "Date end" source, this MUST come before it in the mapping, due to the way iCal feeds are formatted.',
    'date_ical_parse_handler' => 'formatDateTime',
  ),
  'dtend' => array(
    'name' => 'Date end',
    'description' => 'End time for the feed item.',
    'date_ical_parse_handler' => 'formatDateTime',
  ),
  'rrule' => array(
    'name' => 'Repeat rule',
    'description' => 'Describes when and how often this calendar component should repeat.
        The date field for the target node must be configrred to support repeating dates, using the Date Repeat Field module (a submodule of Date).
        When using this source field, it MUST come after Date start (and Date end, if used) in the mapping.',
    'date_ical_parse_handler' => 'formatRrule',
  ),
  'uid' => array(
    'name' => 'UID',
    'description' => 'UID of feed item',
    'date_ical_parse_handler' => 'formatText',
  ),
  'url' => array(
    'name' => 'URL',
    'description' => 'URL for the feed item.',
    'date_ical_parse_handler' => 'formatText',
  ),
  'location' => array(
    'name' => 'Location text',
    'description' => 'Text of the location property of the feed item.',
    'date_ical_parse_handler' => 'formatText',
  ),
  'location:altrep' => array(
    'name' => 'Location alternate representation',
    'description' => 'Additional location information, usually a URL to a page with more info.',
    'date_ical_parse_handler' => 'formatParamText',
  ),
  'categories' => array(
    'name' => 'Categories',
    'description' => 'Catagories of the feed item.',
    'date_ical_parse_handler' => 'formatCategories',
  ),
);