Documentation

setName

\Bitrix\Main\Grid\Panel\Snippet\Button public
\Bitrix\Main\Grid\Panel\Snippet\Button::setName(
 string $name = ""
);

Method sets value for button's name attribute and returns object of class Snippet\Button.

Parameters

ParameterDescriptionVersion
$nameValue for attribute name

Example



© «Bitrix24», 2001-2024
Up