button
Das Formularelement vom Type "button" erstellt Schaltflächen / Buttons in einem Formular
/**
* Create a Bootstrap form-button.
*
* @param unknown $name
* @param string $label
* @param string $value
* @param string $type
* [button|submit|reset]
* @param array $options
* [
* 'class' => 'btn btn-default',
* 'iconclass' => 'glyphicon glyphicon-floppy-saved',
* 'formaction' => 'modules.php?op=xyz',
* 'confirm' => [
* 'tool' => '' // ['' | 'bootstrap-confirmation']
* 'confirm_1' => af_tran ( 'Die Freigabe wird zurückgenommen!' ),
* 'confirm_2' => af_tran ( 'Wollen Sie die Freigaben wirklich zurücknehmen?' )
* ]
* ]
* @return string
*/
public function button($name, $label = null, $value = null, $type = 'button', array $options = []) {
...
}
Parameter für das button Objekt
Button - Confirm
Browser-Confirmation

Bootstrap-Confirmation

Last updated