• Модуль: ui
  • Путь к файлу: ~/bitrix/modules/ui/lib/buttons/buttonattributes.php
  • Класс: BitrixUIButtonsButtonAttributes
  • Вызов: ButtonAttributes::addDataAttribute
public function addDataAttribute($name, $value = null)
{
	$this[self::addDataPrefix($name)] = $value;

	return $this;
}