20 $user = $event->getObject();
23 if (empty(
$user->guid)) {
35 1 => [
'admin_welcome',
'elgg_blog',
'content_stats'],
36 2 => [
'online_users',
'new_users'],
42 if (
$guid ===
false) {
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
if(parse_url(elgg_get_site_url(), PHP_URL_PATH)!== '/') if(file_exists(elgg_get_root_path(). 'robots.txt'))
Set robots.txt.
const ELGG_IGNORE_ACCESS
elgg_call() flags
get_entity(int $guid)
Loads and returns an entity object from a guid.
Models an event passed to event handlers.
$guid
Reset an ElggUpgrade.