AutoCompleteEvent
extends GenericEvent
in package
Class GenericEvent
Use AutoCompleteFilterEvent instead
Tags
Table of Contents
Properties
- $arguments : mixed
- $subject : mixed
- $propagationStopped : bool
Methods
- __construct() : mixed
- Encapsulate an event with $subject and $args.
- getArgument() : mixed
- Get argument by key.
- getArguments() : array<string|int, mixed>
- Getter for all arguments.
- getItemId() : string
- getItemType() : string
- getIterator() : Traversable
- Retrieve an external iterator
- getLimit() : int
- getResults() : array<string|int, mixed>
- getSearchTerm() : string
- getShareTypes() : array<string|int, int>
- getSorter() : string
- getSubject() : mixed
- Getter for subject property.
- hasArgument() : bool
- Has argument.
- isPropagationStopped() : bool
- {@inheritDoc}
- offsetExists() : bool
- Whether a offset exists
- offsetGet() : mixed
- Offset to retrieve
- offsetSet() : void
- Offset to set
- offsetUnset() : void
- Offset to unset
- setArgument() : GenericEvent
- Add argument to event.
- setArguments() : GenericEvent
- Set args property.
- setResults() : void
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$arguments
protected
mixed
$arguments
$subject
protected
mixed
$subject
$propagationStopped
private
bool
$propagationStopped
= false
Tags
Methods
__construct()
Encapsulate an event with $subject and $args.
public
__construct(array<string|int, mixed> $arguments) : mixed
Parameters
- $arguments : array<string|int, mixed>
Tags
getArgument()
Get argument by key.
public
getArgument(string $key) : mixed
Parameters
- $key : string
Tags
getArguments()
Getter for all arguments.
public
getArguments() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getItemId()
public
getItemId() : string
Tags
Return values
stringgetItemType()
public
getItemType() : string
Tags
Return values
stringgetIterator()
Retrieve an external iterator
public
getIterator() : Traversable
Tags
Return values
TraversablegetLimit()
public
getLimit() : int
Tags
Return values
intgetResults()
public
getResults() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getSearchTerm()
public
getSearchTerm() : string
Tags
Return values
stringgetShareTypes()
public
getShareTypes() : array<string|int, int>
Tags
Return values
array<string|int, int>getSorter()
public
getSorter() : string
Tags
Return values
stringgetSubject()
Getter for subject property.
public
getSubject() : mixed
Tags
hasArgument()
Has argument.
public
hasArgument(mixed $key) : bool
Parameters
- $key : mixed
Tags
Return values
boolisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
booloffsetExists()
Whether a offset exists
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Tags
Return values
booloffsetGet()
Offset to retrieve
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Tags
Attributes
- #[ReturnTypeWillChange]
offsetSet()
Offset to set
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Tags
offsetUnset()
Offset to unset
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Tags
setArgument()
Add argument to event.
public
setArgument(mixed $key, mixed $value) : GenericEvent
Parameters
- $key : mixed
- $value : mixed
Tags
Return values
GenericEventsetArguments()
Set args property.
public
setArguments([array<string|int, mixed> $args = [] ]) : GenericEvent
Parameters
- $args : array<string|int, mixed> = []
Tags
Return values
GenericEventsetResults()
public
setResults(array<string|int, mixed> $results) : void
Parameters
- $results : array<string|int, mixed>
Tags
stopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void