UpdateBitmaskOnFieldChange implements OnFieldChangeInterface

Updates bitmask values for multi-checkboxes.

Table of Contents

Interfaces

OnFieldChangeInterface

Properties

$elementName  : string
$invert  : bool
$position  : int
$total  : int

Methods

__construct()  : mixed
__toString()  : string
Backward compatible fallback, returning deprecated JavaScript code for `onclick` element attrs.
toArray()  : array{name: string, data?: string}
generateInlineJavaScript()  : string

Properties

Methods

__construct()

public __construct(int $position, int $total, bool $invert, string $elementName) : mixed
Parameters
$position : int
$total : int
$invert : bool
$elementName : string

__toString()

Backward compatible fallback, returning deprecated JavaScript code for `onclick` element attrs.

public __toString() : string
Return values
string

toArray()

public toArray() : array{name: string, data?: string}
Return values
array{name: string, data?: string}

generateInlineJavaScript()

protected generateInlineJavaScript() : string
Return values
string

        
On this page

Search results