17 'prevent_double_submit' =>
false,
23 return $qb->compare(
"{$main_alias}.last_action",
'>=', Values::normalizeTimestamp(
'-10 minutes'),
ELGG_VALUE_TIMESTAMP);
27 'property' =>
'last_action',
28 'property_type' =>
'attribute',
29 'direction' =>
'desc',
33 'show_unban' =>
false,
Database abstraction query builder.
Functions for use as event handlers or other situations where you need a globally accessible callable...
const ELGG_VALUE_TIMESTAMP
elgg_unregister_event_handler(string $event, string $type, callable|string $callback)
Unregisters a callback for an event.
elgg_register_event_handler(string $event, string $type, callable|string $callback, int $priority=500)
Helper functions for event handling.
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.