• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/vcard/vcardphone.php
  • Класс: Bitrix\Crm\VCard\VCardPhone
  • Вызов: VCardPhone::createFromAttribute
static function createFromAttribute(VCardElementAttribute $attr)
{
	$item = new VCardPhone();
	$item->value = $attr->getValue();
	$item->valueType = mb_strtoupper($attr->getFirstParamValue('VALUE', 'text'));
	$item->types = array_map('mb_strtoupper', $attr->getParamValues('TYPE'));
	return $item;
}