14 'value' =>
elgg_echo(
'admin:security:information:description'),
68 if (!(
bool)
elgg()->events->getOrderedHandlers(
'sanitize',
'input')) {
105 'text' =>
elgg_echo(
'admin:security:settings:label:site_secret'),
107 'segments' =>
'security',
108 ]) .
'#admin-security-site-secret',
109 'is_trusted' =>
true,
140 $subtext =
elgg_echo(
'admin:security:information:php:session_gc:chance', [$chance]);
153 curl_setopt(
$curl, CURLOPT_RETURNTRANSFER,
true);
156 if (curl_getinfo(
$curl, CURLINFO_HTTP_CODE) === 403) {
Find Elgg and project paths.
elgg_get_site_url()
Get the URL for the current (or specified) site, ending with "/".
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
_elgg_services()
Get the global service provider.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_icon(string $name, array $vars=[])
View an icon glyph.
elgg_view_image_block(string $image, string $body, array $vars=[])
Wrapper function for the image block display pattern.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
elgg_normalize_site_url(string $unsafe_url)
From untrusted input, get a site URL safe for forwarding.
elgg_format_element(string $tag_name, array $attributes=[], string $text='', array $options=[])
Format an HTML element.
elgg_generate_url(string $name, array $parameters=[])
Generate a URL for named route.