package Webenq

 Methods

Constructor

__construct(int $id, string $text, mixed $options) : void

Sets the id and text to display and calls parent constructor

todo remove this function, it redefines the constructor signature...

Parameters

$id

int

$text

string

$options

mixed

Initialises the form

init() : void

Check if the cancel button was submitted

isCancelled(array $values) : boolean

Parameters

$values

array

Returns

boolean

Sets the id and text to display in the confirmation dialog

setConfirmation(int $id, string $text) : void

Parameters

$id

int

$text

string

 Properties

 

$_id : int
 

$_text : string