public __construct ( ElggData $object = null, string $action = null, ElggEntity $actor = null ) | ||
$object | ElggData | The object of the event (ElggEntity) |
$action | string | The name of the action (default: create) |
$actor | ElggEntity | The entity that caused the event (default: logged in user) |