CharSignal
extends Signal
in package
Table of Contents
Properties
- $codepoint : int
- The Unicode code point of the character
- $window : Window
- The window that received the event
Methods
- __construct() : mixed
- Constructor
- getString() : string
- Returns the received character as a string
- isPropagationStopped() : bool
- Has the propagation been stopped?
- stopPropagation() : void
- Stop the propagation of the signal
Properties
$codepoint read-only
The Unicode code point of the character
public
int
$codepoint
$window read-only
The window that received the event
public
Window
$window
Methods
__construct()
Constructor
public
__construct(Window $window, int $codepoint) : mixed
Parameters
- $window : Window
-
The window that received the event
- $codepoint : int
-
The Unicode code point of the character
getString()
Returns the received character as a string
public
getString([null|string $encoding = null ]) : string
Parameters
- $encoding : null|string = null
Return values
stringisPropagationStopped()
Has the propagation been stopped?
public
isPropagationStopped() : bool
Return values
boolstopPropagation()
Stop the propagation of the signal
public
stopPropagation() : void