• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/web/dom/attr.php
  • Класс: BitrixMainWebDOMAttr
  • Вызов: Attr::__construct
public function __construct($name, $value)
{
	parent::__construct();

	$this->nodeType = self::ATTRIBUTE_NODE;

	$this->name = mb_strtolower($name);
	$this->value = $value;
}