• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/grid/panel/snippet/button.php
  • Класс: BitrixMainGridPanelSnippetButton
  • Вызов: Button::toArray
public function toArray()
{
	$result = array(
		"TYPE" => $this->type,
		"ID" => $this->id,
		"NAME" => $this->name,
		"CLASS" => $this->class,
		"TEXT" => $this->text,
		"TITLE" => $this->title,
		"ONCHANGE" => $this->onchange->toArray()
	);

	return $result;
}