UpdateBitmaskOnFieldChange implements OnFieldChangeInterface
Updates bitmask values for multi-checkboxes.
Table of Contents
Interfaces
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
$elementName
protected
string
$elementName
$invert
protected
bool
$invert
$position
protected
int
$position
$total
protected
int
$total
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
stringtoArray()
public
toArray() : array{name: string, data?: string}
Return values
array{name: string, data?: string}generateInlineJavaScript()
protected
generateInlineJavaScript() : string