Phpxforms documentation

AlertForm

Universal confirmation alert form

Table of Contents

Methods

renderAlert()  : void
Prints alert form
getButtons()  : string
Prints dialog action buttons

Methods

renderAlert()

Prints alert form

public renderAlert(string $action, array<string|int, string|int>|string|int|null $ids, string $text, array<string, array<string, mixed>> $buttons) : void
Parameters
$action : string
$ids : array<string|int, string|int>|string|int|null
$text : string
$buttons : array<string, array<string, mixed>>

getButtons()

Prints dialog action buttons

protected getButtons(array<string, array<string, mixed>> $buttons) : string
Parameters
$buttons : array<string, array<string, mixed>>
Return values
string

        
On this page

Search results