Buttons
void CAdminTabControl::Buttons([ mixed $arParams = false ])
The Buttons method displays a standard form submit buttons and closes started tabs if any has been started.
Parameters
Parameter | Description |
---|---|
arParams | An array of additional parameters. Can contain the following keys:
|
Example
<? // close the form - display the save buttons
$tabControl->Buttons( array( "disabled" => ($POST_RIGHT < "W"), "back_url" => $_REQUEST["back_url"], ) ); ?>
<? // close the form not adding the buttons $tabControl->Buttons(); ?> <input class="mybutton" type="submit" name="save" value="Click me!!!! ;-)" title="My save button" /> <input class="mybutton" type="button" name="foo" value="Click me too!" onCl ick="alert('Hello, world!')" /> <? $tabControl->End(); ?>
© «Bitrix24», 2001-2024