You are here

public static function DateIcalIcalcreatorParser::loadLibrary in Date iCal 7.2

Load the iCalcreator library.

2 calls to DateIcalIcalcreatorParser::loadLibrary()
DateIcalIcalcreatorComponent::__wakeup in includes/DateIcalIcalcreatorParser.inc
Unserialization helper.
DateIcalIcalcreatorParser::parse in includes/DateIcalIcalcreatorParser.inc
Load and run parser implementation of FeedsParser::parse().

File

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

Class

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

Code

public static function loadLibrary() {
  $library = libraries_load('iCalcreator');
  if (!$library['loaded']) {
    throw new DateIcalParseException(t('Unable to load the iCalcreator library. Please ensure that it is properly installed.'));
  }
}