GenericHookEvent
class GenericHookEvent extends Event
Class GenericHookEvent
Properties
protected array | $hookValues | ||
protected array | $hookFields | ||
protected array | $hookFieldsFlip |
Methods
static GenericHookEvent
create(array $params)
Create a GenericHookEvent using key-value pairs.
static GenericHookEvent
createOrdered(array $hookFields, array $hookValues)
Create a GenericHookEvent using ordered parameters.
array
getHookValues()
No description
mixed
__get($name)
No description
__set($name, $value)
No description
__isset($name)
No description
__unset($name)
No description
bool
hasField(string $name)
Determine whether the hook supports the given field.
Details
at line 136
static GenericHookEvent
create(array $params)
Create a GenericHookEvent using key-value pairs.
at line 154
static GenericHookEvent
createOrdered(array $hookFields, array $hookValues)
Create a GenericHookEvent using ordered parameters.
at line 182
array
getHookValues()
at line 190
mixed
getReturnValues()
deprecated
deprecated
at line 199
GenericHookEvent
addReturnValues(mixed $fResult)
deprecated
deprecated
at line 209
__get($name)
at line 218
__set($name, $value)
at line 227
__isset($name)
at line 235
__unset($name)
at line 251
bool
hasField(string $name)
Determine whether the hook supports the given field.
The field may or may not be empty. Use isset() or empty() to check that.