public function ParserIcalCreator::formatParamText in iCal feed parser 7.2
Format Text Parameter
Return value
string.
File
- includes/
ParserIcalCreator.inc, line 151 - Basic classes.
Class
- ParserIcalCreator
- @file Basic classes.
Code
public function formatParamText($property_key, $property, ParserIcalComponentInterface $item, ParserIcalResult $result, FeedsSource $source) {
$position = strpos($property_key, ':');
$key = substr($property_key, 0, $position);
$attribute = strtoupper(substr($property_key, ++$position));
$text = $property['params'][$attribute];
return $text;
}