• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/dom/element.php
  • Класс: BitrixMainWebDOMElement
  • Вызов: Element::getAttributesArray
public function getAttributesArray()
{
	if(self::$isNodeListAsArray)
	{
		return $this->attributes;
	}
	else
	{
		return $this->attributes->get();
	}
}