26 if (!array_key_exists(
'access_id',
$entity->getOriginalAttributes())) {
35 'subtype' =>
'comment',
36 'container_guid' =>
$entity->guid,
44 'batch_inc_offset' =>
false,
49 $comment->access_id =
$entity->access_id;
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
const ELGG_VALUE_INTEGER
Value types.
Database abstraction query builder.
const ELGG_IGNORE_ACCESS
elgg_call() flags
elgg_get_entities(array $options=[])
Fetches/counts entities or performs a calculation on their properties.
Models an event passed to event handlers.