PostEvent
class PostEvent extends GenericHookEvent
Class AuthorizeEvent
Properties
protected array | $hookValues | from GenericHookEvent | |
protected array | $hookFields | from GenericHookEvent | |
protected array | $hookFieldsFlip | from GenericHookEvent | |
string | $action | ||
string | $entity | ||
int|null | $id | ||
Object | $object |
Methods
static GenericHookEvent
create(array $params)
Create a GenericHookEvent using key-value pairs.
from GenericHookEvent
static GenericHookEvent
createOrdered(array $hookFields, array $hookValues)
Create a GenericHookEvent using ordered parameters.
from GenericHookEvent
array
getHookValues()
No description
bool
hasField(string $name)
Determine whether the hook supports the given field.
from GenericHookEvent
static
__construct(string $action, string $entity, int $id, object $object)
Class constructor
Details
in GenericHookEvent at line 136
static GenericHookEvent
create(array $params)
Create a GenericHookEvent using key-value pairs.
in GenericHookEvent at line 154
static GenericHookEvent
createOrdered(array $hookFields, array $hookValues)
Create a GenericHookEvent using ordered parameters.
at line 85
array
getHookValues()
in GenericHookEvent at line 190
mixed
getReturnValues()
deprecated
deprecated
in GenericHookEvent at line 199
GenericHookEvent
addReturnValues(mixed $fResult)
deprecated
deprecated
in GenericHookEvent at line 209
__get($name)
in GenericHookEvent at line 218
__set($name, $value)
in GenericHookEvent at line 227
__isset($name)
in GenericHookEvent at line 235
__unset($name)
in GenericHookEvent 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.
at line 43
static
dispatchSubevent(PostEvent $event)
This adapter automatically emits a narrower event.
For example, hook_civicrm_pre(Contact, ...)
will also dispatch hook_civicrm_pre::Contact
.
at line 75
__construct(string $action, string $entity, int $id, object $object)
Class constructor